2025-05-05 09:33 ftp://ftp.de.debian.org/debian/pool/main/k/kodi-pvr-octonet/kodi-pvr-octonet_21.0.1+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: c79862b (2025-05-05 10:59:17 +0200) count: 27 27 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:54:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OCTONET_VERSION [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_LOG_INFO [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_LOG_INFO [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:237:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_LOG_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:251:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:273:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:278:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_STREAM_PROPERTY_INPUTSTREAM [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:359:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:391:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:410:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_NO_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:418:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PVR_ERROR_UNKNOWN [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:443:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_LOG_ERROR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:28:3: performance: Variable 'm_serverAddress' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:276:82: style:inconclusive: Function 'GetChannelStreamProperties' argument 1 names different: declaration 'channel' definition 'channelinfo'. [funcArgNamesDifferent] kodi-pvr-octonet-21.0.1/src/OctonetData.h:70:71: note: Function 'GetChannelStreamProperties' argument 1 names different: declaration 'channel' definition 'channelinfo'. kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:276:82: note: Function 'GetChannelStreamProperties' argument 1 names different: declaration 'channel' definition 'channelinfo'. kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:164:47: performance: Function parameter 'date' should be passed by const reference. [passedByValue] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:227:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:157:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:367:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:380:5: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] kodi-pvr-octonet-21.0.1/src/OctonetData.cpp:439:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] kodi-pvr-octonet-21.0.1/src/addon.cpp:20:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_STATUS_NEED_RESTART [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/addon.cpp:26:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_INSTANCE_PVR [valueFlowBailoutIncompleteVar] kodi-pvr-octonet-21.0.1/src/addon.cpp:47:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADDON_INSTANCE_PVR [valueFlowBailoutIncompleteVar] diff: DONE