2025-05-07 03:44 ftp://ftp.de.debian.org/debian/pool/main/p/plasma-firewall/plasma-firewall_6.3.4.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=kde --library=qt --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: 8e656e5 (2025-05-06 23:42:00 +0200) count: 102 74 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: plasma-firewall-6.3.4/autotests/ipvalidatortest.cpp:17:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Intermediate [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/autotests/ipvalidatortest.cpp:38:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPv4 [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/autotests/ipvalidatortest.cpp:48:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Acceptable [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/autotests/ipvalidatortest.cpp:68:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPv6 [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldjob.cpp:58:15: warning:inconclusive: Member variable 'FirewalldJob::m_type' is not initialized in the constructor. [uninitMemberVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldjob.h:28:28: performance: Function 'getFirewalldreply()' should return member 'm_firewalldreply' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldjob.h:29:17: performance: Function 'getServices()' should return member 'm_services' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldjob.h:31:13: performance: Function 'getDefaultIncomingPolicy()' should return member 'm_target' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/firewalld/queryrulesfirewalldjob.h:23:28: performance: Function 'getFirewalldreply()' should return member 'm_replyDirect' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/firewalld/queryrulesfirewalldjob.h:24:17: performance: Function 'getServices()' should return member 'm_replyServices' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:49:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:78:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:170:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:433:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:457:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGGING_OFF [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:501:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_DENY [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:568:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SaveCapability [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/netstat/netstatclient.h:28:13: performance: Function 'status()' should return member 'mStatus' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.cpp:20:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable timeout [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.cpp:60:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IndexIsValid [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.cpp:125:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable protocol [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.cpp:112:69: style:inconclusive: Function 'refreshConnections' argument 1 names different: declaration 'results' definition 'result'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.h:61:55: note: Function 'refreshConnections' argument 1 names different: declaration 'results' definition 'result'. plasma-firewall-6.3.4/kcm/backends/netstat/connectionsmodel.cpp:112:69: note: Function 'refreshConnections' argument 1 names different: declaration 'results' definition 'result'. plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.cpp:37:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finished [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.cpp:109:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:57:46: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.h:39:33: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:57:46: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:195:41: style:inconclusive: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.h:34:28: note: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:195:41: note: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.h:21:13: performance: Function 'errorString()' should return member 'm_errorString' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.cpp:80:67: style:inconclusive: Function 'parseSSOutput' argument 1 names different: declaration 'ss' definition 'netstatOutput'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.h:36:56: note: Function 'parseSSOutput' argument 1 names different: declaration 'ss' definition 'netstatOutput'. plasma-firewall-6.3.4/kcm/backends/netstat/netstathelper.cpp:80:67: note: Function 'parseSSOutput' argument 1 names different: declaration 'ss' definition 'netstatOutput'. plasma-firewall-6.3.4/kcm/backends/ufw/helper/helper.cpp:67:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/helper/helper.cpp:118:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/helper/helper.cpp:241:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/helper/helper.cpp:345:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFW_PLUGIN_HELPER_PATH [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwlogmodel.cpp:57:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sourceAddress [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/appprofiles.h:18:5: style: Struct 'Entry' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:86:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:94:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:192:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:218:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:283:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:355:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:367:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:424:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:471:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:588:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoDotAndDotDot [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:620:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:678:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:716:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:105:34: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:42:27: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:105:34: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:174:51: style:inconclusive: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:39:44: note: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:174:51: note: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:200:51: style:inconclusive: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:40:44: note: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:200:51: note: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:93:32: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:68:20: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:93:32: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:223:31: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:69:19: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:223:31: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:161:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:95:13: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:161:25: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:207:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:96:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:207:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:215:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:97:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:215:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:358:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:98:13: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:358:25: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:278:22: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.h:128:10: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:278:22: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:22: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:10: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:22: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. plasma-firewall-6.3.4/kcm/core/profile.h:111:25: performance: Function 'rules()' should return member 'm_rules' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/profile.h:115:25: performance: Function 'modules()' should return member 'm_modules' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/profile.h:119:19: performance: Function 'fileName()' should return member 'm_fileName' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:54: style:inconclusive: Function 'queryStatus' argument 1 names different: declaration 'defaultDataBehavior' definition 'defaultsBehavior'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:42: note: Function 'queryStatus' argument 1 names different: declaration 'defaultDataBehavior' definition 'defaultsBehavior'. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:54: note: Function 'queryStatus' argument 1 names different: declaration 'defaultDataBehavior' definition 'defaultsBehavior'. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:89: style:inconclusive: Function 'queryStatus' argument 2 names different: declaration 'ProfilesBehavior' definition 'profilesBehavior'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:95: note: Function 'queryStatus' argument 2 names different: declaration 'ProfilesBehavior' definition 'profilesBehavior'. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:89: note: Function 'queryStatus' argument 2 names different: declaration 'ProfilesBehavior' definition 'profilesBehavior'. plasma-firewall-6.3.4/kcm/core/ifirewallclientbackend.h:95:13: performance: Function 'executablePath()' should return member 'm_executablePath' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:329:64: performance: Function parameter 'factories' should be passed by const reference. [passedByValue] plasma-firewall-6.3.4/kcm/core/ifirewallclientbackend.cpp:24:60: style:inconclusive: Function 'profileByName' argument 1 names different: declaration 'profileName' definition 'name'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/core/ifirewallclientbackend.h:91:40: note: Function 'profileByName' argument 1 names different: declaration 'profileName' definition 'name'. plasma-firewall-6.3.4/kcm/core/ifirewallclientbackend.cpp:24:60: note: Function 'profileByName' argument 1 names different: declaration 'profileName' definition 'name'. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:67:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:22:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Acceptable [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:32:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Intermediate [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:47:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:94:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Invalid [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:87:50: style:inconclusive: Function 'validate' argument 1 names different: declaration 'input' definition 'arg'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/core/ipvalidator.h:22:41: note: Function 'validate' argument 1 names different: declaration 'input' definition 'arg'. plasma-firewall-6.3.4/kcm/core/ipvalidator.cpp:87:50: note: Function 'validate' argument 1 names different: declaration 'input' definition 'arg'. plasma-firewall-6.3.4/kcm/core/loglistmodel.cpp:51:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IndexIsValid [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/profile.cpp:97:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/profile.cpp:125:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/rulelistmodel.cpp:48:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IndexIsValid [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/rule.cpp:35:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/kcm/core/rule.cpp:57:27: portability: Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'. [prohibitedgetservbyportCalled] plasma-firewall-6.3.4/kcm/core/rule.cpp:138:27: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] plasma-firewall-6.3.4/kcm/core/rule.h:98:13: performance: Function 'destinationAddress()' should return member 'm_destAddress' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:99:13: performance: Function 'destinationPort()' should return member 'm_destPort' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:100:13: performance: Function 'sourceApplication()' should return member 'm_sourceApplication' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:101:13: performance: Function 'sourceAddress()' should return member 'm_sourceAddress' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:102:13: performance: Function 'sourcePort()' should return member 'm_sourcePort' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:103:13: performance: Function 'interfaceIn()' should return member 'm_interfaceIn' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:104:13: performance: Function 'interfaceOut()' should return member 'm_interfaceOut' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:105:13: performance: Function 'destinationApplication()' should return member 'm_destApplication' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.h:110:13: performance: Function 'interfaceStr()' should return member 'm_interfaceStr' by const reference. [returnByReference] plasma-firewall-6.3.4/kcm/core/rule.cpp:283:28: style:inconclusive: Function 'setProtocol' argument 1 names different: declaration 'protocol' definition 'v'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/core/rule.h:143:26: note: Function 'setProtocol' argument 1 names different: declaration 'protocol' definition 'v'. plasma-firewall-6.3.4/kcm/core/rule.cpp:283:28: note: Function 'setProtocol' argument 1 names different: declaration 'protocol' definition 'v'. plasma-firewall-6.3.4/kcm/core/rule.cpp:57:21: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] plasma-firewall-6.3.4/kcm/core/rule.cpp:138:21: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] plasma-firewall-6.3.4/tests/firewall_tests/main.cpp:85:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enabledChanged [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/tests/firewall_tests/main.cpp:115:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enabledChanged [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/tests/firewall_tests/main.cpp:197:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGGING_OFF [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/tests/firewall_tests/main.cpp:236:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable modelReset [valueFlowBailoutIncompleteVar] plasma-firewall-6.3.4/tests/firewall_tests/main.cpp:150:13: style: Variable 'interface' is assigned a value that is never used. [unreadVariable] plasma-firewall-6.3.4/kcm/core/types.cpp:142:83: performance: Function parameter 'port' should be passed by const reference. [passedByValue] plasma-firewall-6.3.4/kcm/kcm.cpp:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Help [valueFlowBailoutIncompleteVar] diff: head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:170:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:195:41: style:inconclusive: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.h:34:28: note: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:195:41: note: Function 'updateRule' argument 1 names different: declaration 'rule' definition 'ruleWrapper'. 2.17.0 plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:28:1: error: There is an unknown macro here somewhere. Configuration is required. If K_PLUGIN_CLASS_WITH_JSON is a macro then please configure it. [unknownMacro] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:433:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:457:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOGGING_OFF [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:49:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:501:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLICY_DENY [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:568:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SaveCapability [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:57:46: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.h:39:33: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:57:46: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. head plasma-firewall-6.3.4/kcm/backends/firewalld/firewalldclient.cpp:78:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:105:34: style:inconclusive: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:42:27: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:105:34: note: Function 'setEnabled' argument 1 names different: declaration 'enabled' definition 'value'. head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:117:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:135:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:174:51: style:inconclusive: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:39:44: note: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:174:51: note: Function 'setDefaultIncomingPolicy' argument 1 names different: declaration 'defaultIncomingPolicy' definition 'policy'. head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:192:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:200:51: style:inconclusive: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. [funcArgNamesDifferent] plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.h:40:44: note: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:200:51: note: Function 'setDefaultOutgoingPolicy' argument 1 names different: declaration 'defaultOutgoingPolicy' definition 'policy'. head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:218:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DontListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:283:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:355:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] 2.17.0 plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:35:1: error: There is an unknown macro here somewhere. Configuration is required. If K_PLUGIN_CLASS_WITH_JSON is a macro then please configure it. [unknownMacro] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:367:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:424:110: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:471:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:520:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:588:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoDotAndDotDot [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:620:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:678:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:716:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:86:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListenProfiles [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/backends/ufw/ufwclient.cpp:94:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UFWClientDebug [valueFlowBailoutIncompleteVar] head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:161:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:95:13: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:161:25: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:207:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:96:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:207:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:215:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:97:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:215:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:223:31: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:69:19: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:223:31: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:22: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:10: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:22: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:278:22: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.h:128:10: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:278:22: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:358:25: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:98:13: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:358:25: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:67:62: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:93:32: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.h:68:20: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:93:32: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:128:10: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:278:22: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.h:128:10: note: Either there is a missing 'override', or the member function 'FirewallClient::setLogsAutoRefresh' can be const. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:10: style:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. [functionConst] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:248:22: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. plasma-firewall-6.3.4/kcm/core/firewallclient.h:129:10: note: Either there is a missing 'override', or the member function 'FirewallClient::queryStatus' can be const. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:68:20: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:93:32: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:68:20: note: Either there is a missing 'override', or the member function 'FirewallClient::rulesModel' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:69:19: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:223:31: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:69:19: note: Either there is a missing 'override', or the member function 'FirewallClient::logsModel' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:95:13: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:161:25: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:95:13: note: Either there is a missing 'override', or the member function 'FirewallClient::name' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:96:13: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:207:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:96:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultIncomingPolicy' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:97:13: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:215:25: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:97:13: note: Either there is a missing 'override', or the member function 'FirewallClient::defaultOutgoingPolicy' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/core/firewallclient.h:98:13: performance:inconclusive: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. [functionStatic] plasma-firewall-6.3.4/kcm/core/firewallclient.cpp:358:25: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. plasma-firewall-6.3.4/kcm/core/firewallclient.h:98:13: note: Either there is a missing 'override', or the member function 'FirewallClient::backend' can be static. 2.17.0 plasma-firewall-6.3.4/kcm/kcm.cpp:24:1: error: There is an unknown macro here somewhere. Configuration is required. If K_PLUGIN_CLASS_WITH_JSON is a macro then please configure it. [unknownMacro] head plasma-firewall-6.3.4/kcm/kcm.cpp:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Help [valueFlowBailoutIncompleteVar] DONE