2025-11-18 22:19 ftp://ftp.de.debian.org/debian/pool/main/q/qevercloud/qevercloud_3.0.3+ds.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 1ca1246 (2025-11-18 18:56:39 +0100) count: 173 174 elapsed-time: 1.1 1.3 head-timing-info: old-timing-info: head results: qevercloud_3.0.3+ds/QEverCloud/src/EventLoopFinisher.cpp:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/EverCloudException.cpp:48:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorMessage [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/EverCloudException.cpp:78:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorMessage [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:71:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:79:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:90:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EverCloudExceptionData [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/http.h:40:10: style:inconclusive: Either there is a missing 'override', or the member function 'qevercloud::ReplyFetcher::isError' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloud/src/http.h:41:13: style:inconclusive: Either there is a missing 'override', or the member function 'qevercloud::ReplyFetcher::errorText' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloud/src/http.h:42:16: style:inconclusive: Either there is a missing 'override', or the member function 'qevercloud::ReplyFetcher::receivedData' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloud/src/http.h:43:9: style:inconclusive: Either there is a missing 'override', or the member function 'qevercloud::ReplyFetcher::httpStatusCode' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:36:5: performance:inconclusive: Technically the member function 'qevercloud::AsyncResultPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/http.h:41:13: performance: Function 'errorText()' should return member 'm_errorText' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloud/src/http.h:42:16: performance: Function 'receivedData()' should return member 'm_receivedData' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloud/src/AsyncResult.cpp:39:48: performance: Function parameter 'url' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:48:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleteLater [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:82:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HttpStatusCodeAttribute [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:123:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExcludeUserInputEvents [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/services_nongenerated.cpp:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_url [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:94:49: style:inconclusive: Function 'onSslErrors' argument 1 names different: declaration 'l' definition 'errors'. [funcArgNamesDifferent] qevercloud_3.0.3+ds/QEverCloud/src/http.h:51:39: note: Function 'onSslErrors' argument 1 names different: declaration 'l' definition 'errors'. qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:94:49: note: Function 'onSslErrors' argument 1 names different: declaration 'l' definition 'errors'. qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:96:13: style: Local variable 'errorText' shadows outer function [shadowFunction] qevercloud_3.0.3+ds/QEverCloud/src/http.h:41:13: note: Shadowed declaration qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:96:13: note: Shadow variable qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:94:49: performance: Function parameter 'errors' should be passed by const reference. However it seems that 'onSslErrors' is a callback function. [passedByValueCallback] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:56:120: note: Function pointer used here. qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:94:49: note: Function parameter 'errors' should be passed by const reference. However it seems that 'onSslErrors' is a callback function. qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:106:37: performance: Function parameter 'errorText' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:116:38: performance: Function parameter 'postData' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:152:32: performance: Function parameter 'url' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/http.cpp:152:48: performance: Function parameter 'postData' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:126:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:238:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:302:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowContextHelpButtonHint [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:324:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:27:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_size [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_host [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_host [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_shardId [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_authenticationToken [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_size [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thumbnail.cpp:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_imageType [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:34:41: style: Obsolete function 'qrand' called. It is recommended to use 'QRandomGenerator' instead. [prohibitedqrandCalled] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:68:5: style: Class 'EvernoteOAuthWebViewPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:104:52: style:inconclusive: Function 'setError' argument 1 names different: declaration 'error' definition 'errorText'. [funcArgNamesDifferent] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:82:27: note: Function 'setError' argument 1 names different: declaration 'error' definition 'errorText'. qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:104:52: note: Function 'setError' argument 1 names different: declaration 'error' definition 'errorText'. qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:224:18: style: Local variable 'url' shadows outer argument [shadowArgument] qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:209:61: note: Shadowed declaration qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:224:18: note: Shadow variable qevercloud_3.0.3+ds/QEverCloud/src/oauth.cpp:104:52: performance: Function parameter 'errorText' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:15:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:34:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable From [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:233:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_iec559 [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:455:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_iec559 [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_type [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_error [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_error [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:118:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_error [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:140:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNKNOWN [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:356:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parameter [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:362:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_errorCode [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:370:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rateLimitDuration [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:384:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_errorCode [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:399:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_errorCode [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:419:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_identifier [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:428:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_type [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:456:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTH_EXPIRED [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:479:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rateLimitDuration [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:486:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rateLimitDuration [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/exceptions.cpp:498:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_errorCode [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TERM_PAREN_OPEN [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.h:36:27: style:inconclusive: Either there is a missing 'override', or the member function 'Lexer::terminals' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:173:17: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::files' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:174:22: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::namespaces' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:175:20: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::includes' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:176:27: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::typedefs' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:177:22: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::structures' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:178:24: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::enumerations' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:179:22: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::exceptions' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:180:20: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::services' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:181:21: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::constants' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:182:22: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::unions' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:184:10: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::isError' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:185:13: style:inconclusive: Either there is a missing 'override', or the member function 'Parser::errorMessage' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.h:36:27: performance: Function 'terminals()' should return member 'terminals_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:173:17: performance: Function 'files()' should return member 'files_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:174:22: performance: Function 'namespaces()' should return member 'namespaces_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:175:20: performance: Function 'includes()' should return member 'includes_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:176:27: performance: Function 'typedefs()' should return member 'typedefs_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:177:22: performance: Function 'structures()' should return member 'structures_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:178:24: performance: Function 'enumerations()' should return member 'enumerations_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:179:22: performance: Function 'exceptions()' should return member 'exceptions_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:180:20: performance: Function 'services()' should return member 'services_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:181:21: performance: Function 'constants()' should return member 'constants_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:182:22: performance: Function 'unions()' should return member 'unions_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:185:13: performance: Function 'errorMessage()' should return member 'errorMessage_' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:229:13: style: Local variable 'pos' shadows outer variable [shadowVariable] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:214:9: note: Shadowed declaration qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:229:13: note: Shadow variable qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:22:26: performance: Function parameter 'file' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.h:187:31: performance: Function parameter 'errorMessage' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:122:33: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:122:74: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:132:35: performance: Function parameter 'scope' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:132:50: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:141:58: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:141:106: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:152:33: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:160:35: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:160:54: performance: Function parameter 'fields' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:160:70: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:170:31: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:170:50: performance: Function parameter 'fields' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:179:35: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:179:54: performance: Function parameter 'fields' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:179:70: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:189:33: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:189:47: performance: Function parameter 'extends' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:189:80: performance: Function parameter 'functions' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:189:99: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:200:37: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:200:75: performance: Function parameter 'values' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Parser.cpp:200:91: performance: Function parameter 'docComment' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:190:13: style:inconclusive: Either there is a missing 'override', or the member function 'Lexer::isNextChar' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.h:44:10: note: Either there is a missing 'override', or the member function 'Lexer::isNextChar' can be const. qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:190:13: note: Either there is a missing 'override', or the member function 'Lexer::isNextChar' can be const. qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:196:13: style:inconclusive: Either there is a missing 'override', or the member function 'Lexer::isNextNextChar' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.h:45:10: note: Either there is a missing 'override', or the member function 'Lexer::isNextNextChar' can be const. qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:196:13: note: Either there is a missing 'override', or the member function 'Lexer::isNextNextChar' can be const. qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:190:48: performance: Function parameter 'text' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Lexer.cpp:196:52: performance: Function parameter 'text' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/main.cpp:24:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:121:16: style:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::buffer' can be const. [functionConst] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:144:13: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeMessageEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:146:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeStructBegin' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:152:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeStructEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:163:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeFieldEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:175:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeMapEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:185:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeListEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:192:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferWriter::writeSetEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:334:13: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readMessageEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:336:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readStructBegin' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:337:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readStructEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:355:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readFieldEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:377:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readMapEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:397:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readListEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:399:20: performance:inconclusive: Technically the member function 'qevercloud::ThriftBinaryBufferReader::readSetEnd' can be static (but you may consider moving to unnamed namespace). [functionStatic] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:288:5: style: Class 'ThriftBinaryBufferReader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:121:16: performance: Function 'buffer()' should return member 'm_buf' by const reference. [returnByReference] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:256:19: style: C-style pointer casting [cstyleCast] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:405:18: style: C-style pointer casting [cstyleCast] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:413:17: style: C-style pointer casting [cstyleCast] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:123:39: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:146:45: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:154:44: performance: Function parameter 'name' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:51:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:110:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:126:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:148:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:597:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:696:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:766:108: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:841:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:1223:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:713:21: style: Local variable 'writeMethod' shadows outer variable [shadowVariable] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:704:17: note: Shadowed declaration qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:713:21: note: Shadow variable qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:726:21: style: Local variable 'writeMethod' shadows outer variable [shadowVariable] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:704:17: note: Shadowed declaration qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:726:21: note: Shadow variable qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:26:30: performance: Function parameter 's' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:38:30: performance: Function parameter 's' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:47:51: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:48:36: performance: Function parameter 'additionalPreIncludes' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:49:36: performance: Function parameter 'additionalPostIncludes' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:108:51: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:108:73: performance: Function parameter 'extraContent' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:124:48: performance: Function parameter 'headerFileName' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:124:76: performance: Function parameter 'moreIncludes' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:593:49: performance: Function parameter 'outPath' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:687:82: performance: Function parameter 'identPrefix' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:687:103: performance: Function parameter 'fieldPrefix' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:763:72: performance: Function parameter 'identPrefix' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:763:93: performance: Function parameter 'fieldParent' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:837:45: performance: Function parameter 'outPath' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:1006:29: performance: Range variable 'line' should be declared as const reference. [iterateByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:1217:48: performance: Function parameter 'outPath' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:1591:47: performance: Function parameter 'outPath' should be passed by const reference. [passedByValue] qevercloud_3.0.3+ds/QEverCloudGenerator/thrift_parser/Generator.cpp:30:32: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] diff: 2.18.0 qevercloud_3.0.3+ds/QEverCloud/src/thrift.h:338:45: style: Parameter 'name' can be declared as reference to const [constParameterReference] DONE