2025-05-09 00:17 ftp://ftp.de.debian.org/debian/pool/main/w/wreport/wreport_3.36.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --library=lua --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 516 506 elapsed-time: 1.1 1.1 head-timing-info: old-timing-info: head results: wreport-3.36/doc/examples/dump.cc:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/doc/examples/dump.cc:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wreport-3.36/doc/examples/dump.cc:53:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/core.h:65:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyObject [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/core.h:81:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyObject [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/core.h:154:9: performance: Variable '_state' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] wreport-3.36/python/utils/core.h:23:5: style: Class 'py_unique_ptr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/python/utils/methods.h:133:8: debug: Failed to instantiate template "Methods". The checking continues anyway. [templateInstantiation] wreport-3.36/python/common.cc:26:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_SystemError [valueFlowBailoutIncompleteVar] wreport-3.36/python/common.cc:81:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] wreport-3.36/python/common.cc:100:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] wreport-3.36/python/common.cc:122:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyBytes_Type [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/core.h:23:5: style: Class 'py_unique_ptr < PyObject >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/python/utils/methods.h:32:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:38:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable doc [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:51:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:92:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:123:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ml_doc [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/values.cc:22:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/values.cc:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] wreport-3.36/python/utils/methods.h:135:18: performance:inconclusive: Technically the member function 'wreport::python::Methods::as_py' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/python/utils/values.cc:40:52: style: C-style pointer casting [cstyleCast] wreport-3.36/python/utils/values.cc:88:37: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] wreport-3.36/python/var.cc:547:14: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/python/varinfo.cc:194:18: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/python/vartable.cc:311:19: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/src/afl-test.cc:23:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/options.h:81:14: style: The destructor '~BulletinHeadHandler' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:72:14: note: Virtual destructor in base class wreport-3.36/src/options.h:81:14: note: Destructor in derived class wreport-3.36/src/options.h:84:18: style: The function 'handle_raw_bufr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:73:18: note: Virtual function in base class wreport-3.36/src/options.h:84:18: note: Function in derived class wreport-3.36/src/options.h:87:18: style: The function 'handle_raw_crex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:74:18: note: Virtual function in base class wreport-3.36/src/options.h:87:18: note: Function in derived class wreport-3.36/src/options.h:95:14: style: The destructor '~BulletinFullHandler' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:72:14: note: Virtual destructor in base class wreport-3.36/src/options.h:95:14: note: Destructor in derived class wreport-3.36/src/options.h:98:18: style: The function 'handle_raw_bufr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:73:18: note: Virtual function in base class wreport-3.36/src/options.h:98:18: note: Function in derived class wreport-3.36/src/options.h:101:18: style: The function 'handle_raw_crex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:74:18: note: Virtual function in base class wreport-3.36/src/options.h:101:18: note: Function in derived class wreport-3.36/src/options.h:81:14: style: The destructor '~BulletinHeadHandler' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] wreport-3.36/src/options.h:72:14: note: Virtual destructor in base class wreport-3.36/src/options.h:81:14: note: Destructor in derived class wreport-3.36/src/options.h:95:14: style: The destructor '~BulletinFullHandler' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] wreport-3.36/src/options.h:72:14: note: Virtual destructor in base class wreport-3.36/src/options.h:95:14: note: Destructor in derived class wreport-3.36/src/afl-test.cc:62:20: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/afl-test.cc:30:25: note: Assuming allocation function fails wreport-3.36/src/afl-test.cc:30:25: note: Assignment 'in=std::fopen(fname,"rb")', assigned value is 0 wreport-3.36/src/afl-test.cc:62:20: note: Null pointer dereference wreport-3.36/src/afl-test.cc:19:26: style: Parameter 'argv' can be declared as const array [constParameter] wreport-3.36/src/makebuoy.cc:125:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wreport-3.36/src/examples.cc:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/info.cc:30:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TABLE_DIR [valueFlowBailoutIncompleteVar] wreport-3.36/src/examples.cc:79:13: style: Variable 'option_index' is assigned a value that is never used. [unreadVariable] wreport-3.36/python/wreport.cc:18:34: warning: The struct 'convert_units' defines member variable with name 'name' also defined in its parent struct 'BaseMethod < convert_units >'. [duplInheritedMember] wreport-3.36/python/utils/methods.h:22:34: note: Parent variable 'BaseMethod < convert_units >::name' wreport-3.36/python/wreport.cc:18:34: note: Derived variable 'convert_units::name' wreport-3.36/python/wreport.cc:19:34: warning: The struct 'convert_units' defines member variable with name 'signature' also defined in its parent struct 'BaseMethod < convert_units >'. [duplInheritedMember] wreport-3.36/python/utils/methods.h:23:34: note: Parent variable 'BaseMethod < convert_units >::signature' wreport-3.36/python/wreport.cc:19:34: note: Derived variable 'convert_units::signature' wreport-3.36/python/wreport.cc:20:34: warning: The struct 'convert_units' defines member variable with name 'returns' also defined in its parent struct 'BaseMethod < convert_units >'. [duplInheritedMember] wreport-3.36/python/utils/methods.h:24:34: note: Parent variable 'BaseMethod < convert_units >::returns' wreport-3.36/python/wreport.cc:20:34: note: Derived variable 'convert_units::returns' wreport-3.36/python/wreport.cc:21:34: warning: The struct 'convert_units' defines member variable with name 'summary' also defined in its parent struct 'BaseMethod < convert_units >'. [duplInheritedMember] wreport-3.36/python/utils/methods.h:25:34: note: Parent variable 'BaseMethod < convert_units >::summary' wreport-3.36/python/wreport.cc:21:34: note: Derived variable 'convert_units::summary' wreport-3.36/python/wreport.cc:22:34: warning: The struct 'convert_units' defines member variable with name 'doc' also defined in its parent struct 'BaseMethod < convert_units >'. [duplInheritedMember] wreport-3.36/python/utils/methods.h:26:34: note: Parent variable 'BaseMethod < convert_units >::doc' wreport-3.36/python/wreport.cc:22:34: note: Derived variable 'convert_units::doc' wreport-3.36/src/iterate.cc:27:5: style: Struct 'PrintVars' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/input.cc:55:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:31:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:31:21: note: Assignment 'in=fopen(fname,"rb")', assigned value is 0 wreport-3.36/src/input.cc:55:16: note: Null pointer dereference wreport-3.36/src/input.cc:98:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:71:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:71:21: note: Assignment 'in=fopen(fname,"rt")', assigned value is 0 wreport-3.36/src/input.cc:98:16: note: Null pointer dereference wreport-3.36/src/iterate.cc:43:13: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/python/wreport.cc:76:64: style: C-style pointer casting [cstyleCast] wreport-3.36/src/options.cc:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/options.cc:63:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/options.cc:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/options.cc:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/output.cc:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/src/unparsable.cc:28:5: style: Struct 'CopyUnparsable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:30:5: style: Struct 'PrintContents' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:42:5: style: Struct 'PrintTrace' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:63:5: style: Struct 'PrintStructure' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:75:5: style: Struct 'PrintDDS' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:88:5: style: Struct 'PrintTables' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/output.cc:127:5: style: Struct 'PrintFeatures' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/benchmark.h:61:5: style: Struct 'BasicProgress' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/buffers/bufr.h:35:5: style: Struct 'BufrOutput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/src/wrep.cc:108:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/benchmark.cc:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/benchmark.cc:77:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wreport-3.36/wreport/buffers/crex.h:167:5: style: Struct 'CrexOutput' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/buffers/bufr.cc:130:28: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/buffers/bufr.cc:155:17: style: C-style pointer casting [cstyleCast] wreport-3.36/src/iterate.cc:30:16: performance:inconclusive: Technically the member function 'PrintVars::find_varcode' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/src/unparsable.cc:30:18: style: The function 'handle_raw_bufr' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:73:18: note: Virtual function in base class wreport-3.36/src/unparsable.cc:30:18: note: Function in derived class wreport-3.36/src/unparsable.cc:41:18: style: The function 'handle_raw_crex' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/src/options.h:74:18: note: Virtual function in base class wreport-3.36/src/unparsable.cc:41:18: note: Function in derived class wreport-3.36/src/input.cc:55:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:31:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:31:21: note: Assignment 'in=std::fopen(fname,"rb")', assigned value is 0 wreport-3.36/src/input.cc:55:16: note: Null pointer dereference wreport-3.36/src/input.cc:98:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:71:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:71:21: note: Assignment 'in=std::fopen(fname,"rt")', assigned value is 0 wreport-3.36/src/input.cc:98:16: note: Null pointer dereference wreport-3.36/src/wrep.cc:85:13: style: Variable 'option_index' is assigned a value that is never used. [unreadVariable] wreport-3.36/wreport/buffers/crex.cc:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/buffers/crex.cc:22:12: warning: Member variable 'CrexInput::expected_check_digit' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/buffers/crex.cc:50:9: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/buffers/crex.cc:51:9: error: Memory leak: context [memleak] wreport-3.36/wreport/bufr/decoder.cc:600:13: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/wreport/bufr/input.h:98:5: style: Class 'Input' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/tests.h:65:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:113:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:114:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:116:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:118:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bufr_encoder-test.cc:44:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_info [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bufr/input.cc:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bufr/input.cc:124:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.h:95:5: style: Struct 'TestCodec' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/tests.h:111:5: style: Struct 'ActualVar' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/bufr_encoder-test.cc:15:21: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/tests.h:66:34: style: Local variable 'e' shadows outer variable [shadowVariable] wreport-3.36/wreport/tests.h:62:36: note: Shadowed declaration wreport-3.36/wreport/tests.h:66:34: note: Shadow variable wreport-3.36/wreport/tests.h:82:34: style: Local variable 'e' shadows outer variable [shadowVariable] wreport-3.36/wreport/tests.h:78:36: note: Shadowed declaration wreport-3.36/wreport/tests.h:82:34: note: Shadow variable wreport-3.36/wreport/bufr_encoder.cc:91:17: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/wreport/bulletin.h:271:14: style: The destructor '~BufrBulletin' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/bulletin.h:126:11: note: Virtual destructor in base class wreport-3.36/wreport/bulletin.h:271:14: note: Destructor in derived class wreport-3.36/wreport/bulletin.h:273:10: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/bulletin.h:129:15: note: Virtual function in base class wreport-3.36/wreport/bulletin.h:273:10: note: Function in derived class wreport-3.36/wreport/bulletin.h:437:10: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/bulletin.h:129:15: note: Virtual function in base class wreport-3.36/wreport/bulletin.h:437:10: note: Function in derived class wreport-3.36/wreport/bulletin-bench.cc:93:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repetitions [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin-bench.cc:86:5: style: Struct 'BulletinBenchmark' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/bulletin-bench.cc:96:10: style: The function 'setup_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:93:18: note: Virtual function in base class wreport-3.36/wreport/bulletin-bench.cc:96:10: note: Function in derived class wreport-3.36/wreport/bulletin-bench.cc:103:10: style: The function 'teardown_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:100:18: note: Virtual function in base class wreport-3.36/wreport/bulletin-bench.cc:103:10: note: Function in derived class wreport-3.36/wreport/bulletin-bench.cc:103:10: style: The function 'teardown_main' overrides a function in a base class but just delegates back to the base class. [uselessOverride] wreport-3.36/wreport/benchmark.h:100:18: note: Virtual function in base class wreport-3.36/wreport/bulletin-bench.cc:103:10: note: Function in derived class wreport-3.36/wreport/bulletin-bench.cc:49:75: performance: Function parameter 'fnames' should be passed by const reference. [passedByValue] wreport-3.36/wreport/bulletin-bench.cc:127:24: style: Variable 'd' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/bulletin-bench.cc:131:24: style: Variable 'd' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/bulletin/associated_fields.h:34:5: style: Struct 'AssociatedField' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/bufr/input.cc:245:16: warning: Either the condition 'section<5' is redundant or the array 'sec[6]' is accessed at index 6, which is out of bounds. [arrayIndexOutOfBoundsCond] wreport-3.36/wreport/bufr/input.cc:240:17: note: Assuming that condition 'section<5' is not redundant wreport-3.36/wreport/bufr/input.cc:245:16: note: Array index out of bounds wreport-3.36/wreport/bufr/input.cc:226:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:243:10: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. wreport-3.36/wreport/bufr/input.cc:226:13: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. wreport-3.36/wreport/bufr/input.cc:232:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:259:10: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. wreport-3.36/wreport/bufr/input.cc:232:13: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. wreport-3.36/wreport/bufr/input.cc:238:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:275:10: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. wreport-3.36/wreport/bufr/input.cc:238:13: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. wreport-3.36/wreport/bufr/input.cc:174:9: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bufr/input.cc:195:9: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bufr/input.cc:215:9: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bufr/input.cc:175:9: error: Memory leak: context [memleak] wreport-3.36/wreport/bufr/input.cc:196:9: error: Memory leak: context [memleak] wreport-3.36/wreport/bufr/input.cc:218:9: error: Memory leak: context [memleak] wreport-3.36/wreport/bufr/input.cc:33:13: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/bufr/input.cc:317:19: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/bufr/input.cc:414:88: style:inconclusive: Function 'decode_compressed_number_af' argument 2 names different: declaration 'afield' definition 'associated_field'. [funcArgNamesDifferent] wreport-3.36/wreport/bufr/input.h:320:85: note: Function 'decode_compressed_number_af' argument 2 names different: declaration 'afield' definition 'associated_field'. wreport-3.36/wreport/bufr/input.cc:414:88: note: Function 'decode_compressed_number_af' argument 2 names different: declaration 'afield' definition 'associated_field'. wreport-3.36/wreport/bufr/input.cc:79:9: style: Local variable 'pbyte' shadows outer variable [shadowVariable] wreport-3.36/wreport/bufr/input.h:83:13: note: Shadowed declaration wreport-3.36/wreport/bufr/input.cc:79:9: note: Shadow variable wreport-3.36/wreport/bufr/input.cc:80:9: style: Local variable 'pbyte_len' shadows outer variable [shadowVariable] wreport-3.36/wreport/bufr/input.h:86:9: note: Shadowed declaration wreport-3.36/wreport/bufr/input.cc:80:9: note: Shadow variable wreport-3.36/wreport/bufr/input.cc:137:9: style: Local variable 'pbyte' shadows outer variable [shadowVariable] wreport-3.36/wreport/bufr/input.h:83:13: note: Shadowed declaration wreport-3.36/wreport/bufr/input.cc:137:9: note: Shadow variable wreport-3.36/wreport/bufr/input.cc:138:9: style: Local variable 'pbyte_len' shadows outer variable [shadowVariable] wreport-3.36/wreport/bufr/input.h:86:9: note: Shadowed declaration wreport-3.36/wreport/bufr/input.cc:138:9: note: Shadow variable wreport-3.36/wreport/bufr/input.cc:36:11: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/bulletin/bitmaps.h:14:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] wreport-3.36/wreport/bulletin/bitmaps.cc:92:5: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/wreport/bulletin/dds-printer.cc:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:57:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_var [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:68:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_var [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:85:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-printer.cc:99:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_subset [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin.cc:23:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin.cc:632:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin.cc:677:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator.cc:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_crex [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator.cc:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_crex [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator.cc:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_subset [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator.cc:109:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_subset [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator-test.cc:23:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator-test.cc:56:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_info [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/dds-validator-test.cc:24:34: style: Local variable 'e' shadows outer variable [shadowVariable] wreport-3.36/wreport/bulletin/dds-validator-test.cc:21:30: note: Shadowed declaration wreport-3.36/wreport/bulletin/dds-validator-test.cc:24:34: note: Shadow variable wreport-3.36/wreport/bulletin/internals.cc:56:13: error: There is an unknown macro here somewhere. Configuration is required. If lua_setglobal is a macro then please configure it. [unknownMacro] wreport-3.36/wreport/bulletin/interpreter-test.cc:53:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TABLE_DIR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/bulletin/interpreter.cc:433:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/conv-bench.cc:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repetitions [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/conv-bench.cc:19:5: style: Struct 'ConvBenchmark' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/conv-bench.cc:29:10: style: The function 'setup_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:93:18: note: Virtual function in base class wreport-3.36/wreport/conv-bench.cc:29:10: note: Function in derived class wreport-3.36/wreport/conv-bench.cc:34:10: style: The function 'teardown_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:100:18: note: Virtual function in base class wreport-3.36/wreport/conv-bench.cc:34:10: note: Function in derived class wreport-3.36/wreport/conv-bench.cc:29:10: style: The function 'setup_main' overrides a function in a base class but just delegates back to the base class. [uselessOverride] wreport-3.36/wreport/benchmark.h:93:18: note: Virtual function in base class wreport-3.36/wreport/conv-bench.cc:29:10: note: Function in derived class wreport-3.36/wreport/conv-bench.cc:34:10: style: The function 'teardown_main' overrides a function in a base class but just delegates back to the base class. [uselessOverride] wreport-3.36/wreport/benchmark.h:100:18: note: Virtual function in base class wreport-3.36/wreport/conv-bench.cc:34:10: note: Function in derived class wreport-3.36/wreport/bulletin/interpreter.cc:564:17: error: fprintf format string requires 4 parameters but only 2 are given. [wrongPrintfScanfArgNum] wreport-3.36/wreport/bulletin/interpreter.cc:585:21: error: fprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum] wreport-3.36/wreport/bulletin/interpreter.cc:598:26: error: fprintf format string requires 4 parameters but only 2 are given. [wrongPrintfScanfArgNum] wreport-3.36/wreport/bulletin/interpreter.cc:544:70: style:inconclusive: Function 'print_c_modifier' argument 3 names different: declaration 'nex' definition 'next'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin/interpreter.h:215:68: note: Function 'print_c_modifier' argument 3 names different: declaration 'nex' definition 'next'. wreport-3.36/wreport/bulletin/interpreter.cc:544:70: note: Function 'print_c_modifier' argument 3 names different: declaration 'nex' definition 'next'. wreport-3.36/wreport/bulletin/interpreter.cc:110:20: style: Variable 'pow10' can be declared as const array [constVariable] wreport-3.36/wreport/bulletin.cc:317:15: warning: Member variable 'BufrBulletin::compression' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/error.h:89:5: style: Class 'error_alloc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:175:5: style: Class 'error_system' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/notes.h:49:5: style: Struct 'Collect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_NOTFOUND >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_TYPE >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_HANDLES >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_TOOLONG >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_SYSTEM >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_CONSISTENCY >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_PARSE >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_REGEX >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_UNIMPLEMENTED >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.h:107:5: style: Class 'StringBase < WR_ERR_DOMAIN >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/bulletin.cc:91:5: warning: %hu in format string (no. 8) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:91:5: warning: %hu in format string (no. 9) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:91:5: warning: %hu in format string (no. 10) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:91:5: warning: %hu in format string (no. 11) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:91:5: warning: %hu in format string (no. 12) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:91:5: portability: %zd in format string (no. 14) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bulletin.cc:111:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bulletin.cc:111:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bulletin.cc:119:5: warning: %hu in format string (no. 8) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:119:5: warning: %hu in format string (no. 9) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:119:5: warning: %hu in format string (no. 10) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:119:5: warning: %hu in format string (no. 11) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:119:5: warning: %hu in format string (no. 12) requires 'unsigned short' but the argument type is 'unsigned char'. [invalidPrintfArgType_uint] wreport-3.36/wreport/bulletin.cc:119:5: portability: %zd in format string (no. 14) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bulletin.cc:403:5: portability: %zd in format string (no. 6) requires 'ssize_t' but the argument type is 'std::size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wreport-3.36/wreport/bulletin.cc:472:15: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/bulletin.cc:481:26: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/bulletin.cc:494:15: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/bulletin.cc:345:78: style:inconclusive: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:342:75: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:345:78: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:356:71: style:inconclusive: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:388:68: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:356:71: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:368:78: style:inconclusive: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:326:75: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:368:78: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:378:71: style:inconclusive: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:356:68: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:378:71: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:389:79: style:inconclusive: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:372:76: note: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:389:79: note: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/bulletin.cc:409:53: style:inconclusive: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:278:43: note: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. wreport-3.36/wreport/bulletin.cc:409:53: note: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. wreport-3.36/wreport/bulletin.cc:457:31: style:inconclusive: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:294:28: note: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. wreport-3.36/wreport/bulletin.cc:457:31: note: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. wreport-3.36/wreport/bulletin.cc:569:53: style:inconclusive: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:442:43: note: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. wreport-3.36/wreport/bulletin.cc:569:53: note: Function 'diff_details' argument 1 names different: declaration 'msg' definition 'bulletin'. wreport-3.36/wreport/bulletin.cc:609:31: style:inconclusive: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:458:28: note: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. wreport-3.36/wreport/bulletin.cc:609:31: note: Function 'read' argument 1 names different: declaration 'in' definition 'fd'. wreport-3.36/wreport/crex_decoder-test.cc:15:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_info [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/crex_decoder.cc:142:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/conv.cc:41:5: style: Struct 'ConvertFunction' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/crex_encoder.cc:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/crex_encoder.cc:52:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/crex_encoder.cc:35:14: style: The destructor '~DDSEncoder' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/bulletin/internals.h:30:14: note: Virtual destructor in base class wreport-3.36/wreport/crex_encoder.cc:35:14: note: Destructor in derived class wreport-3.36/wreport/crex_decoder.cc:27:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/crex_decoder.cc:153:35: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/crex_decoder.cc:226:78: style:inconclusive: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:490:75: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/crex_decoder.cc:226:78: note: Function 'decode_header' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/crex_decoder.cc:236:71: style:inconclusive: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:504:68: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/crex_decoder.cc:236:71: note: Function 'decode' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/crex_decoder.cc:247:79: style:inconclusive: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. [funcArgNamesDifferent] wreport-3.36/wreport/bulletin.h:520:76: note: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/crex_decoder.cc:247:79: note: Function 'decode_verbose' argument 1 names different: declaration 'raw' definition 'buf'. wreport-3.36/wreport/utils/string.h:207:20: style:inconclusive: Technically the member function 'wreport::str::Split::begin' can be const. [functionConst] wreport-3.36/wreport/utils/string.h:210:20: performance:inconclusive: Technically the member function 'wreport::str::Split::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/string.h:191:9: style: Class 'const_iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/error.cc:122:20: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/internals/tabledir.h:58:5: style: Struct 'Dir' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/dtable.cc:38:5: style: Struct 'fd_closer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/dtable.cc:57:5: style: Struct 'DTableBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/dtable.cc:129:6: style: The destructor '~DTableBase' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/dtable.h:16:14: note: Virtual destructor in base class wreport-3.36/wreport/dtable.cc:129:6: note: Destructor in derived class wreport-3.36/wreport/error.cc:119:55: style: Parameter 're' can be declared as pointer to const [constParameterPointer] wreport-3.36/wreport/var.h:181:7: performance:inconclusive: Technically the member function 'wreport::Var::enq' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/test-utils-lua.h:39:2: style: Struct 'Lua' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/var.h:66:5: style: Class 'Var' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/notes.cc:16:9: style:inconclusive: Either there is a missing 'override', or the member function 'wreport::notes::null_streambuf::overflow' can be const. [functionConst] wreport-3.36/wreport/lua-test.cc:37:18: style: Variable 'pvar' can be declared as pointer to const [constVariablePointer] wreport-3.36/wreport/notes.cc:66:1: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] wreport-3.36/wreport/internals/tabledir.cc:23:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/internals/tabledir.cc:406:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TABLE_DIR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/opcodes.h:27:5: style: Struct 'Opcodes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/opcodes.cc:13:13: error: fprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum] wreport-3.36/wreport/subset.h:24:5: style: Class 'Subset' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/internals/tabledir.cc:219:5: style: Struct 'BufrQuery' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/internals/tabledir.cc:253:5: style: Struct 'CrexQuery' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/internals/tabledir.cc:295:5: style: Struct 'Index' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/internals/tabledir.cc:77:16: style: Variable 'e' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/internals/tabledir.cc:154:22: style: Parameter 'dir' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/internals/tabledir.cc:160:30: style: Parameter 'dir' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/internals/tabledir.cc:370:20: style: Variable 'd' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/internals/tabledir.cc:379:20: style: Variable 'd' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/internals/tabledir.cc:197:16: style: Variable 'res' can be declared as pointer to const [constVariablePointer] wreport-3.36/wreport/internals/tabledir.cc:372:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/internals/tabledir.cc:420:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/subset.cc:128:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wreport-3.36/wreport/subset.cc:152:18: style: Local variable 'diff' shadows outer function [shadowFunction] wreport-3.36/wreport/subset.h:125:14: note: Shadowed declaration wreport-3.36/wreport/subset.cc:152:18: note: Shadow variable wreport-3.36/wreport/tableinfo-test.cc:15:5: style: Struct 'CompareTester < BufrTableID >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/tableinfo-test.cc:15:5: style: Struct 'CompareTester < CrexTableID >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/test-utils-lua.cc:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNIL [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/test-utils-lua.cc:135:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/test-utils-lua.cc:118:24: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/test-utils-lua.cc:142:21: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/lua.h:30:0: error: #error This source requires Lua to compile [preprocessorErrorDirective] wreport-3.36/wreport/utils/lua.h:30:2: error: #error This source requires Lua to compile [preprocessorErrorDirective] wreport-3.36/wreport/tableinfo.cc:35:19: performance:inconclusive: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:32:10: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:35:19: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:215:18: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:34:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:215:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:220:18: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:35:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:220:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/utils/sys.h:219:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_type [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.h:228:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_type [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.h:240:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_type [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.h:251:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_type [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.cc:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.cc:209:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.cc:217:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/tests.cc:226:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_info [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/string.cc:90:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/string.cc:111:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/string.cc:231:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/string.cc:264:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.h:151:5: style: Class 'FileDescriptor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:304:5: style: Class 'PreserveFileTimes' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:431:5: style: Struct 'Path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:435:5: style: Struct 'Path' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:383:9: style: Struct 'iterator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:512:5: style: Class 'File' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:547:5: style: Class 'Tempfile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:548:5: style: Class 'Tempfile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:572:5: style: Class 'Tempdir' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:573:5: style: Class 'Tempdir' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:724:5: style: Struct 'Clock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/tests.h:95:5: style: Struct 'TestCodec < BufrBulletin >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/tests.h:95:5: style: Struct 'TestCodec < CrexBulletin >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.h:328:31: style: The function 'throw_error' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/utils/sys.h:166:31: note: Virtual function in base class wreport-3.36/wreport/utils/sys.h:328:31: note: Function in derived class wreport-3.36/wreport/utils/sys.h:329:31: style: The function 'throw_runtime_error' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/utils/sys.h:175:31: note: Virtual function in base class wreport-3.36/wreport/utils/sys.h:329:31: note: Function in derived class wreport-3.36/wreport/utils/sys.h:353:6: style: The destructor '~ManagedNamedFileDescriptor' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/utils/sys.h:152:14: note: Virtual destructor in base class wreport-3.36/wreport/utils/sys.h:353:6: note: Destructor in derived class wreport-3.36/wreport/utils/sys.h:549:6: style: The destructor '~Tempfile' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/utils/sys.h:353:6: note: Virtual destructor in base class wreport-3.36/wreport/utils/sys.h:549:6: note: Destructor in derived class wreport-3.36/wreport/utils/sys.h:574:6: style: The destructor '~Tempdir' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/utils/sys.h:353:6: note: Virtual destructor in base class wreport-3.36/wreport/utils/sys.h:574:6: note: Destructor in derived class wreport-3.36/wreport/tests.cc:32:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:27:18: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:27:18: note: Assignment 'fd=std::fopen(fname.c_str(),"rb")', assigned value is 0 wreport-3.36/wreport/tests.cc:32:15: note: Null pointer dereference wreport-3.36/wreport/tests.cc:62:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:62:13: note: Null pointer dereference wreport-3.36/wreport/tests.cc:64:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:64:13: note: Null pointer dereference wreport-3.36/wreport/tests.cc:66:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:66:13: note: Null pointer dereference wreport-3.36/wreport/tests.cc:68:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:68:12: note: Null pointer dereference wreport-3.36/wreport/tests.cc:239:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:236:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:236:22: note: Assignment 'out=std::fopen("/dev/null","w")', assigned value is 0 wreport-3.36/wreport/tests.cc:239:12: note: Null pointer dereference wreport-3.36/wreport/tests.cc:94:34: style:inconclusive: Function 'assert_var_equal' argument 1 names different: declaration 'actual' definition 'avar'. [funcArgNamesDifferent] wreport-3.36/wreport/tests.h:101:34: note: Function 'assert_var_equal' argument 1 names different: declaration 'actual' definition 'avar'. wreport-3.36/wreport/tests.cc:94:34: note: Function 'assert_var_equal' argument 1 names different: declaration 'actual' definition 'avar'. wreport-3.36/wreport/tests.cc:94:51: style:inconclusive: Function 'assert_var_equal' argument 2 names different: declaration 'expected' definition 'evar'. [funcArgNamesDifferent] wreport-3.36/wreport/tests.h:101:53: note: Function 'assert_var_equal' argument 2 names different: declaration 'expected' definition 'evar'. wreport-3.36/wreport/tests.cc:94:51: note: Function 'assert_var_equal' argument 2 names different: declaration 'expected' definition 'evar'. wreport-3.36/wreport/utils/subprocess.cc:228:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:323:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:347:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:389:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:422:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:502:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:576:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/subprocess.cc:554:32: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/subprocess.cc:554:57: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/subprocess.cc:563:31: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/subprocess.cc:317:11: style: Local variable 'pid' shadows outer function [shadowFunction] wreport-3.36/wreport/utils/subprocess.h:116:11: note: Shadowed declaration wreport-3.36/wreport/utils/subprocess.cc:317:11: note: Shadow variable wreport-3.36/wreport/utils/term.cc:52:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/term.cc:125:23: style:inconclusive: Technically the member function 'wreport::term::Terminal::color' can be const. [functionConst] wreport-3.36/wreport/utils/term.h:46:17: note: Technically the member function 'wreport::term::Terminal::color' can be const. wreport-3.36/wreport/utils/term.cc:125:23: note: Technically the member function 'wreport::term::Terminal::color' can be const. wreport-3.36/wreport/utils/term.h:40:5: style: Struct 'Terminal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/term.h:36:9: style: Struct 'Restore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/sys.cc:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:77:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:82:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:97:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PC_PATH_MAX [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:390:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLK [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:405:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:420:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLK [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:428:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:436:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETFL [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:557:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_PATH [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:564:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECTORY [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:601:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:623:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:632:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:638:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:661:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_REMOVEDIR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:721:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:905:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:985:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1007:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1048:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1067:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1095:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1158:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:1196:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_PATH [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/string.cc:450:27: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/string.cc:239:24: style: Local variable 'str' shadows outer variable [shadowVariable] wreport-3.36/wreport/utils/string.h:159:17: note: Shadowed declaration wreport-3.36/wreport/utils/string.cc:239:24: note: Shadow variable wreport-3.36/wreport/utils/string.cc:240:24: style: Local variable 'sep' shadows outer variable [shadowVariable] wreport-3.36/wreport/utils/string.h:161:17: note: Shadowed declaration wreport-3.36/wreport/utils/string.cc:240:24: note: Shadow variable wreport-3.36/wreport/utils/string.cc:259:24: style: Local variable 'str' shadows outer variable [shadowVariable] wreport-3.36/wreport/utils/string.h:159:17: note: Shadowed declaration wreport-3.36/wreport/utils/string.cc:259:24: note: Shadow variable wreport-3.36/wreport/utils/string.cc:260:24: style: Local variable 'sep' shadows outer variable [shadowVariable] wreport-3.36/wreport/utils/string.h:161:17: note: Shadowed declaration wreport-3.36/wreport/utils/string.cc:260:24: note: Shadow variable wreport-3.36/wreport/utils/string.cc:261:10: style: Local variable 'skip_empty' shadows outer variable [shadowVariable] wreport-3.36/wreport/utils/string.h:166:10: note: Shadowed declaration wreport-3.36/wreport/utils/string.cc:261:10: note: Shadow variable wreport-3.36/wreport/utils/testrunner.cc:57:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_NOMATCH [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/testrunner.cc:118:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bright [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/testrunner.cc:152:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bright [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/testrunner.cc:165:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bright [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/testrunner.cc:191:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bright [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/testrunner.cc:422:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/sys.cc:163:25: warning: Obsolete function 'alloca' called. [allocaCalled] wreport-3.36/wreport/utils/sys.cc:722:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] wreport-3.36/wreport/utils/sys.cc:855:25: warning: Obsolete function 'alloca' called. [allocaCalled] wreport-3.36/wreport/utils/sys.cc:864:25: warning: Obsolete function 'alloca' called. [allocaCalled] wreport-3.36/wreport/utils/sys.cc:911:25: warning: Obsolete function 'alloca' called. [allocaCalled] wreport-3.36/wreport/utils/sys.cc:920:25: warning: Obsolete function 'alloca' called. [allocaCalled] wreport-3.36/wreport/utils/sys.cc:1079:11: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] wreport-3.36/wreport/utils/sys.cc:583:22: performance:inconclusive: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/sys.h:454:14: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/utils/sys.cc:583:22: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/utils/sys.cc:954:16: style:inconclusive: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. [functionConst] wreport-3.36/wreport/utils/sys.h:555:10: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. wreport-3.36/wreport/utils/sys.cc:954:16: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. wreport-3.36/wreport/utils/sys.cc:1243:27: style:inconclusive: Technically the member function 'wreport::sys::Clock::elapsed' can be const. [functionConst] wreport-3.36/wreport/utils/sys.h:730:24: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. wreport-3.36/wreport/utils/sys.cc:1243:27: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. wreport-3.36/wreport/utils/sys.cc:1276:5: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] wreport-3.36/wreport/utils/sys.cc:572:5: error: Resource leak: fd1 [resourceLeak] wreport-3.36/wreport/utils/sys.cc:163:17: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:300:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:361:26: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:366:28: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:677:49: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:855:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:864:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:911:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:920:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:997:25: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/sys.cc:147:32: style:inconclusive: Function 'exists' argument 1 names different: declaration 's' definition 'file'. [funcArgNamesDifferent] wreport-3.36/wreport/utils/sys.h:85:32: note: Function 'exists' argument 1 names different: declaration 's' definition 'file'. wreport-3.36/wreport/utils/sys.cc:147:32: note: Function 'exists' argument 1 names different: declaration 's' definition 'file'. wreport-3.36/wreport/utils/sys.cc:162:12: style: Local variable 'size' shadows outer function [shadowFunction] wreport-3.36/wreport/utils/sys.h:70:8: note: Shadowed declaration wreport-3.36/wreport/utils/sys.cc:162:12: note: Shadow variable wreport-3.36/wreport/utils/sys.cc:488:56: warning:inconclusive: Access of moved variable 'o'. [accessMoved] wreport-3.36/wreport/utils/sys.cc:488:22: note: Calling std::move(o) wreport-3.36/wreport/utils/sys.cc:488:56: note: Access of moved variable 'o'. wreport-3.36/wreport/utils/tests-main.cc:23:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.h:665:9: performance: Variable 'make_fixture' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] wreport-3.36/wreport/utils/tests.h:637:10: performance:inconclusive: Technically the member function 'wreport::tests::Fixture::test_setup' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/tests.h:640:10: performance:inconclusive: Technically the member function 'wreport::tests::Fixture::test_teardown' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/tests.h:108:5: style: Struct 'TestFailed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:117:5: style: Struct 'TestFailed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:140:5: style: Struct 'TestSkipped' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:337:5: style: Struct 'ActualCString' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:359:5: style: Struct 'ActualStdString' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:507:5: style: Struct 'TestMethod' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/testrunner.h:110:5: style: Struct 'TestCaseResult' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/testrunner.h:213:5: style: Struct 'SimpleTestController' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/testrunner.h:232:5: style: Struct 'VerboseTestController' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/testrunner.h:288:5: style: Struct 'TestResultStats' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:321:5: style: Struct 'Actual < std :: string >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:321:5: style: Struct 'Actual < double >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.h:321:5: style: Struct 'Actual < std :: function < void ( ) > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/testrunner.h:58:40: style: Parameter 'e' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/utils/testrunner.h:71:46: style: Parameter 'e' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/utils/testrunner.h:78:49: style: Parameter 'e' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/utils/testrunner.h:117:43: style: Parameter 'e' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/utils/testrunner.h:128:46: style: Parameter 'e' can be declared as reference to const [constParameterReference] wreport-3.36/wreport/utils/tests.h:384:35: style: Parameter 'actual' can be declared as pointer to const [constParameterPointer] wreport-3.36/wreport/utils/testrunner.cc:308:23: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.h:290:10: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. wreport-3.36/wreport/utils/testrunner.cc:308:23: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. wreport-3.36/wreport/utils/testrunner.cc:335:23: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.h:291:10: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. wreport-3.36/wreport/utils/testrunner.cc:335:23: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. wreport-3.36/wreport/utils/testrunner.h:142:9: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/utils/testrunner.cc:376:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wreport-3.36/wreport/utils/testrunner.cc:97:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] wreport-3.36/wreport/utils/testrunner.cc:99:5: note: Found duplicate branches for 'if' and 'else'. wreport-3.36/wreport/utils/testrunner.cc:97:10: note: Found duplicate branches for 'if' and 'else'. wreport-3.36/wreport/utils/testrunner.cc:46:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/utils/testrunner.cc:371:20: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] wreport-3.36/wreport/var-bench.cc:58:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable repetitions [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/var-bench.cc:69:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Var [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/var-bench.cc:40:5: warning: Member variable 'VarBenchmark::vars_unset' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/var-bench.cc:40:5: warning: Member variable 'VarBenchmark::vars_i' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/var-bench.cc:40:5: warning: Member variable 'VarBenchmark::vars_d' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/var-bench.cc:40:5: warning: Member variable 'VarBenchmark::vars_c' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/var-bench.cc:40:5: warning: Member variable 'VarBenchmark::vars_b' is not initialized in the constructor. [uninitMemberVar] wreport-3.36/wreport/var-bench.cc:40:5: style: Struct 'VarBenchmark' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/var-bench.cc:61:10: style: The function 'setup_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:93:18: note: Virtual function in base class wreport-3.36/wreport/var-bench.cc:61:10: note: Function in derived class wreport-3.36/wreport/var-bench.cc:76:10: style: The function 'teardown_main' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] wreport-3.36/wreport/benchmark.h:100:18: note: Virtual function in base class wreport-3.36/wreport/var-bench.cc:76:10: note: Function in derived class wreport-3.36/wreport/var-bench.cc:69:22: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var-bench.cc:70:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var-bench.cc:71:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var-bench.cc:72:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var-bench.cc:73:18: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var-test.cc:62:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_domain [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:136:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:144:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:161:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:171:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:335:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:340:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:345:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:355:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:360:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:365:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:374:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:396:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:402:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:413:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:418:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:425:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:432:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:445:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:467:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:479:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _actual [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:601:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/var-test.cc:223:23: error: Invalid std::logf() argument nr 1. The value is 0 but the valid values are '1.4013e-45:'. [invalidFunctionArg] wreport-3.36/wreport/var-test.cc:230:23: error: Invalid std::logf() argument nr 1. The value is 0 but the valid values are '1.4013e-45:'. [invalidFunctionArg] wreport-3.36/wreport/var-test.cc:230:31: error: Invalid std::logf() argument nr 1. The value is 0 but the valid values are '1.4013e-45:'. [invalidFunctionArg] wreport-3.36/wreport/var-test.cc:223:18: warning: Passing value 0 to logf() leads to implementation-defined result. [wrongmathcall] wreport-3.36/wreport/var-test.cc:230:18: warning: Passing value 0 to logf() leads to implementation-defined result. [wrongmathcall] wreport-3.36/wreport/var-test.cc:230:26: warning: Passing value 0 to logf() leads to implementation-defined result. [wrongmathcall] wreport-3.36/wreport/var.cc:790:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/var.cc:812:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/utils/tests.cc:335:23: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:340:21: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:345:21: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:350:25: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:355:23: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:360:27: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:365:16: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:368:49: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:374:15: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:377:49: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:385:9: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:396:21: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:397:32: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:402:22: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:403:32: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:408:18: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:418:29: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:420:36: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:425:29: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:427:36: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:432:42: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:434:36: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:445:54: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:451:36: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:467:42: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:471:21: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:479:54: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:505:26: debug: CheckClass::isMemberVar found used member variable '_actual' with varid 0 [varid0] wreport-3.36/wreport/utils/tests.cc:158:5: style: Struct 'Regexp' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/utils/tests.cc:410:26: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/tests.cc:411:7: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/utils/tests.cc:545:27: style: Variable 'e' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/utils/tests.cc:556:20: style: Variable 'method' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/utils/tests.cc:619:31: style: Variable 'e' can be declared as reference to const [constVariableReference] wreport-3.36/wreport/varinfo.cc:59:35: style:inconclusive: Function 'varcode_parse' argument 1 names different: declaration 'desc' definition 'entry'. [funcArgNamesDifferent] wreport-3.36/wreport/varinfo.h:108:35: note: Function 'varcode_parse' argument 1 names different: declaration 'desc' definition 'entry'. wreport-3.36/wreport/varinfo.cc:59:35: note: Function 'varcode_parse' argument 1 names different: declaration 'desc' definition 'entry'. wreport-3.36/wreport/varinfo.cc:247:41: style:inconclusive: Function 'decode_binary' argument 1 names different: declaration 'val' definition 'ival'. [funcArgNamesDifferent] wreport-3.36/wreport/varinfo.h:234:35: note: Function 'decode_binary' argument 1 names different: declaration 'val' definition 'ival'. wreport-3.36/wreport/varinfo.cc:247:41: note: Function 'decode_binary' argument 1 names different: declaration 'val' definition 'ival'. wreport-3.36/wreport/var.cc:775:5: error: fprintf format string requires 5 parameters but only 3 are given. [wrongPrintfScanfArgNum] wreport-3.36/wreport/var.cc:346:22: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:354:22: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:548:48: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:572:48: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:581:48: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:702:48: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:729:45: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:757:41: style: C-style pointer casting [cstyleCast] wreport-3.36/wreport/var.cc:942:26: style: Local variable 'diff' shadows outer function [shadowFunction] wreport-3.36/wreport/var.h:384:14: note: Shadowed declaration wreport-3.36/wreport/var.cc:942:26: note: Shadow variable wreport-3.36/wreport/var.cc:480:37: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] wreport-3.36/wreport/vartable-test.cc:24:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TABLE_DIR [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable-test.cc:50:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:161:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Decimal [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:228:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:247:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:376:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:461:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable String [valueFlowBailoutIncompleteVar] wreport-3.36/wreport/vartable.cc:85:5: style: Struct 'fd_closer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/vartable.cc:215:5: style: Struct 'VartableBase' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/vartable.cc:335:5: style: Struct 'BufrVartable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/vartable.cc:408:5: style: Struct 'CrexVartable' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] wreport-3.36/wreport/vartable.cc:89:29: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] diff: head wreport-3.36/src/afl-test.cc:62:20: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/afl-test.cc:30:25: note: Assuming allocation function fails wreport-3.36/src/afl-test.cc:30:25: note: Assignment 'in=std::fopen(fname,"rb")', assigned value is 0 wreport-3.36/src/afl-test.cc:62:20: note: Null pointer dereference head wreport-3.36/src/input.cc:55:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:31:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:31:21: note: Assignment 'in=std::fopen(fname,"rb")', assigned value is 0 wreport-3.36/src/input.cc:55:16: note: Null pointer dereference head wreport-3.36/src/input.cc:98:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] wreport-3.36/src/input.cc:71:21: note: Assuming allocation function fails wreport-3.36/src/input.cc:71:21: note: Assignment 'in=std::fopen(fname,"rt")', assigned value is 0 wreport-3.36/src/input.cc:98:16: note: Null pointer dereference head wreport-3.36/wreport/bufr/input.cc:226:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:243:10: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. wreport-3.36/wreport/bufr/input.cc:226:13: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. head wreport-3.36/wreport/bufr/input.cc:232:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:259:10: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. wreport-3.36/wreport/bufr/input.cc:232:13: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. head wreport-3.36/wreport/bufr/input.cc:238:13: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.h:275:10: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. wreport-3.36/wreport/bufr/input.cc:238:13: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. 2.17.0 wreport-3.36/wreport/bufr/input.h:243:10: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.cc:226:13: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. wreport-3.36/wreport/bufr/input.h:243:10: note: Technically the member function 'wreport::bufr::Input::check_available_data' can be const. 2.17.0 wreport-3.36/wreport/bufr/input.h:259:10: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.cc:232:13: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. wreport-3.36/wreport/bufr/input.h:259:10: note: Technically the member function 'wreport::bufr::Input::check_available_message_data' can be const. 2.17.0 wreport-3.36/wreport/bufr/input.h:275:10: style:inconclusive: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. [functionConst] wreport-3.36/wreport/bufr/input.cc:238:13: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. wreport-3.36/wreport/bufr/input.h:275:10: note: Technically the member function 'wreport::bufr::Input::check_available_section_data' can be const. 2.17.0 wreport-3.36/wreport/options.h:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head wreport-3.36/wreport/tableinfo.cc:215:18: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:34:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:215:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). head wreport-3.36/wreport/tableinfo.cc:220:18: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:35:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:220:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). head wreport-3.36/wreport/tableinfo.cc:35:19: performance:inconclusive: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.h:32:10: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.cc:35:19: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). 2.17.0 wreport-3.36/wreport/tableinfo.h:32:10: performance:inconclusive: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.cc:35:19: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.h:32:10: note: Technically the member function 'wreport::BufrTableID::is_acceptable_replacement' can be static (but you may consider moving to unnamed namespace). 2.17.0 wreport-3.36/wreport/tableinfo.h:34:9: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.cc:215:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.h:34:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). 2.17.0 wreport-3.36/wreport/tableinfo.h:35:9: performance:inconclusive: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/tableinfo.cc:220:18: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/tableinfo.h:35:9: note: Technically the member function 'wreport::BufrTableID::closest_match' can be static (but you may consider moving to unnamed namespace). head wreport-3.36/wreport/tests.cc:239:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:236:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:236:22: note: Assignment 'out=std::fopen("/dev/null","w")', assigned value is 0 wreport-3.36/wreport/tests.cc:239:12: note: Null pointer dereference 2.17.0 wreport-3.36/wreport/tests.cc:32:15: warning: Either the condition 'fd==NULL' is redundant or there is possible null pointer dereference: fd. [nullPointerRedundantCheck] wreport-3.36/wreport/tests.cc:28:9: note: Assuming that condition 'fd==NULL' is not redundant wreport-3.36/wreport/tests.cc:32:15: note: Null pointer dereference head wreport-3.36/wreport/tests.cc:32:15: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:27:18: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:27:18: note: Assignment 'fd=std::fopen(fname.c_str(),"rb")', assigned value is 0 wreport-3.36/wreport/tests.cc:32:15: note: Null pointer dereference head wreport-3.36/wreport/tests.cc:62:13: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:62:13: note: Null pointer dereference head wreport-3.36/wreport/tests.cc:64:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:64:13: note: Null pointer dereference head wreport-3.36/wreport/tests.cc:66:13: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:66:13: note: Null pointer dereference head wreport-3.36/wreport/tests.cc:68:12: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] wreport-3.36/wreport/tests.cc:61:22: note: Assuming allocation function fails wreport-3.36/wreport/tests.cc:61:22: note: Assignment 'out=std::fopen(dumpfname.c_str(),"wt")', assigned value is 0 wreport-3.36/wreport/tests.cc:68:12: note: Null pointer dereference head wreport-3.36/wreport/utils/lua.h:30:2: error: #error This source requires Lua to compile [preprocessorErrorDirective] head wreport-3.36/wreport/utils/subprocess.cc:554:57: style: C-style pointer casting [cstyleCast] head wreport-3.36/wreport/utils/sys.cc:1243:27: style:inconclusive: Technically the member function 'wreport::sys::Clock::elapsed' can be const. [functionConst] wreport-3.36/wreport/utils/sys.h:730:24: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. wreport-3.36/wreport/utils/sys.cc:1243:27: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. 2.17.0 wreport-3.36/wreport/utils/sys.cc:474:8: error: Exception thrown in function declared not to throw exceptions. [throwInNoexceptFunction] head wreport-3.36/wreport/utils/sys.cc:583:22: performance:inconclusive: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/sys.h:454:14: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/utils/sys.cc:583:22: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). head wreport-3.36/wreport/utils/sys.cc:954:16: style:inconclusive: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. [functionConst] wreport-3.36/wreport/utils/sys.h:555:10: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. wreport-3.36/wreport/utils/sys.cc:954:16: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. 2.17.0 wreport-3.36/wreport/utils/sys.h:454:14: performance:inconclusive: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). [functionStatic] wreport-3.36/wreport/utils/sys.cc:583:22: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). wreport-3.36/wreport/utils/sys.h:454:14: note: Technically the member function 'wreport::sys::Path::end' can be static (but you may consider moving to unnamed namespace). 2.17.0 wreport-3.36/wreport/utils/sys.h:555:10: style:inconclusive: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. [functionConst] wreport-3.36/wreport/utils/sys.cc:954:16: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. wreport-3.36/wreport/utils/sys.h:555:10: note: Technically the member function 'wreport::sys::Tempfile::unlink' can be const. 2.17.0 wreport-3.36/wreport/utils/sys.h:730:24: style:inconclusive: Technically the member function 'wreport::sys::Clock::elapsed' can be const. [functionConst] wreport-3.36/wreport/utils/sys.cc:1243:27: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. wreport-3.36/wreport/utils/sys.h:730:24: note: Technically the member function 'wreport::sys::Clock::elapsed' can be const. head wreport-3.36/wreport/utils/term.cc:125:23: style:inconclusive: Technically the member function 'wreport::term::Terminal::color' can be const. [functionConst] wreport-3.36/wreport/utils/term.h:46:17: note: Technically the member function 'wreport::term::Terminal::color' can be const. wreport-3.36/wreport/utils/term.cc:125:23: note: Technically the member function 'wreport::term::Terminal::color' can be const. 2.17.0 wreport-3.36/wreport/utils/term.h:46:17: style:inconclusive: Technically the member function 'wreport::term::Terminal::color' can be const. [functionConst] wreport-3.36/wreport/utils/term.cc:125:23: note: Technically the member function 'wreport::term::Terminal::color' can be const. wreport-3.36/wreport/utils/term.h:46:17: note: Technically the member function 'wreport::term::Terminal::color' can be const. head wreport-3.36/wreport/utils/testrunner.cc:308:23: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.h:290:10: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. wreport-3.36/wreport/utils/testrunner.cc:308:23: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. head wreport-3.36/wreport/utils/testrunner.cc:335:23: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.h:291:10: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. wreport-3.36/wreport/utils/testrunner.cc:335:23: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. 2.17.0 wreport-3.36/wreport/utils/testrunner.h:290:10: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.cc:308:23: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. wreport-3.36/wreport/utils/testrunner.h:290:10: note: Technically the member function 'wreport::tests::TestResultStats::print_results' can be const. 2.17.0 wreport-3.36/wreport/utils/testrunner.h:291:10: style:inconclusive: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. [functionConst] wreport-3.36/wreport/utils/testrunner.cc:335:23: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. wreport-3.36/wreport/utils/testrunner.h:291:10: note: Technically the member function 'wreport::tests::TestResultStats::print_stats' can be const. head wreport-3.36/wreport/var-test.cc:230:26: warning: Passing value 0 to logf() leads to implementation-defined result. [wrongmathcall] head wreport-3.36/wreport/var-test.cc:230:31: error: Invalid std::logf() argument nr 1. The value is 0 but the valid values are '1.4013e-45:'. [invalidFunctionArg] DONE