2024-04-23 23:33 ftp://ftp.de.debian.org/debian/pool/main/c/chessx/chessx_1.4.6.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 1376 1376 elapsed-time: 84.9 83.8 head-timing-info: old-timing-info: head results: chessx-1.4.6/src/database/bitboard.h:188:13: performance:inconclusive: Technically the member function 'BitBoard::knightAttacksFrom' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/bitboard.h:402:26: note: Technically the member function 'BitBoard::knightAttacksFrom' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:188:13: note: Technically the member function 'BitBoard::knightAttacksFrom' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:196:13: performance:inconclusive: Technically the member function 'BitBoard::kingAttacksFrom' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/bitboard.h:424:26: note: Technically the member function 'BitBoard::kingAttacksFrom' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:196:13: note: Technically the member function 'BitBoard::kingAttacksFrom' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/board.h:47:10: warning: The class 'Board' defines member function with name 'setStandardPosition' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:59:10: note: Parent function 'BitBoard::setStandardPosition' chessx-1.4.6/src/database/board.h:47:10: note: Derived function 'Board::setStandardPosition' chessx-1.4.6/src/database/board.h:50:10: warning: The class 'Board' defines member function with name 'fromFen' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:69:10: note: Parent function 'BitBoard::fromFen' chessx-1.4.6/src/database/board.h:50:10: note: Derived function 'Board::fromFen' chessx-1.4.6/src/database/board.h:53:10: warning: The class 'Board' defines member function with name 'from64Char' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:75:10: note: Parent function 'BitBoard::from64Char' chessx-1.4.6/src/database/board.h:53:10: note: Derived function 'Board::from64Char' chessx-1.4.6/src/database/board.h:56:10: warning: The class 'Board' defines member function with name 'clear' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:55:10: note: Parent function 'BitBoard::clear' chessx-1.4.6/src/database/board.h:56:10: note: Derived function 'Board::clear' chessx-1.4.6/src/database/board.h:62:10: warning: The class 'Board' defines member function with name 'swapToMove' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:507:23: note: Parent function 'BitBoard::swapToMove' chessx-1.4.6/src/database/board.h:62:10: note: Derived function 'Board::swapToMove' chessx-1.4.6/src/database/board.h:65:10: warning: The class 'Board' defines member function with name 'setAt' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:61:10: note: Parent function 'BitBoard::setAt' chessx-1.4.6/src/database/board.h:65:10: note: Derived function 'Board::setAt' chessx-1.4.6/src/database/board.h:71:17: warning: The class 'Board' defines member function with name 'doMove' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:48:10: note: Parent function 'BitBoard::doMove' chessx-1.4.6/src/database/board.h:71:17: note: Derived function 'Board::doMove' chessx-1.4.6/src/database/board.h:76:17: warning: The class 'Board' defines member function with name 'undoMove' also defined in its parent class 'BitBoard'. [duplInheritedMember] chessx-1.4.6/src/database/bitboard.h:50:10: note: Parent function 'BitBoard::undoMove' chessx-1.4.6/src/database/board.h:76:17: note: Derived function 'Board::undoMove' chessx-1.4.6/src/database/board.h:42:5: style: Class 'Board' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/database/bitboard.h:363:19: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] chessx-1.4.6/src/database/bitboard.h:359:17: note: outer condition: square!=stop chessx-1.4.6/src/database/bitboard.h:363:19: note: identical inner condition: square!=stop chessx-1.4.6/src/database/analysis.cpp:200:13: style: Local variable 'score' shadows outer function [shadowFunction] chessx-1.4.6/src/database/analysis.h:39:9: note: Shadowed declaration chessx-1.4.6/src/database/analysis.cpp:200:13: note: Shadow variable chessx-1.4.6/src/database/move.h:309:50: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] chessx-1.4.6/src/database/move.h:319:36: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] chessx-1.4.6/src/database/move.h:324:49: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] chessx-1.4.6/src/database/move.h:129:43: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] chessx-1.4.6/src/database/move.h:129:38: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] chessx-1.4.6/src/database/bitboard.cpp:2028:23: warning: Either the condition 'fromSquare==InvalidSquare' is redundant or the array 'm_piece[64]' is accessed at index 255, which is out of bounds. [arrayIndexOutOfBoundsCond] chessx-1.4.6/src/database/bitboard.cpp:1974:19: note: Assuming that condition 'fromSquare==InvalidSquare' is not redundant chessx-1.4.6/src/database/bitboard.cpp:2028:23: note: Array index out of bounds chessx-1.4.6/src/database/bitboard.cpp:2497:23: error: Array 'bb_Mask[64]' accessed at index 255, which is out of bounds. [arrayIndexOutOfBounds] chessx-1.4.6/src/database/bitboard.cpp:2492:16: note: Assignment 'x=InvalidSquare', assigned value is 255 chessx-1.4.6/src/database/bitboard.cpp:2493:20: note: Assuming condition is false chessx-1.4.6/src/database/bitboard.cpp:2497:23: note: Array index out of bounds chessx-1.4.6/src/database/move.h:171:10: style: Unused private function: 'Move::setTo' [unusedPrivateFunction] chessx-1.4.6/src/database/move.h:185:10: style: Unused private function: 'Move::setCheck' [unusedPrivateFunction] chessx-1.4.6/src/database/move.h:187:10: style: Unused private function: 'Move::setMate' [unusedPrivateFunction] chessx-1.4.6/src/database/bitboard.h:175:10: style: Unused private function: 'BitBoard::isKingOnRow' [unusedPrivateFunction] chessx-1.4.6/src/database/bitboard.h:172:18: performance:inconclusive: Technically the member function 'BitBoard::countSetBits' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/bitboard.cpp:1338:24: note: Technically the member function 'BitBoard::countSetBits' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:172:18: note: Technically the member function 'BitBoard::countSetBits' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:226:12: performance:inconclusive: Technically the member function 'BitBoard::CastlingKingTarget' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/bitboard.cpp:2538:18: note: Technically the member function 'BitBoard::CastlingKingTarget' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:226:12: note: Technically the member function 'BitBoard::CastlingKingTarget' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:227:12: performance:inconclusive: Technically the member function 'BitBoard::CastlingRookTarget' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/bitboard.cpp:2545:18: note: Technically the member function 'BitBoard::CastlingRookTarget' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.h:227:12: note: Technically the member function 'BitBoard::CastlingRookTarget' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/bitboard.cpp:810:5: style: Class 'SaneString' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/database/bitboard.cpp:2767:19: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] chessx-1.4.6/src/database/bitboard.cpp:2761:17: note: outer condition: square!=to chessx-1.4.6/src/database/bitboard.cpp:2767:19: note: identical inner condition: square!=to chessx-1.4.6/src/database/bitboard.cpp:2784:19: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] chessx-1.4.6/src/database/bitboard.cpp:2778:17: note: outer condition: square!=rook_to chessx-1.4.6/src/database/bitboard.cpp:2784:19: note: identical inner condition: square!=rook_to chessx-1.4.6/src/database/bitboard.cpp:1773:13: style: The scope of the variable 'match' can be reduced. [variableScope] chessx-1.4.6/src/database/bitboard.cpp:2048:18: style: The scope of the variable 'action' can be reduced. [variableScope] chessx-1.4.6/src/database/bitboard.cpp:2285:18: style: The scope of the variable 'action' can be reduced. [variableScope] chessx-1.4.6/src/database/bitboard.cpp:1171:25: style: Checking if unsigned expression 'm_moveNumber' is less than zero. [unsignedLessThanZero] chessx-1.4.6/src/database/bitboard.cpp:3055:41: style: Checking if unsigned expression 'm_moveNumber' is less than zero. [unsignedLessThanZero] chessx-1.4.6/src/database/bitboard.cpp:392:39: style:inconclusive: Function 'isMovable' argument 1 names different: declaration 's' definition 'from'. [funcArgNamesDifferent] chessx-1.4.6/src/database/bitboard.h:92:33: note: Function 'isMovable' argument 1 names different: declaration 's' definition 'from'. chessx-1.4.6/src/database/bitboard.cpp:392:39: note: Function 'isMovable' argument 1 names different: declaration 's' definition 'from'. chessx-1.4.6/src/database/bitboard.cpp:821:43: style:inconclusive: Function 'fromGoodFen' argument 1 names different: declaration 'fen' definition 'qfen'. [funcArgNamesDifferent] chessx-1.4.6/src/database/bitboard.h:223:37: note: Function 'fromGoodFen' argument 1 names different: declaration 'fen' definition 'qfen'. chessx-1.4.6/src/database/bitboard.cpp:821:43: note: Function 'fromGoodFen' argument 1 names different: declaration 'fen' definition 'qfen'. chessx-1.4.6/src/database/bitboard.cpp:1349:36: style:inconclusive: Function 'fromChess960pos' argument 1 names different: declaration 'value' definition 'i'. [funcArgNamesDifferent] chessx-1.4.6/src/database/bitboard.h:148:30: note: Function 'fromChess960pos' argument 1 names different: declaration 'value' definition 'i'. chessx-1.4.6/src/database/bitboard.cpp:1349:36: note: Function 'fromChess960pos' argument 1 names different: declaration 'value' definition 'i'. chessx-1.4.6/src/database/bitboard.cpp:967:13: style: Local variable 'i' shadows outer variable [shadowVariable] chessx-1.4.6/src/database/bitboard.cpp:824:9: note: Shadowed declaration chessx-1.4.6/src/database/bitboard.cpp:967:13: note: Shadow variable chessx-1.4.6/src/database/bitboard.cpp:2593:10: style: Local variable 'nullMove' shadows outer function [shadowFunction] chessx-1.4.6/src/database/bitboard.h:87:10: note: Shadowed declaration chessx-1.4.6/src/database/bitboard.cpp:2593:10: note: Shadow variable chessx-1.4.6/src/database/bitboard.cpp:3079:13: style: Local variable 'toMove' shadows outer function [shadowFunction] chessx-1.4.6/src/database/bitboard.h:104:11: note: Shadowed declaration chessx-1.4.6/src/database/bitboard.cpp:3079:13: note: Shadow variable chessx-1.4.6/src/database/bitboard.cpp:1286:10: style: Variable 'testRequired' can be declared as const array [constVariable] chessx-1.4.6/src/database/bitboard.cpp:1423:9: style: Variable 'n0s' can be declared as const array [constVariable] chessx-1.4.6/src/database/bitboard.cpp:1413:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] chessx-1.4.6/src/database/board.cpp:267:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/board.cpp:184:35: warning: Either the condition 'p chessx-1.4.6/src/database/polyglotdatabase.cpp:352:37: note: Assuming condition is false chessx-1.4.6/src/database/polyglotdatabase.cpp:356:12: note: Uninitialized variable: r chessx-1.4.6/src/database/positionsearch.h:29:17: style: The function 'matches' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/search.h:39:17: note: Virtual function in base class chessx-1.4.6/src/database/positionsearch.h:29:17: note: Function in derived class chessx-1.4.6/src/database/query.h:86:10: style:inconclusive: Technically the member function 'Query::internalCheck' can be const. [functionConst] chessx-1.4.6/src/database/query.cpp:345:13: note: Technically the member function 'Query::internalCheck' can be const. chessx-1.4.6/src/database/query.h:86:10: note: Technically the member function 'Query::internalCheck' can be const. chessx-1.4.6/src/database/query.cpp:182:28: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/database/result.cpp:28:33: performance: Function parameter 'res' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/settings.cpp:63:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WindowMaximized [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:191:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DataLocation [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:260:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DocumentsLocation [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:321:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:332:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:403:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Shadow [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:549:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TempLocation [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/settings.cpp:27:11: warning: Member variable 'Settings::LayoutFlags' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/database/settings.cpp:260:13: style: Local variable 'dataPath' shadows outer function [shadowFunction] chessx-1.4.6/src/database/settings.h:48:13: note: Shadowed declaration chessx-1.4.6/src/database/settings.cpp:260:13: note: Shadow variable chessx-1.4.6/src/database/settings.cpp:520:17: style: Local variable 'list' shadows outer function [shadowFunction] chessx-1.4.6/src/database/settings.h:68:10: note: Shadowed declaration chessx-1.4.6/src/database/settings.cpp:520:17: note: Shadow variable chessx-1.4.6/src/database/settings.cpp:282:55: performance: Function parameter 'list' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/settings.cpp:462:40: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/settings.cpp:482:44: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/settings.cpp:537:5: performance: Range variable 'dir' should be declared as const reference. [iterateByValue] chessx-1.4.6/src/database/spellchecker.cpp:30:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/spellchecker.cpp:90:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/spellchecker.cpp:133:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/spellchecker.cpp:413:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/spellchecker.h:68:10: style:inconclusive: Technically the member function 'Spellchecker::save' can be const. [functionConst] chessx-1.4.6/src/database/spellchecker.cpp:78:20: note: Technically the member function 'Spellchecker::save' can be const. chessx-1.4.6/src/database/spellchecker.h:68:10: note: Technically the member function 'Spellchecker::save' can be const. chessx-1.4.6/src/database/spellchecker.h:105:13: performance:inconclusive: Technically the member function 'Spellchecker::standardise' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/database/spellchecker.cpp:400:23: note: Technically the member function 'Spellchecker::standardise' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/spellchecker.h:105:13: note: Technically the member function 'Spellchecker::standardise' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/database/spellchecker.cpp:40:25: style: Expression '(X & 0xffffff) != 0xcd5cbd00' is always true. [comparisonError] chessx-1.4.6/src/database/spellchecker.cpp:309:13: style: Local variable 'correct' shadows outer function [shadowFunction] chessx-1.4.6/src/database/spellchecker.h:79:13: note: Shadowed declaration chessx-1.4.6/src/database/spellchecker.cpp:309:13: note: Shadow variable chessx-1.4.6/src/database/spellchecker.cpp:237:42: performance: Function parameter 'incorrect' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/spellchecker.cpp:160:66: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chessx-1.4.6/src/database/spellchecker.cpp:171:65: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chessx-1.4.6/src/database/spellchecker.cpp:178:66: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chessx-1.4.6/src/database/spellchecker.cpp:226:68: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] chessx-1.4.6/src/database/streamdatabase.h:19:18: style: The function 'hasIndexFile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/pgndatabase.h:99:10: note: Virtual function in base class chessx-1.4.6/src/database/streamdatabase.h:19:18: note: Function in derived class chessx-1.4.6/src/database/streamdatabase.h:20:18: style: The function 'parseFile' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/pgndatabase.h:78:18: note: Virtual function in base class chessx-1.4.6/src/database/streamdatabase.h:20:18: note: Function in derived class chessx-1.4.6/src/database/tablebase.cpp:119:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/tablebase.h:63:10: style: The function 'getBestMove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/tablebase.h:39:18: note: Virtual function in base class chessx-1.4.6/src/database/tablebase.h:63:10: note: Function in derived class chessx-1.4.6/src/database/tablebase.h:64:10: style: The function 'abortLookup' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/tablebase.h:41:18: note: Virtual function in base class chessx-1.4.6/src/database/tablebase.h:64:10: note: Function in derived class chessx-1.4.6/src/database/tablebase.cpp:125:17: performance: Range variable 'tbMove' should be declared as const reference. [iterateByValue] chessx-1.4.6/src/database/tags.cpp:12:28: performance: Function parameter 'tag' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/tagsearch.cpp:19:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/tagsearch.cpp:39:5: performance: Variable 'm_matches' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] chessx-1.4.6/src/database/tagsearch.cpp:44:5: performance: Variable 'm_matches' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] chessx-1.4.6/src/database/tagsearch.h:26:17: style: The function 'matches' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/database/search.h:39:17: note: Virtual function in base class chessx-1.4.6/src/database/tagsearch.h:26:17: note: Function in derived class chessx-1.4.6/src/database/tagsearch.cpp:37:77: style:inconclusive: Function 'TagSearch' argument 3 names different: declaration 'value' definition 'minValue'. [funcArgNamesDifferent] chessx-1.4.6/src/database/tagsearch.h:22:70: note: Function 'TagSearch' argument 3 names different: declaration 'value' definition 'minValue'. chessx-1.4.6/src/database/tagsearch.cpp:37:77: note: Function 'TagSearch' argument 3 names different: declaration 'value' definition 'minValue'. chessx-1.4.6/src/database/telnetclient.cpp:28:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LowDelayOption [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:40:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:115:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:199:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StandardOutput [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:218:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnconnectedState [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:237:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConnectedState [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.cpp:287:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UnconnectedState [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/telnetclient.h:27:13: performance: Function 'getGuestName()' should return member 'guestName' by const reference. [returnByReference] chessx-1.4.6/src/database/telnetclient.cpp:48:48: performance: Function parameter 'bytes' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:186:73: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:186:87: performance: Function parameter 'passwd' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:216:71: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:216:85: performance: Function parameter 'passwd' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:272:71: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:272:85: performance: Function parameter 'passwd' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/telnetclient.cpp:204:25: style: Variable 'command' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/database/threadedguess.cpp:56:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/threadedguess.cpp:37:37: performance: Function parameter 'b' should be passed by const reference. [passedByValue] chessx-1.4.6/src/database/tristatetree.h:71:11: style:inconclusive: Technically the member function 'TriStateTree::update' can be const. [functionConst] chessx-1.4.6/src/database/tristatetree.cpp:253:35: note: Technically the member function 'TriStateTree::update' can be const. chessx-1.4.6/src/database/tristatetree.h:71:11: note: Technically the member function 'TriStateTree::update' can be const. chessx-1.4.6/src/database/uciengine.cpp:148:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/uciengine.cpp:237:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SectionSkipEmpty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/uciengine.cpp:261:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SectionSkipEmpty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/uciengine.cpp:405:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/uciengine.cpp:263:13: style: The scope of the variable 'name' can be reduced. [variableScope] chessx-1.4.6/src/database/uciengine.cpp:415:5: performance: Range variable 'token' should be declared as const reference. [iterateByValue] chessx-1.4.6/src/database/uciengine.cpp:183:42: style: Variable 'dataSpec' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/database/uciengine.cpp:540:19: style: Variable 'error' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/database/wbengine.cpp:236:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SectionSkipEmpty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/database/wbengine.cpp:145:9: style: The scope of the variable 'equalsIndex' can be reduced. [variableScope] chessx-1.4.6/src/dialogs/aboutdlg.cpp:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COPYRIGHT_DATE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/actiondialog.cpp:32:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Reset [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/actiondialog.cpp:60:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UniqueConnection [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/actiondialog.cpp:119:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PortableText [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/actiondialog.cpp:145:31: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/boardsearchdialog.cpp:22:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/commentdialog.cpp:35:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Egt [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/commentdialog.cpp:61:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Egt [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/commentdialog.h:16:5: style: Class 'CommentDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/dialogs/copydialog.h:30:5: style: Class 'CopyDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/dialogs/copydialog.cpp:65:41: performance: Function parameter 'title' should be passed by const reference. [passedByValue] chessx-1.4.6/src/dialogs/dlgsavebook.cpp:28:18: style: Variable 'in' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/dialogs/preferences.cpp:52:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:127:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShowDirsOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:148:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShowDirsOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:203:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:235:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:258:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:296:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:365:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.cpp:407:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/preferences.h:34:5: style: Class 'PreferencesDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/dialogs/preferences.cpp:305:8: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/dialogs/preferences.cpp:309:13: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/dialogs/preferences.cpp:313:13: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/dialogs/preferences.cpp:317:13: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/dialogs/preferences.cpp:321:13: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/dialogs/preferences.cpp:244:59: style:inconclusive: Function 'slotSelectEngine' argument 1 names different: declaration 'current' definition 'currentItem'. [funcArgNamesDifferent] chessx-1.4.6/src/dialogs/preferences.h:48:44: note: Function 'slotSelectEngine' argument 1 names different: declaration 'current' definition 'currentItem'. chessx-1.4.6/src/dialogs/preferences.cpp:244:59: note: Function 'slotSelectEngine' argument 1 names different: declaration 'current' definition 'currentItem'. chessx-1.4.6/src/dialogs/preferences.cpp:244:89: style:inconclusive: Function 'slotSelectEngine' argument 2 names different: declaration 'previous' definition 'previousItem'. [funcArgNamesDifferent] chessx-1.4.6/src/dialogs/preferences.h:48:70: note: Function 'slotSelectEngine' argument 2 names different: declaration 'previous' definition 'previousItem'. chessx-1.4.6/src/dialogs/preferences.cpp:244:89: note: Function 'slotSelectEngine' argument 2 names different: declaration 'previous' definition 'previousItem'. chessx-1.4.6/src/dialogs/preferences.cpp:285:60: style:inconclusive: Function 'selectEngineFile' argument 1 names different: declaration 'path' definition 'oldpath'. [funcArgNamesDifferent] chessx-1.4.6/src/dialogs/preferences.h:97:45: note: Function 'selectEngineFile' argument 1 names different: declaration 'path' definition 'oldpath'. chessx-1.4.6/src/dialogs/preferences.cpp:285:60: note: Function 'selectEngineFile' argument 1 names different: declaration 'path' definition 'oldpath'. chessx-1.4.6/src/dialogs/preferences.cpp:52:18: style: Variable 'addEngineButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/preferences.cpp:53:18: style: Variable 'deleteEngineButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/preferences.cpp:54:18: style: Variable 'engineUpButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/preferences.cpp:55:18: style: Variable 'engineDownButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/promotiondialog.cpp:28:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/promotiondialog.cpp:48:18: style: Variable 'pButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/dialogs/quicksearch.cpp:34:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable And [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/quicksearch.h:27:5: style: Class 'QuickSearchDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/dialogs/renametagdialog.cpp:27:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Apply [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/renametagdialog.cpp:17:71: performance: Function parameter 'tagName' should be passed by const reference. [passedByValue] chessx-1.4.6/src/dialogs/savedialog.cpp:73:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/savedialog.cpp:179:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/savedialog.h:35:5: style: Class 'SaveDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/dialogs/tagdialog.cpp:56:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsEditable [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/tagdialog.cpp:75:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unchecked [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/tagdialog.cpp:108:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsEditable [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/dialogs/tagdialog.cpp:145:25: style: Local variable 'tag' shadows outer variable [shadowVariable] chessx-1.4.6/src/dialogs/tagdialog.cpp:134:21: note: Shadowed declaration chessx-1.4.6/src/dialogs/tagdialog.cpp:145:25: note: Shadow variable chessx-1.4.6/src/guess/compileeco.cpp:95:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/compileeco.cpp:194:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guess.h:14:5: warning: Member variable 'Result::from' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guess.h:14:5: warning: Member variable 'Result::to' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/movelist.h:61:38: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/position.h:250:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.h:258:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WHITE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.h:285:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLOR_CHAR [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/sqlist.h:34:5: warning: Member variable 'SquareList::Squares' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:50:5: warning: Member variable 'principalVarT::move' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:76:5: warning: Member variable 'transTableEntryT::bestMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:76:5: warning: Member variable 'transTableEntryT::depth' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:76:5: warning: Member variable 'transTableEntryT::flags' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:76:5: warning: Member variable 'transTableEntryT::sequence' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:76:5: warning: Member variable 'transTableEntryT::enpassant' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/sqlist.h:53:25: style:inconclusive: Technically the member function 'Guess::SquareList::Size' can be const. [functionConst] chessx-1.4.6/src/guess/sqlist.h:58:17: style:inconclusive: Technically the member function 'Guess::SquareList::Contains' can be const. [functionConst] chessx-1.4.6/src/guess/sqlist.h:70:13: note: Technically the member function 'Guess::SquareList::Contains' can be const. chessx-1.4.6/src/guess/sqlist.h:58:17: note: Technically the member function 'Guess::SquareList::Contains' can be const. chessx-1.4.6/src/guess/sqset.h:53:17: style:inconclusive: Technically the member function 'Guess::SquareSet::Contains' can be const. [functionConst] chessx-1.4.6/src/guess/sqset.h:95:12: note: Technically the member function 'Guess::SquareSet::Contains' can be const. chessx-1.4.6/src/guess/sqset.h:53:17: note: Technically the member function 'Guess::SquareSet::Contains' can be const. chessx-1.4.6/src/guess/position.h:326:25: style:inconclusive: Technically the member function 'Guess::Position::HashValue' can be const. [functionConst] chessx-1.4.6/src/guess/position.h:330:25: style:inconclusive: Technically the member function 'Guess::Position::PawnHashValue' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:185:17: style:inconclusive: Technically the member function 'Guess::Engine::AddKillerMove' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:371:9: note: Technically the member function 'Guess::Engine::AddKillerMove' can be const. chessx-1.4.6/src/guess/guessengine.h:185:17: note: Technically the member function 'Guess::Engine::AddKillerMove' can be const. chessx-1.4.6/src/guess/guessengine.h:186:17: style:inconclusive: Technically the member function 'Guess::Engine::IsKillerMove' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:393:9: note: Technically the member function 'Guess::Engine::IsKillerMove' can be const. chessx-1.4.6/src/guess/guessengine.h:186:17: note: Technically the member function 'Guess::Engine::IsKillerMove' can be const. chessx-1.4.6/src/guess/guessengine.h:191:16: style:inconclusive: Technically the member function 'Guess::Engine::GetHistoryValue' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:466:9: note: Technically the member function 'Guess::Engine::GetHistoryValue' can be const. chessx-1.4.6/src/guess/guessengine.h:191:16: note: Technically the member function 'Guess::Engine::GetHistoryValue' can be const. chessx-1.4.6/src/guess/guessengine.h:262:10: style:inconclusive: Technically the member function 'Guess::Engine::InPostMode' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:270:10: style:inconclusive: Technically the member function 'Guess::Engine::InXBoardMode' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:284:18: style:inconclusive: Technically the member function 'Guess::Engine::NumHashTableEntries' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:288:18: style:inconclusive: Technically the member function 'Guess::Engine::NumPawnTableEntries' can be const. [functionConst] chessx-1.4.6/src/guess/guessengine.h:306:18: style:inconclusive: Technically the member function 'Guess::Engine::GetNodeCount' can be const. [functionConst] chessx-1.4.6/src/guess/sqset.h:36:5: style: Class 'SquareSet' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/guess/guess.cpp:94:19: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guess.cpp:126:23: style: Variable 'sm' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.h:371:37: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.h:393:36: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.h:395:19: style: Variable 'killer0' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.h:401:19: style: Variable 'killer1' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.h:443:39: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.h:466:39: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/sqset.h:63:25: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 61. [shiftTooManyBitsSigned] chessx-1.4.6/src/guess/sqset.h:61:11: note: Assuming that condition 'sq<=H4' is not redundant chessx-1.4.6/src/guess/sqset.h:63:25: note: Shift chessx-1.4.6/src/guess/sqset.h:85:29: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 83. [shiftTooManyBitsSigned] chessx-1.4.6/src/guess/sqset.h:83:15: note: Assuming that condition 'sq<=H4' is not redundant chessx-1.4.6/src/guess/sqset.h:85:29: note: Shift chessx-1.4.6/src/guess/sqset.h:100:32: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 98. [shiftTooManyBitsSigned] chessx-1.4.6/src/guess/sqset.h:98:11: note: Assuming that condition 'sq<=H4' is not redundant chessx-1.4.6/src/guess/sqset.h:100:32: note: Shift chessx-1.4.6/src/guess/sqset.h:114:26: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour. See condition at line 112. [shiftTooManyBitsSigned] chessx-1.4.6/src/guess/sqset.h:112:11: note: Assuming that condition 'sq<=H4' is not redundant chessx-1.4.6/src/guess/sqset.h:114:26: note: Shift chessx-1.4.6/src/guess/guessengine.cpp:256:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:364:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PawnValue [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1002:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1341:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transTableEntryT [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1362:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pawnTableEntryT [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1428:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1565:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:1760:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PawnValue [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:2168:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:2475:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.cpp:2868:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::QNodeCount' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::NodeCount' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::IsOutOfTime' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::Ply' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::EasyMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::HardMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::InNullMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::RepStack' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::InCheck' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::KillerMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::History' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::CallbackData' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:202:5: warning: Member variable 'Engine::GameMoves' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/guessengine.h:196:10: performance:inconclusive: Technically the member function 'Guess::Engine::IsGettingMatedScore' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/guess/guessengine.cpp:1179:9: note: Technically the member function 'Guess::Engine::IsGettingMatedScore' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/guess/guessengine.h:196:10: note: Technically the member function 'Guess::Engine::IsGettingMatedScore' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/guess/guessengine.cpp:429:58: style: Condition 'materialDiff==KnightValue' is always false [knownConditionTrueFalse] chessx-1.4.6/src/guess/guessengine.cpp:1897:19: style: Redundant initialization for 'score'. The initialized value is overwritten before it is read. [redundantInitialization] chessx-1.4.6/src/guess/guessengine.cpp:1894:19: note: score is initialized chessx-1.4.6/src/guess/guessengine.cpp:1897:19: note: score is overwritten chessx-1.4.6/src/guess/guessengine.cpp:2234:19: style: Redundant initialization for 'score'. The initialized value is overwritten before it is read. [redundantInitialization] chessx-1.4.6/src/guess/guessengine.cpp:2231:19: note: score is initialized chessx-1.4.6/src/guess/guessengine.cpp:2234:19: note: score is overwritten chessx-1.4.6/src/guess/guessengine.cpp:429:41: style: Same expression on both sides of '||' because 'materialDiff==BishopValue' and 'materialDiff==KnightValue' represent the same value. [knownConditionTrueFalse] chessx-1.4.6/src/guess/position.h:33:34: note: 'BishopValue' is assigned value '300' here. chessx-1.4.6/src/guess/position.h:34:34: note: 'KnightValue' is assigned value '300' here. chessx-1.4.6/src/guess/guessengine.cpp:429:41: note: Same expression on both sides of '||' because 'materialDiff==BishopValue' and 'materialDiff==KnightValue' represent the same value. chessx-1.4.6/src/guess/guessengine.cpp:3025:14: style: Checking if unsigned expression 'depth' is less than zero. [unsignedLessThanZero] chessx-1.4.6/src/guess/guessengine.cpp:1337:44: style:inconclusive: Function 'SetHashTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/guessengine.h:282:45: note: Function 'SetHashTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. chessx-1.4.6/src/guess/guessengine.cpp:1337:44: note: Function 'SetHashTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. chessx-1.4.6/src/guess/guessengine.cpp:1358:44: style:inconclusive: Function 'SetPawnTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/guessengine.h:283:45: note: Function 'SetPawnTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. chessx-1.4.6/src/guess/guessengine.cpp:1358:44: note: Function 'SetPawnTableKilobytes' argument 1 names different: declaration 'sizeKB' definition 'size'. chessx-1.4.6/src/guess/guessengine.cpp:1673:32: style:inconclusive: Function 'SetPosition' argument 1 names different: declaration 'pos' definition 'newpos'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/guessengine.h:315:33: note: Function 'SetPosition' argument 1 names different: declaration 'pos' definition 'newpos'. chessx-1.4.6/src/guess/guessengine.cpp:1673:32: note: Function 'SetPosition' argument 1 names different: declaration 'pos' definition 'newpos'. chessx-1.4.6/src/guess/guessengine.cpp:2913:61: style:inconclusive: Function 'PrintPV' argument 3 names different: declaration 'annotation' definition 'note'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/guessengine.h:177:62: note: Function 'PrintPV' argument 3 names different: declaration 'annotation' definition 'note'. chessx-1.4.6/src/guess/guessengine.cpp:2913:61: note: Function 'PrintPV' argument 3 names different: declaration 'annotation' definition 'note'. chessx-1.4.6/src/guess/guessengine.cpp:569:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.cpp:1246:25: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.cpp:1278:19: style: Variable 'rep' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.cpp:1314:19: style: Variable 'rep' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.cpp:1406:52: style: Parameter 'tte' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1411:49: style: Parameter 'tte' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1416:54: style: Parameter 'tte' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1421:47: style: Parameter 'tte' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1426:67: style: Parameter 'bestMove' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1437:48: style: Parameter 'tte' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:1639:18: style: Variable 'board' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/guessengine.cpp:3042:37: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/guessengine.cpp:2301:33: error: Signed integer overflow for expression '-Infinity'. [integerOverflow] chessx-1.4.6/src/guess/movelist.cpp:149:5: style: Obsolete function 'qSort' called. It is recommended to use 'std::sort' instead. [prohibitedqSortCalled] chessx-1.4.6/src/guess/position.cpp:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:69:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:92:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:120:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:250:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:284:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:375:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:410:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:455:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:515:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:532:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:548:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:594:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:643:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KING [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:701:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:720:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:749:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEN_NON_CAPS [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:850:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A2 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:942:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:961:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:998:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WK [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1089:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WP [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1166:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUEEN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1208:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1240:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEN_NON_CAPS [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1540:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KING [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1701:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1880:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:1975:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEN_NON_CAPS [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2093:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WQ [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2266:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUEEN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2353:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2452:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROOK [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2506:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2573:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C_EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2594:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2642:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WP [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2676:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:2906:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:3002:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_SQUARE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:3074:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WQ [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:3116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAWN [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:3334:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.cpp:3552:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Count' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Material' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::ListPos' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::List' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::NumOnRank' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::NumOnFyle' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::NumOnLeftDiag' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::NumOnRightDiag' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::NumOnSquareColor' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Pinned' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::EPTarget' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::ToMove' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::HalfMoveClock' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::PlyCounter' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Castling' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Chess960Castling' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::CastlingRooks' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::Hash' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:146:5: warning: Member variable 'Position::PawnHash' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/guess/position.h:161:17: style:inconclusive: Technically the member function 'Guess::Position::IsStdStart' can be const. [functionConst] chessx-1.4.6/src/guess/position.cpp:1084:11: note: Technically the member function 'Guess::Position::IsStdStart' can be const. chessx-1.4.6/src/guess/position.h:161:17: note: Technically the member function 'Guess::Position::IsStdStart' can be const. chessx-1.4.6/src/guess/position.cpp:2881:40: style:inconclusive: Function 'UndoSimpleMove' argument 1 names different: declaration 'sm' definition 'm'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/position.h:398:46: note: Function 'UndoSimpleMove' argument 1 names different: declaration 'sm' definition 'm'. chessx-1.4.6/src/guess/position.cpp:2881:40: note: Function 'UndoSimpleMove' argument 1 names different: declaration 'sm' definition 'm'. chessx-1.4.6/src/guess/position.cpp:3311:36: style:inconclusive: Function 'ReadFromFEN' argument 1 names different: declaration 's' definition 'str'. [funcArgNamesDifferent] chessx-1.4.6/src/guess/position.h:407:42: note: Function 'ReadFromFEN' argument 1 names different: declaration 's' definition 'str'. chessx-1.4.6/src/guess/position.cpp:3311:36: note: Function 'ReadFromFEN' argument 1 names different: declaration 's' definition 'str'. chessx-1.4.6/src/guess/position.cpp:2344:39: style: Parameter 'sm' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/guess/position.cpp:2457:18: style: Variable 'dirPtr' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/position.cpp:1557:26: style: Variable 'tryMove' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/guess/recog.cpp:1631:14: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] chessx-1.4.6/src/guess/recog.cpp:44:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:217:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:226:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:234:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:328:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:337:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:346:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:394:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:395:14: style: Variable 'board' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:404:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:419:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:476:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:526:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:533:15: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:612:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:619:15: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:710:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:717:15: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:752:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:759:15: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:871:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:878:15: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:1631:21: style: Variable 'material' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:1632:14: style: Variable 'board' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:1641:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:1657:19: style: Variable 'sqlist' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/guess/recog.cpp:727:12: style: Variable 'wm' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/guess/recog.cpp:771:13: style: Variable 'stm' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/guess/recog.cpp:785:12: style: Variable 'wq' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/guess/recog.cpp:890:13: style: Variable 'stm' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/guess/recog.cpp:903:12: style: Variable 'wr' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/analysiswidget.cpp:453:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/analysiswidget.cpp:652:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/analysiswidget.cpp:687:5: style: Obsolete function 'qSort' called. It is recommended to use 'std::sort' instead. [prohibitedqSortCalled] chessx-1.4.6/src/gui/analysiswidget.cpp:693:9: style: Obsolete function 'qSwap' called. It is recommended to use 'std::swap' instead. [prohibitedqSwapCalled] chessx-1.4.6/src/gui/analysiswidget.h:31:5: style: Class 'AnalysisWidget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/analysiswidget.cpp:369:50: style:inconclusive: Function 'slotLinkClicked' argument 1 names different: declaration 'link' definition 'url'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/analysiswidget.h:88:38: note: Function 'slotLinkClicked' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/analysiswidget.cpp:369:50: note: Function 'slotLinkClicked' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/analysiswidget.cpp:437:52: style:inconclusive: Function 'showTablebaseMove' argument 1 names different: declaration 'move' definition 'bestMoves'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/analysiswidget.h:92:40: note: Function 'showTablebaseMove' argument 1 names different: declaration 'move' definition 'bestMoves'. chessx-1.4.6/src/gui/analysiswidget.cpp:437:52: note: Function 'showTablebaseMove' argument 1 names different: declaration 'move' definition 'bestMoves'. chessx-1.4.6/src/gui/analysiswidget.cpp:648:22: style: Local variable 'm' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/analysiswidget.cpp:640:22: note: Shadowed declaration chessx-1.4.6/src/gui/analysiswidget.cpp:648:22: note: Shadow variable chessx-1.4.6/src/gui/analysiswidget.cpp:219:50: performance: Function parameter 'files' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/analysiswidget.cpp:437:52: performance: Function parameter 'bestMoves' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/boardsetup.cpp:38:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:208:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoEPSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:356:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MidButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:383:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:402:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BlackPawn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:443:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable King [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:498:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:552:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:590:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WhiteKingside [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:618:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.cpp:668:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothTransformation [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetup.h:33:5: style: Class 'BoardSetupDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/boardview.h:42:5: style: Class 'BoardView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/boardsetup.cpp:354:44: style:inconclusive: Function 'slotSelected' argument 1 names different: declaration 's' definition 'square'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardsetup.h:96:30: note: Function 'slotSelected' argument 1 names different: declaration 's' definition 'square'. chessx-1.4.6/src/gui/boardsetup.cpp:354:44: note: Function 'slotSelected' argument 1 names different: declaration 's' definition 'square'. chessx-1.4.6/src/gui/boardsetup.cpp:368:11: style: Local variable 'board' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/boardsetup.h:41:11: note: Shadowed declaration chessx-1.4.6/src/gui/boardsetup.cpp:368:11: note: Shadow variable chessx-1.4.6/src/gui/boardsetup.cpp:178:18: style: Variable 'fenString' can be declared as reference to const [constVariableReference] chessx-1.4.6/src/gui/boardsetup.cpp:38:18: style: Variable 'pasteButton' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/boardsetup.cpp:652:27: style: Variable 'child' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/boardsetuptoolbutton.cpp:19:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Preferred [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetuptoolbutton.cpp:46:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_TrashIcon [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardsetuptoolbutton.cpp:72:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardtheme.cpp:98:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WhiteRook [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardtheme.cpp:227:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConstPieceTypes [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardtheme.cpp:242:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WhiteRook [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardtheme.cpp:298:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lightGray [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardtheme.cpp:220:39: style:inconclusive: Function 'setSize' argument 1 names different: declaration 'size' definition 'value'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardtheme.h:67:31: note: Function 'setSize' argument 1 names different: declaration 'size' definition 'value'. chessx-1.4.6/src/gui/boardtheme.cpp:220:39: note: Function 'setSize' argument 1 names different: declaration 'size' definition 'value'. chessx-1.4.6/src/gui/boardtheme.cpp:98:49: style: Argument '0*realsize' to function copy is always 0. Constant literal calculation disable/hide variable expression 'realsize'. [knownArgumentHiddenVariableExpression] chessx-1.4.6/src/gui/boardtheme.cpp:104:49: style: Argument '0*realsize' to function copy is always 0. Constant literal calculation disable/hide variable expression 'realsize'. [knownArgumentHiddenVariableExpression] chessx-1.4.6/src/gui/boardtheme.cpp:120:49: style: Argument '0*realsize' to function copy is always 0. Constant literal calculation disable/hide variable expression 'realsize'. [knownArgumentHiddenVariableExpression] chessx-1.4.6/src/gui/boardview.cpp:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StrongFocus [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:81:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Leave [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:109:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:131:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:174:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:191:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a8 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:237:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:251:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:278:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MiterJoin [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:286:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:340:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a1 [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:362:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:380:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:407:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothPixmapTransform [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:520:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:542:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:577:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:586:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable standardStartBoard [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:613:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:619:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:673:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlModifier [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:725:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ArrowCursor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:762:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:850:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1040:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1080:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1123:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1218:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SmoothPixmapTransform [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1343:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:1422:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/boardview.cpp:542:15: style: Condition 's!=InvalidSquare' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/boardview.cpp:1135:33: style: Condition '!annotation.isNull()' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/boardview.cpp:1135:27: note: Assuming that condition 'annotation.isEmpty()' is not redundant chessx-1.4.6/src/gui/boardview.cpp:1135:33: note: Condition '!annotation.isNull()' is always true chessx-1.4.6/src/gui/boardview.cpp:1153:33: style: Condition '!annotation.isNull()' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/boardview.cpp:1153:27: note: Assuming that condition 'annotation.isEmpty()' is not redundant chessx-1.4.6/src/gui/boardview.cpp:1153:33: note: Condition '!annotation.isNull()' is always true chessx-1.4.6/src/gui/boardview.cpp:964:15: style: Variable 'm_dragged' is reassigned a value before the old one has been used. [redundantAssignment] chessx-1.4.6/src/gui/boardview.cpp:900:23: note: m_dragged is assigned chessx-1.4.6/src/gui/boardview.cpp:964:15: note: m_dragged is overwritten chessx-1.4.6/src/gui/boardview.cpp:460:35: style:inconclusive: Function 'resizeBoard' argument 1 names different: declaration 'size' definition 'sz'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardview.h:161:28: note: Function 'resizeBoard' argument 1 names different: declaration 'size' definition 'sz'. chessx-1.4.6/src/gui/boardview.cpp:460:35: note: Function 'resizeBoard' argument 1 names different: declaration 'size' definition 'sz'. chessx-1.4.6/src/gui/boardview.cpp:527:46: style:inconclusive: Function 'mousePressEvent' argument 1 names different: declaration 'e' definition 'event'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardview.h:138:47: note: Function 'mousePressEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:527:46: note: Function 'mousePressEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:756:45: style:inconclusive: Function 'mouseMoveEvent' argument 1 names different: declaration 'e' definition 'event'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardview.h:140:46: note: Function 'mouseMoveEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:756:45: note: Function 'mouseMoveEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:844:48: style:inconclusive: Function 'mouseReleaseEvent' argument 1 names different: declaration 'e' definition 'event'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardview.h:142:49: note: Function 'mouseReleaseEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:844:48: note: Function 'mouseReleaseEvent' argument 1 names different: declaration 'e' definition 'event'. chessx-1.4.6/src/gui/boardview.cpp:1056:36: style:inconclusive: Function 'squareRect' argument 1 names different: declaration 's' definition 'square'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/boardview.h:163:29: note: Function 'squareRect' argument 1 names different: declaration 's' definition 'square'. chessx-1.4.6/src/gui/boardview.cpp:1056:36: note: Function 'squareRect' argument 1 names different: declaration 's' definition 'square'. chessx-1.4.6/src/gui/boardview.cpp:557:21: style: Local variable 'sm' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/boardview.cpp:544:27: note: Shadowed declaration chessx-1.4.6/src/gui/boardview.cpp:557:21: note: Shadow variable chessx-1.4.6/src/gui/boardview.cpp:863:20: style: Local variable 'from' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/boardview.cpp:852:16: note: Shadowed declaration chessx-1.4.6/src/gui/boardview.cpp:863:20: note: Shadow variable chessx-1.4.6/src/gui/boardview.cpp:1392:15: style: Local variable 'boardView' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/boardview.h:48:16: note: Shadowed declaration chessx-1.4.6/src/gui/boardview.cpp:1392:15: note: Shadow variable chessx-1.4.6/src/gui/boardview.cpp:1435:15: style: Local variable 'boardView' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/boardview.h:48:16: note: Shadowed declaration chessx-1.4.6/src/gui/boardview.cpp:1435:15: note: Shadow variable chessx-1.4.6/src/gui/boardview.cpp:1207:66: performance: Function parameter 'annotation' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/boardview.cpp:1311:65: performance: Function parameter 'annotation' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/boardview.cpp:474:24: style: Variable 'widgetCenter' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/chartwidget.cpp:56:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SolidLine [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CustomContextMenu [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:49:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:71:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:140:98: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EditPrecomment [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:236:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BeforeMove [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.cpp:306:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AddNag [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/chessbrowser.h:36:5: style: Class 'ChessBrowser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/chessbrowser.cpp:80:52: performance: Function parameter 'list' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/chessbrowser.cpp:93:50: performance: Function parameter 'hrefs' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/colorlist.cpp:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/colorlist.cpp:84:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Return [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/colorlist.cpp:96:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/colorlist.cpp:112:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/colorlist.cpp:117:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/colorlist.h:29:5: style: Class 'ColorList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/databaselist.cpp:28:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Top [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselist.cpp:81:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselist.cpp:322:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MetaModifier [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselist.cpp:366:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SP_FileIcon [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.h:23:5: style: Class 'TableView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/databaselist.h:46:17: style: The function 'minRowHeight' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/gui/tableview.h:47:17: note: Virtual function in base class chessx-1.4.6/src/gui/databaselist.h:46:17: note: Function in derived class chessx-1.4.6/src/gui/databaselist.cpp:336:71: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/databaselist.cpp:346:65: performance: Function parameter 'src' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/databaselistmodel.cpp:59:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DecorationRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselistmodel.cpp:274:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselistmodel.cpp:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsDragEnabled [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/databaselistmodel.cpp:77:22: style: The scope of the variable 'bIsCurrent' can be reduced. [variableScope] chessx-1.4.6/src/gui/databaselistmodel.cpp:447:13: style: Local variable 'index' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/databaselistmodel.h:90:25: note: Shadowed declaration chessx-1.4.6/src/gui/databaselistmodel.cpp:447:13: note: Shadow variable chessx-1.4.6/src/gui/databaselistmodel.cpp:303:57: performance: Function parameter 's' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/databaselistmodel.cpp:457:27: style: Variable 'e' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/digitalclock.cpp:15:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Filled [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/digitalclock.h:18:5: style: Class 'DigitalClock' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/digitalclock.h:20:13: performance: Function 'time()' should return member 'm_time' by const reference. [returnByReference] chessx-1.4.6/src/gui/digitalclock.cpp:84:38: performance: Function parameter 's' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ecolistwidget.cpp:77:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ecolistwidget.cpp:135:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClearAndSelect [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ecolistwidget.cpp:160:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameECO [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ecolistwidget.cpp:179:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameBlack [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptiondialog.cpp:30:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionlist.cpp:34:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoInsert [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionlist.cpp:56:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EditRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionlist.cpp:74:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionlist.cpp:101:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectItems [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionlist.h:20:5: style: Class 'EngineOptionListDelegate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/engineoptionlist.cpp:45:21: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/engineoptionlist.cpp:46:22: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/engineoptionmodel.cpp:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionmodel.cpp:149:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EditRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionmodel.cpp:160:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/engineoptionmodel.cpp:13:20: warning: Member variable 'EngineOptionModel::m_pValueMap' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/engineoptionmodel.cpp:13:20: warning: Member variable 'EngineOptionModel::m_pOptionDataList' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/engineoptionmodel.cpp:183:17: style: Variable 'list' is not assigned a value. [unassignedVariable] chessx-1.4.6/src/gui/eventlistwidget.cpp:74:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/eventlistwidget.cpp:129:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClearAndSelect [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/eventlistwidget.cpp:164:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameEvent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/eventlistwidget.cpp:83:52: style:inconclusive: Function 'eventSelected' argument 1 names different: declaration 'player' definition 'event'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/eventlistwidget.h:45:39: note: Function 'eventSelected' argument 1 names different: declaration 'player' definition 'event'. chessx-1.4.6/src/gui/eventlistwidget.cpp:83:52: note: Function 'eventSelected' argument 1 names different: declaration 'player' definition 'event'. chessx-1.4.6/src/gui/eventlistwidget.cpp:117:50: style:inconclusive: Function 'selectEvent' argument 1 names different: declaration 'player' definition 'event'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/eventlistwidget.h:34:37: note: Function 'selectEvent' argument 1 names different: declaration 'player' definition 'event'. chessx-1.4.6/src/gui/eventlistwidget.cpp:117:50: note: Function 'selectEvent' argument 1 names different: declaration 'player' definition 'event'. chessx-1.4.6/src/gui/eventlistwidget.cpp:179:23: style: Variable 'event' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/exclusiveactiongroup.cpp:27:14: style: Variable 'action' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/exclusiveactiongroup.cpp:45:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] chessx-1.4.6/src/gui/exclusiveactiongroup.cpp:57:9: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] chessx-1.4.6/src/gui/exttool.cpp:49:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StandardError [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/exttool.cpp:19:10: warning: Member variable 'ExtTool::m_extToolProcess' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ficsconsole.cpp:42:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CustomContextMenu [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:197:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable C64_COLOR_TO_MOVE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:287:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:450:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gray [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:482:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:594:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ItemIsEditable [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:693:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ficsconsole.cpp:187:9: style: Condition 'm_ficsClient' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/ficsconsole.cpp:194:48: performance: Function parameter 's' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ficsconsole.cpp:465:46: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ficsconsole.cpp:571:54: performance: Function parameter 's' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ficsconsole.cpp:504:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/ficsconsole.cpp:515:22: style: Variable 'closeFics' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/ficsconsole.cpp:517:22: style: Variable 'selectedItem' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:44:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExtendedSelection [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EnsureVisible [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:270:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:331:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:347:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameECO [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:355:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameEvent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:362:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:373:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameECO [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.cpp:503:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamelist.h:42:5: style: Class 'GameList' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/gamelist.h:72:18: style: The function 'ShowContextMenu' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/gui/tableview.h:41:18: note: Virtual function in base class chessx-1.4.6/src/gui/gamelist.h:72:18: note: Function in derived class chessx-1.4.6/src/gui/gamelist.h:73:10: style: The function 'slotReconfigure' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/gui/tableview.h:39:18: note: Virtual function in base class chessx-1.4.6/src/gui/gamelist.h:73:10: note: Function in derived class chessx-1.4.6/src/gui/gamelist.cpp:265:33: style:inconclusive: Function 'simpleSearch' argument 1 names different: declaration 'tag' definition 'tagid'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/gamelist.h:54:27: note: Function 'simpleSearch' argument 1 names different: declaration 'tag' definition 'tagid'. chessx-1.4.6/src/gui/gamelist.cpp:265:33: note: Function 'simpleSearch' argument 1 names different: declaration 'tag' definition 'tagid'. chessx-1.4.6/src/gui/gamelist.cpp:323:47: style:inconclusive: Function 'slotFilterListByPlayer' argument 1 names different: declaration 'ns' definition 's'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/gamelist.h:58:41: note: Function 'slotFilterListByPlayer' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:323:47: note: Function 'slotFilterListByPlayer' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:352:46: style:inconclusive: Function 'slotFilterListByEvent' argument 1 names different: declaration 'ns' definition 's'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/gamelist.h:60:40: note: Function 'slotFilterListByEvent' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:352:46: note: Function 'slotFilterListByEvent' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:370:44: style:inconclusive: Function 'slotFilterListByEco' argument 1 names different: declaration 'ns' definition 's'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/gamelist.h:62:38: note: Function 'slotFilterListByEco' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:370:44: note: Function 'slotFilterListByEco' argument 1 names different: declaration 'ns' definition 's'. chessx-1.4.6/src/gui/gamelist.cpp:91:14: style: Variable 'filterTag' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:93:14: style: Variable 'hide' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:95:14: style: Variable 'resizeAll' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:96:14: style: Variable 'showAll' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:98:14: style: Variable 'selectedItem' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/gamelist.cpp:466:16: style: Unused variable: gameIndexList [unusedVariable] chessx-1.4.6/src/gui/gamewindow.cpp:60:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AddNag [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamewindow.cpp:105:96: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expanding [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/gamewindow.cpp:68:5: style: Obsolete function 'qSort' called. It is recommended to use 'std::sort' instead. [prohibitedqSortCalled] chessx-1.4.6/src/gui/gamewindow.h:32:10: style: The function 'saveConfig' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/gui/toolmainwindow.h:19:18: note: Virtual function in base class chessx-1.4.6/src/gui/gamewindow.h:32:10: note: Function in derived class chessx-1.4.6/src/gui/gamewindow.h:33:10: style: The function 'slotReconfigure' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/gui/toolmainwindow.h:20:18: note: Virtual function in base class chessx-1.4.6/src/gui/gamewindow.h:33:10: note: Function in derived class chessx-1.4.6/src/gui/helpbrowser.cpp:37:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/helpbrowser.cpp:39:17: style: The scope of the variable 'str' can be reduced. [variableScope] chessx-1.4.6/src/gui/helpbrowsershell.cpp:67:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Start [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/helpbrowsershell.cpp:73:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyboardModifierMask [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/historylabel.cpp:30:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionsContextMenu [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/historylabel.cpp:37:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/historylabel.cpp:47:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LeftButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/historylabel.h:20:4: style: Class 'HistoryLabel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/historylabel.h:21:4: style: Class 'HistoryLabel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/historylabel.cpp:27:15: style: Local variable 'showHistory' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/historylabel.h:34:16: note: Shadowed declaration chessx-1.4.6/src/gui/historylabel.cpp:27:15: note: Shadow variable chessx-1.4.6/src/gui/kbaction.cpp:57:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PortableText [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/kbaction.cpp:67:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PortableText [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/kbaction.h:18:13: performance: Function 'getKey()' should return member 'm_storageKey' by const reference. [returnByReference] chessx-1.4.6/src/gui/kbaction.cpp:29:40: performance: Function parameter 'text' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/loadquery.cpp:21:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/logstream.cpp:39:115: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/main.cpp:96:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AA_DontShowIconsInMenus [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ecothread.h:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_ecoReady [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:121:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:544:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FileOpen [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:613:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Escape [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:797:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:841:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:912:132: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QueuedConnection [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:969:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mdUnzip [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1054:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1168:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AcceptSave [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1220:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Precomment [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1314:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Open [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1789:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1872:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1938:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_VERSION_NET [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1970:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:1995:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_MAJOR [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindow.cpp:2089:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURRENT_MOVE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.h:86:5: style: Class 'TextEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/mainwindow.cpp:1248:19: style: Condition 'moves>0' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/mainwindow.cpp:1235:47: note: Assuming that condition 'moves<=0' is not redundant chessx-1.4.6/src/gui/mainwindow.cpp:1248:19: note: Condition 'moves>0' is always true chessx-1.4.6/src/gui/openingtreewidget.h:78:23: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/mainwindow.cpp:525:5: style: Local variable 'database' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/mainwindow.h:88:15: note: Shadowed declaration chessx-1.4.6/src/gui/mainwindow.cpp:525:5: note: Shadow variable chessx-1.4.6/src/gui/mainwindow.cpp:744:49: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:756:57: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:892:39: performance: Function parameter 'fname' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:1099:46: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:1260:60: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:1260:137: performance: Function parameter 'image' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:1272:43: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:1912:5: performance: Range variable 's' should be declared as const reference. [iterateByValue] chessx-1.4.6/src/gui/mainwindow.cpp:2093:36: performance: Function parameter 's' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindow.cpp:972:33: style: Variable 'comment' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/mainwindowactions.cpp:97:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:156:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:322:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnimatedDocks [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:400:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:408:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:426:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Comment [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:431:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Precomment [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Valid [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:571:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AfterMove [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:576:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BeforeMove [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:584:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:593:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_MOVE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:623:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:683:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BLKCMD_EXAMINE [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:721:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:737:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:789:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Valid [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:816:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:832:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1064:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RightButton [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1170:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidSquare [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1214:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AltModifier [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1482:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CopyHtml [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1668:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Precomment [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1811:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1905:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:1988:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Draw [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2001:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Black [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2018:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2066:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2440:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Pgn [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2498:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2617:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NullOperator [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2636:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DS_Both [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2641:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DS_Tags [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2660:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2765:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DS_Both_All [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2789:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2824:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable standardStartBoard [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2897:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftModifier [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2978:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameEvent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2985:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:2994:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3094:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable standardStartBoard [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3207:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3277:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameWhite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3364:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Accepted [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3436:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable White [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3460:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3521:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3527:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3533:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3539:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoColor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/mainwindowactions.cpp:3175:9: warning: Assert statement calls a function which may have desired side effects: 'databaseInfo'. [assertWithSideEffect] chessx-1.4.6/src/gui/mainwindowactions.cpp:1962:31: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/mainwindowactions.cpp:2741:6: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/mainwindowactions.cpp:450:36: style:inconclusive: Function 'pasteFen' argument 1 names different: declaration 'errorText' definition 'msg'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:469:28: note: Function 'pasteFen' argument 1 names different: declaration 'errorText' definition 'msg'. chessx-1.4.6/src/gui/mainwindowactions.cpp:450:36: note: Function 'pasteFen' argument 1 names different: declaration 'errorText' definition 'msg'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1062:40: style:inconclusive: Function 'slotBoardClick' argument 1 names different: declaration 'square' definition 's'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:321:32: note: Function 'slotBoardClick' argument 1 names different: declaration 'square' definition 's'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1062:40: note: Function 'slotBoardClick' argument 1 names different: declaration 'square' definition 's'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1627:49: style:inconclusive: Function 'slotGetActiveGame' argument 1 names different: declaration 'game' definition 'g'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:218:41: note: Function 'slotGetActiveGame' argument 1 names different: declaration 'game' definition 'g'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1627:49: note: Function 'slotGetActiveGame' argument 1 names different: declaration 'game' definition 'g'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1640:47: style:inconclusive: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:229:39: note: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1640:47: note: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1705:50: style:inconclusive: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:231:42: note: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1705:50: note: Function 'slotGameViewLink' argument 1 names different: declaration 'link' definition 'url'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2012:55: style:inconclusive: Function 'doEngineMove' argument 2 names different: declaration 'e' definition 'matchParameter'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:601:47: note: Function 'doEngineMove' argument 2 names different: declaration 'e' definition 'matchParameter'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2012:55: note: Function 'doEngineMove' argument 2 names different: declaration 'e' definition 'matchParameter'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2753:52: style:inconclusive: Function 'slotDatabaseCopySingle' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:344:44: note: Function 'slotDatabaseCopySingle' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2753:52: note: Function 'slotDatabaseCopySingle' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2758:56: style:inconclusive: Function 'slotDatabaseFindDuplicates' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:346:48: note: Function 'slotDatabaseFindDuplicates' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. chessx-1.4.6/src/gui/mainwindowactions.cpp:2758:56: note: Function 'slotDatabaseFindDuplicates' argument 1 names different: declaration 'listGames' definition 'gameIndexList'. chessx-1.4.6/src/gui/mainwindowactions.cpp:3356:39: style:inconclusive: Function 'slotMakeBook' argument 1 names different: declaration 's' definition 'pathIn'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/mainwindow.h:372:31: note: Function 'slotMakeBook' argument 1 names different: declaration 's' definition 'pathIn'. chessx-1.4.6/src/gui/mainwindowactions.cpp:3356:39: note: Function 'slotMakeBook' argument 1 names different: declaration 's' definition 'pathIn'. chessx-1.4.6/src/gui/mainwindowactions.cpp:1029:18: style: Local variable 'm' shadows outer argument [shadowArgument] chessx-1.4.6/src/gui/mainwindowactions.cpp:825:35: note: Shadowed declaration chessx-1.4.6/src/gui/mainwindowactions.cpp:1029:18: note: Shadow variable chessx-1.4.6/src/gui/mainwindowactions.cpp:1573:9: style: Local variable 'gameIndex' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/mainwindow.h:103:9: note: Shadowed declaration chessx-1.4.6/src/gui/mainwindowactions.cpp:1573:9: note: Shadow variable chessx-1.4.6/src/gui/mainwindowactions.cpp:255:44: performance: Function parameter 'fname' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:620:53: performance: Function parameter 't' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:1568:49: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2419:57: performance: Function parameter 'indexes' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2568:63: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2644:61: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2753:52: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2758:56: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2949:48: performance: Function parameter 'name' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2960:52: performance: Function parameter 'gameIndexList' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:3391:39: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:3401:43: performance: Function parameter 'path' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/mainwindowactions.cpp:2822:24: style: Variable 'boardView' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/mainwindowactions.cpp:3148:20: style: Variable 'boardView' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/mainwindowactions.cpp:3172:20: style: Variable 'boardView' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/mainwindowactions.cpp:2266:14: style: Variable 'done' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/messagedialog.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Question [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/messagedialog.cpp:56:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Question [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/messagedialog.cpp:71:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Question [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/messagedialog.cpp:47:34: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/messagedialog.cpp:60:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/messagedialog.cpp:62:34: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/messagedialog.cpp:76:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/messagedialog.cpp:78:30: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/messagedialog.cpp:82:35: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/converter.cpp:35:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] chessx-1.4.6/src/gui/ooo/converter.cpp:325:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/converter.cpp:406:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MoveAnchor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/converter.cpp:528:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/converter.cpp:635:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/converter.cpp:693:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISODate [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/converter.cpp:59:12: warning: Member variable 'Converter::firstTime' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ooo/converter.h:33:14: performance:inconclusive: Technically the member function 'OOO::Converter::setError' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/converter.cpp:184:17: note: Technically the member function 'OOO::Converter::setError' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/converter.h:33:14: note: Technically the member function 'OOO::Converter::setError' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/converter.h:39:14: performance:inconclusive: Technically the member function 'OOO::Converter::convertTextNode' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/converter.cpp:354:17: note: Technically the member function 'OOO::Converter::convertTextNode' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/converter.h:39:14: note: Technically the member function 'OOO::Converter::convertTextNode' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/converter.h:45:14: performance:inconclusive: Technically the member function 'OOO::Converter::convertAnnotation' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/converter.cpp:677:17: note: Technically the member function 'OOO::Converter::convertAnnotation' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/converter.h:45:14: note: Technically the member function 'OOO::Converter::convertAnnotation' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/document.h:18:9: style: Class 'Document' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/ooo/formatproperty.h:99:5: style: Class 'TextFormatProperty' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/ooo/formatproperty.h:229:5: style: Class 'StyleFormatProperty' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/ooo/converter.cpp:267:17: style: Condition '!convertTextNode(cursor,childText,textFormat)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/converter.cpp:267:33: note: Calling function 'convertTextNode' returns 1 chessx-1.4.6/src/gui/ooo/converter.cpp:267:17: note: Condition '!convertTextNode(cursor,childText,textFormat)' is always false chessx-1.4.6/src/gui/ooo/converter.cpp:387:17: style: Condition '!convertTextNode(cursor,childText,textFormat)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/converter.cpp:387:33: note: Calling function 'convertTextNode' returns 1 chessx-1.4.6/src/gui/ooo/converter.cpp:387:17: note: Condition '!convertTextNode(cursor,childText,textFormat)' is always false chessx-1.4.6/src/gui/ooo/converter.cpp:407:21: style: Condition '!convertFrame(childElement)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/converter.cpp:407:34: note: Calling function 'convertFrame' returns 1 chessx-1.4.6/src/gui/ooo/converter.cpp:407:21: note: Condition '!convertFrame(childElement)' is always false chessx-1.4.6/src/gui/ooo/converter.cpp:664:17: style: Condition '!convertTextNode(cursor,childText,format)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/converter.cpp:664:33: note: Calling function 'convertTextNode' returns 1 chessx-1.4.6/src/gui/ooo/converter.cpp:664:17: note: Condition '!convertTextNode(cursor,childText,format)' is always false chessx-1.4.6/src/gui/ooo/converter.cpp:680:13: style: The scope of the variable 'creator' can be reduced. [variableScope] chessx-1.4.6/src/gui/ooo/converter.cpp:547:17: style: Local variable 'columnCounter' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/ooo/converter.cpp:490:9: note: Shadowed declaration chessx-1.4.6/src/gui/ooo/converter.cpp:547:17: note: Shadow variable chessx-1.4.6/src/gui/ooo/converter.cpp:184:34: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ooo/converter.cpp:689:21: style: Variable 'creator' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/ooo/kzip.h:117:10: style:inconclusive: Technically the member function 'KZipStream::canread' can be const. [functionConst] chessx-1.4.6/src/gui/ooo/kzip.h:123:30: style:inconclusive: Technically the member function 'KZipStream::listData' can be const. [functionConst] chessx-1.4.6/src/gui/ooo/kzip.h:88:5: style: Class 'KZipStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/ooo/document.h:23:17: performance: Function 'lastErrorString()' should return member 'mErrorString' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/document.h:25:20: performance: Function 'content()' should return member 'mContent' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/document.h:26:20: performance: Function 'meta()' should return member 'mMeta' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/document.h:27:20: performance: Function 'styles()' should return member 'mStyles' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/document.h:28:35: performance: Function 'images()' should return member 'mImages' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/kzip.h:120:17: performance: Function 'filelist()' should return member 'zip_files' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/kzip.h:123:30: performance: Function 'listData()' should return member 'corefilelist' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/kzip.h:88:30: performance: Function parameter 'odtfile' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ooo/kzip.h:152:33: performance: Function parameter 'file' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:31:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FontFamily [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:49:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LRTB [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:96:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:153:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SingleUnderline [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:193:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:324:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BlockBottomMargin [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:423:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FixedLength [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:451:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transparent [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:105:21: warning: Member variable 'TextFormatProperty::m_FontSize' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ooo/formatproperty.cpp:112:21: warning: Member variable 'TextFormatProperty::m_FontSize' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ooo/formatproperty.h:237:13: performance: Function 'parentStyleName()' should return member 'm_ParentStyleName' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/kzip.cpp:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/kzip.cpp:147:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/kzip.cpp:404:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/kzip.cpp:140:13: warning: Member variable 'KZipStream::buffer2' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ooo/kzip.cpp:140:13: warning: Member variable 'KZipStream::start_of_directory' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/ooo/kzip.h:147:20: style: Unused private function: 'KZipStream::getULLong' [unusedPrivateFunction] chessx-1.4.6/src/gui/ooo/kzip.h:146:13: performance:inconclusive: Technically the member function 'KZipStream::getULong' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/kzip.cpp:446:21: note: Technically the member function 'KZipStream::getULong' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.h:146:13: note: Technically the member function 'KZipStream::getULong' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.h:147:20: performance:inconclusive: Technically the member function 'KZipStream::getULLong' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/kzip.cpp:430:21: note: Technically the member function 'KZipStream::getULLong' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.h:147:20: note: Technically the member function 'KZipStream::getULLong' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.h:148:20: performance:inconclusive: Technically the member function 'KZipStream::getUShort' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/kzip.cpp:419:21: note: Technically the member function 'KZipStream::getUShort' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.h:148:20: note: Technically the member function 'KZipStream::getUShort' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/kzip.cpp:142:5: warning: Class 'KZipStream' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] chessx-1.4.6/src/gui/ooo/kzip.cpp:142:5: warning: Class 'KZipStream' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] chessx-1.4.6/src/gui/ooo/kzip.cpp:282:31: style: Condition 'start_of_directory==-1' is always true [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/kzip.cpp:279:31: note: Assignment 'start_of_directory=-1', assigned value is -1 chessx-1.4.6/src/gui/ooo/kzip.cpp:282:31: note: Condition 'start_of_directory==-1' is always true chessx-1.4.6/src/gui/ooo/kzip.cpp:383:9: style: Condition '!eocdFound' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/kzip.cpp:360:9: note: Assuming that condition 'eocdFound' is not redundant chessx-1.4.6/src/gui/ooo/kzip.cpp:383:9: note: Condition '!eocdFound' is always false chessx-1.4.6/src/gui/ooo/kzip.cpp:108:22: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:144:15: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:213:20: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:232:27: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:271:20: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:289:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:310:35: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:387:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:389:31: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:390:40: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/gui/ooo/kzip.cpp:210:9: style: Local variable 'start' shadows outer function [shadowFunction] chessx-1.4.6/src/gui/ooo/kzip.h:150:10: note: Shadowed declaration chessx-1.4.6/src/gui/ooo/kzip.cpp:210:9: note: Shadow variable chessx-1.4.6/src/gui/ooo/kzip.cpp:279:9: style: Local variable 'start_of_directory' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/ooo/kzip.h:132:10: note: Shadowed declaration chessx-1.4.6/src/gui/ooo/kzip.cpp:279:9: note: Shadow variable chessx-1.4.6/src/gui/ooo/kzip.cpp:140:38: performance: Function parameter 'odtfile' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ooo/kzip.cpp:400:41: performance: Function parameter 'file' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/ooo/kzip.cpp:143:18: style: Variable 'ec' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/ooo/kzip.cpp:218:25: style: Variable 'zfile' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/gui/ooo/styleinformation.h:56:13: style:inconclusive: Technically the member function 'OOO::StyleInformation::masterLayout' can be const. [functionConst] chessx-1.4.6/src/gui/ooo/styleinformation.cpp:98:27: note: Technically the member function 'OOO::StyleInformation::masterLayout' can be const. chessx-1.4.6/src/gui/ooo/styleinformation.h:56:13: note: Technically the member function 'OOO::StyleInformation::masterLayout' can be const. chessx-1.4.6/src/gui/ooo/styleinformation.h:26:13: performance: Function 'key()' should return member 'mKey' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/styleinformation.h:27:13: performance: Function 'value()' should return member 'mValue' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/styleinformation.h:28:13: performance: Function 'title()' should return member 'mTitle' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/styleinformation.h:61:27: performance: Function 'metaInformation()' should return member 'm_MetaInformation' by const reference. [returnByReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:136:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISODate [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/styleparser.cpp:320:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignCenter [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/styleparser.cpp:362:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/styleparser.cpp:428:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListDisc [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/styleparser.cpp:488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignTop [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/ooo/styleparser.h:39:10: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseDocumentCommonAttrs' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:159:19: note: Technically the member function 'OOO::StyleParser::parseDocumentCommonAttrs' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:39:10: note: Technically the member function 'OOO::StyleParser::parseDocumentCommonAttrs' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:41:10: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseStyles' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:183:19: note: Technically the member function 'OOO::StyleParser::parseStyles' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:41:10: note: Technically the member function 'OOO::StyleParser::parseStyles' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:46:29: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseParagraphProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:299:38: note: Technically the member function 'OOO::StyleParser::parseParagraphProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:46:29: note: Technically the member function 'OOO::StyleParser::parseParagraphProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:47:31: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseTableColumnProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:467:40: note: Technically the member function 'OOO::StyleParser::parseTableColumnProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:47:31: note: Technically the member function 'OOO::StyleParser::parseTableColumnProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:48:29: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseTableCellProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:477:38: note: Technically the member function 'OOO::StyleParser::parseTableCellProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:48:29: note: Technically the member function 'OOO::StyleParser::parseTableCellProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:49:24: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseTextProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:351:33: note: Technically the member function 'OOO::StyleParser::parseTextProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:49:24: note: Technically the member function 'OOO::StyleParser::parseTextProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:50:24: performance:inconclusive: Technically the member function 'OOO::StyleParser::parsePageProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:407:33: note: Technically the member function 'OOO::StyleParser::parsePageProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:50:24: note: Technically the member function 'OOO::StyleParser::parsePageProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:51:24: performance:inconclusive: Technically the member function 'OOO::StyleParser::parseListProperty' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/gui/ooo/styleparser.cpp:421:33: note: Technically the member function 'OOO::StyleParser::parseListProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.h:51:24: note: Technically the member function 'OOO::StyleParser::parseListProperty' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/gui/ooo/styleparser.cpp:56:12: style: Condition '!parseDocumentCommonAttrs(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:56:37: note: Calling function 'parseDocumentCommonAttrs' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:56:12: note: Condition '!parseDocumentCommonAttrs(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:59:12: style: Condition '!parseFontFaceDecls(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:59:31: note: Calling function 'parseFontFaceDecls' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:59:12: note: Condition '!parseFontFaceDecls(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:62:12: style: Condition '!parseStyles(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:62:24: note: Calling function 'parseStyles' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:62:12: note: Condition '!parseStyles(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:65:12: style: Condition '!parseAutomaticStyles(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:65:33: note: Calling function 'parseAutomaticStyles' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:65:12: note: Condition '!parseAutomaticStyles(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:95:12: style: Condition '!parseAutomaticStyles(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:95:33: note: Calling function 'parseAutomaticStyles' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:95:12: note: Condition '!parseAutomaticStyles(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:98:12: style: Condition '!parseAutomaticStyles(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:98:33: note: Calling function 'parseAutomaticStyles' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:98:12: note: Condition '!parseAutomaticStyles(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:101:12: style: Condition '!parseMasterStyles(element)' is always false [knownConditionTrueFalse] chessx-1.4.6/src/gui/ooo/styleparser.cpp:101:30: note: Calling function 'parseMasterStyles' returns 1 chessx-1.4.6/src/gui/ooo/styleparser.cpp:101:12: note: Condition '!parseMasterStyles(element)' is always false chessx-1.4.6/src/gui/ooo/styleparser.cpp:164:52: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:188:51: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:208:54: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:251:67: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:299:75: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:351:65: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:407:65: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:421:65: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:467:79: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/ooo/styleparser.cpp:477:75: style: Parameter 'parent' can be declared as reference to const [constParameterReference] chessx-1.4.6/src/gui/openingtreewidget.cpp:47:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DescendingOrder [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/openingtreewidget.cpp:148:55: performance: Function parameter 'files' should be passed by const reference. [passedByValue] chessx-1.4.6/src/gui/plaintextedit.cpp:18:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Return [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/plaintextedit.h:14:5: style: Class 'PlainTextEdit' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/playerlistwidget.cpp:85:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/playerlistwidget.cpp:140:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClearAndSelect [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/playerlistwidget.cpp:205:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TagNameBlack [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/qled.cpp:34:7: warning: Member variable 'QLed::id_Timer' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/gui/qled.h:36:5: style: Class 'QLed' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/gui/style.cpp:24:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.cpp:27:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectRows [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.cpp:129:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fixed [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.cpp:211:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.cpp:254:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScrollBarAlwaysOff [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/tableview.cpp:142:14: style: Variable 'hide' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/tableview.cpp:144:14: style: Variable 'resizeAll' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/tableview.cpp:145:14: style: Variable 'showAll' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/tableview.cpp:147:14: style: Variable 'copyHTML' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/tableview.cpp:148:14: style: Variable 'copyImage' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/tableview.cpp:150:14: style: Variable 'selectedItem' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/gui/textedit.cpp:98:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SansSerif [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:130:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UniqueConnection [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LowPriority [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:226:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LowPriority [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:269:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LowPriority [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:370:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TopToolBarArea [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:410:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:450:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Save [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:527:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:540:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighResolution [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:554:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighResolution [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:579:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HighResolution [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:590:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:599:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:607:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:615:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:626:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:637:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ListStyleUndefined [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:707:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:715:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignLeft [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:755:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WordUnderCursor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:779:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AlignLeft [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:820:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Shortcut [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:890:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ImageResource [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:903:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:937:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/gui/textedit.cpp:210:40: style:inconclusive: Function 'setupEditActions' argument 1 names different: declaration 'menu' definition 'xmenu'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/textedit.h:95:34: note: Function 'setupEditActions' argument 1 names different: declaration 'menu' definition 'xmenu'. chessx-1.4.6/src/gui/textedit.cpp:210:40: note: Function 'setupEditActions' argument 1 names different: declaration 'menu' definition 'xmenu'. chessx-1.4.6/src/gui/textedit.cpp:258:40: style:inconclusive: Function 'setupTextActions' argument 1 names different: declaration 'menu' definition 'xmenu'. [funcArgNamesDifferent] chessx-1.4.6/src/gui/textedit.h:96:34: note: Function 'setupTextActions' argument 1 names different: declaration 'menu' definition 'xmenu'. chessx-1.4.6/src/gui/textedit.cpp:258:40: note: Function 'setupTextActions' argument 1 names different: declaration 'menu' definition 'xmenu'. chessx-1.4.6/src/gui/textedit.cpp:574:13: style: Local variable 'fileName' shadows outer variable [shadowVariable] chessx-1.4.6/src/gui/textedit.h:160:13: note: Shadowed declaration chessx-1.4.6/src/gui/textedit.cpp:574:13: note: Shadow variable chessx-1.4.6/src/gui/toolmainwindow.cpp:17:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Widget [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/ioapi.h:40:1: debug: Failed to parse 'typedef voidpf ( * open_file_func ) OF ( ( voidpf opaque , voidpf file , int mode ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:41:1: debug: Failed to parse 'typedef uLong ( * read_file_func ) OF ( ( voidpf opaque , voidpf stream , void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:42:1: debug: Failed to parse 'typedef uLong ( * write_file_func ) OF ( ( voidpf opaque , voidpf stream , const void * buf , uLong size ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:43:1: debug: Failed to parse 'typedef uLong ( * tell_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:44:1: debug: Failed to parse 'typedef int ( * seek_file_func ) OF ( ( voidpf opaque , voidpf stream , uLong offset , int origin ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:45:1: debug: Failed to parse 'typedef int ( * close_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/ioapi.h:46:1: debug: Failed to parse 'typedef int ( * testerror_file_func ) OF ( ( voidpf opaque , voidpf stream ) ) ;'. The checking continues anyway. [simplifyTypedef] chessx-1.4.6/src/quazip/JlCompress.cpp:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/JlCompress.cpp:135:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllDirs [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/JlCompress.cpp:206:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazip.h:134:5: style: Class 'QuaZip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazip.h:137:5: style: Class 'QuaZip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipnewinfo.h:74:5: style: Struct 'QuaZipNewInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipfile.h:99:5: style: Class 'QuaZipFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipfile.h:110:5: style: Class 'QuaZipFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipfile.h:172:5: style: Class 'QuaZipFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/JlCompress.cpp:105:41: style:inconclusive: Function 'compressSubDir' argument 1 names different: declaration 'parentZip' definition 'zip'. [funcArgNamesDifferent] chessx-1.4.6/src/quazip/JlCompress.h:38:40: note: Function 'compressSubDir' argument 1 names different: declaration 'parentZip' definition 'zip'. chessx-1.4.6/src/quazip/JlCompress.cpp:105:41: note: Function 'compressSubDir' argument 1 names different: declaration 'parentZip' definition 'zip'. chessx-1.4.6/src/quazip/JlCompress.cpp:105:67: style:inconclusive: Function 'compressSubDir' argument 3 names different: declaration 'parentDir' definition 'origDir'. [funcArgNamesDifferent] chessx-1.4.6/src/quazip/JlCompress.h:38:72: note: Function 'compressSubDir' argument 3 names different: declaration 'parentDir' definition 'origDir'. chessx-1.4.6/src/quazip/JlCompress.cpp:105:67: note: Function 'compressSubDir' argument 3 names different: declaration 'parentDir' definition 'origDir'. chessx-1.4.6/src/quazip/JlCompress.cpp:38:52: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:38:70: performance: Function parameter 'fileDest' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:184:51: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:257:41: performance: Function parameter 'listFile' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:320:68: performance: Function parameter 'files' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:365:62: performance: Function parameter 'dir' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:408:41: performance: Function parameter 'fileCompressed' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:408:65: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:449:46: performance: Function parameter 'fileCompressed' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:449:89: performance: Function parameter 'dir' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/JlCompress.cpp:493:44: performance: Function parameter 'fileCompressed' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/qioapi.cpp:46:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/qioapi.cpp:83:19: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:95:19: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:104:12: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:119:34: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:122:34: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:130:13: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/qioapi.cpp:138:6: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaadler32.h:19:13: style: The function 'calculate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:38:21: note: Virtual function in base class chessx-1.4.6/src/quazip/quaadler32.h:19:13: note: Function in derived class chessx-1.4.6/src/quazip/quaadler32.h:21:10: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:41:18: note: Virtual function in base class chessx-1.4.6/src/quazip/quaadler32.h:21:10: note: Function in derived class chessx-1.4.6/src/quazip/quaadler32.h:22:10: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:46:18: note: Virtual function in base class chessx-1.4.6/src/quazip/quaadler32.h:22:10: note: Function in derived class chessx-1.4.6/src/quazip/quaadler32.h:23:13: style: The function 'value' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:51:21: note: Virtual function in base class chessx-1.4.6/src/quazip/quaadler32.h:23:13: note: Function in derived class chessx-1.4.6/src/quazip/quaadler32.cpp:17:45: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaadler32.cpp:27:35: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quacrc32.h:17:13: style: The function 'calculate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:38:21: note: Virtual function in base class chessx-1.4.6/src/quazip/quacrc32.h:17:13: note: Function in derived class chessx-1.4.6/src/quazip/quacrc32.h:19:10: style: The function 'reset' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:41:18: note: Virtual function in base class chessx-1.4.6/src/quazip/quacrc32.h:19:10: note: Function in derived class chessx-1.4.6/src/quazip/quacrc32.h:20:10: style: The function 'update' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:46:18: note: Virtual function in base class chessx-1.4.6/src/quazip/quacrc32.h:20:10: note: Function in derived class chessx-1.4.6/src/quazip/quacrc32.h:21:13: style: The function 'value' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] chessx-1.4.6/src/quazip/quachecksum32.h:51:21: note: Virtual function in base class chessx-1.4.6/src/quazip/quacrc32.h:21:13: note: Function in derived class chessx-1.4.6/src/quazip/quacrc32.cpp:17:41: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quacrc32.cpp:27:33: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quagzipfile.cpp:40:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quagzipfile.cpp:20:12: performance:inconclusive: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/quazip/quagzipfile.cpp:29:28: note: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/quazip/quagzipfile.cpp:20:12: note: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/quazip/quagzipfile.cpp:21:12: performance:inconclusive: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). [functionStatic] chessx-1.4.6/src/quazip/quagzipfile.cpp:24:28: note: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/quazip/quagzipfile.cpp:21:12: note: Technically the member function 'QuaGzipFilePrivate::open' can be static (but you may consider moving to unnamed namespace). chessx-1.4.6/src/quazip/quagzipfile.h:25:18: style: Virtual function 'close' is called from destructor '~QuaGzipFile()' at line 89. Dynamic binding is not used. [virtualCallInConstructor] chessx-1.4.6/src/quazip/quagzipfile.cpp:89:9: note: Calling close chessx-1.4.6/src/quazip/quagzipfile.h:25:18: note: close is a virtual function chessx-1.4.6/src/quazip/quagzipfile.h:16:5: style: Class 'QuaGzipFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quagzipfile.h:17:5: style: Class 'QuaGzipFile' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quagzipfile.cpp:16:12: style: Class 'QuaGzipFilePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quaziodevice.cpp:134:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quaziodevice.cpp:155:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quaziodevice.cpp:45:5: warning: Class 'QuaZIODevicePrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] chessx-1.4.6/src/quazip/quaziodevice.cpp:45:5: warning: Class 'QuaZIODevicePrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] chessx-1.4.6/src/quazip/quaziodevice.h:19:18: style: Virtual function 'close' is called from destructor '~QuaZIODevice()' at line 122. Dynamic binding is not used. [virtualCallInConstructor] chessx-1.4.6/src/quazip/quaziodevice.cpp:122:9: note: Calling close chessx-1.4.6/src/quazip/quaziodevice.h:19:18: note: close is a virtual function chessx-1.4.6/src/quazip/quaziodevice.h:15:5: style: Class 'QuaZIODevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quaziodevice.cpp:14:5: style: Class 'QuaZIODevicePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quaziodevice.cpp:195:31: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:197:32: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:203:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:204:31: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:207:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:208:31: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:260:28: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:262:29: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:267:23: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:268:29: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:304:29: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quaziodevice.cpp:309:29: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quazip.cpp:329:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseSensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazip.cpp:658:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseSensitive [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazip.h:360:13: style:inconclusive: Technically the member function 'QuaZip::getUnzFile' can be const. [functionConst] chessx-1.4.6/src/quazip/quazip.cpp:536:17: note: Technically the member function 'QuaZip::getUnzFile' can be const. chessx-1.4.6/src/quazip/quazip.h:360:13: note: Technically the member function 'QuaZip::getUnzFile' can be const. chessx-1.4.6/src/quazip/quazip.h:366:13: style:inconclusive: Technically the member function 'QuaZip::getZipFile' can be const. [functionConst] chessx-1.4.6/src/quazip/quazip.cpp:541:17: note: Technically the member function 'QuaZip::getZipFile' can be const. chessx-1.4.6/src/quazip/quazip.h:366:13: note: Technically the member function 'QuaZip::getZipFile' can be const. chessx-1.4.6/src/quazip/quazip.cpp:74:12: style: Class 'QuaZipPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazip.cpp:266:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quazip.cpp:283:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quazip.cpp:393:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quazip.cpp:447:24: style: C-style pointer casting [cstyleCast] chessx-1.4.6/src/quazip/quazip.cpp:330:20: style: The scope of the variable 'current' can be reduced. [variableScope] chessx-1.4.6/src/quazip/quazip.cpp:560:43: style: Parameter 'zip' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/quazip/quazip.cpp:568:36: style: Parameter 'zip' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/quazip/quazipdir.cpp:98:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SkipEmptyParts [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipdir.cpp:269:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocaleAware [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipdir.cpp:291:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipdir.cpp:368:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoFilter [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipdir.cpp:530:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSort [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipdir.cpp:449:9: style: Obsolete function 'qSort' called. It is recommended to use 'std::sort' instead. [prohibitedqSortCalled] chessx-1.4.6/src/quazip/quazipdir.h:45:10: style:inconclusive: Technically the member function 'QuaZipDir::operator==' can be const. [functionConst] chessx-1.4.6/src/quazip/quazipdir.cpp:51:17: note: Technically the member function 'QuaZipDir::operator==' can be const. chessx-1.4.6/src/quazip/quazipdir.h:45:10: note: Technically the member function 'QuaZipDir::operator==' can be const. chessx-1.4.6/src/quazip/quazipdir.h:136:19: style:inconclusive: Technically the member function 'QuaZipDir::filter' can be const. [functionConst] chessx-1.4.6/src/quazip/quazipdir.cpp:568:26: note: Technically the member function 'QuaZipDir::filter' can be const. chessx-1.4.6/src/quazip/quazipdir.h:136:19: note: Technically the member function 'QuaZipDir::filter' can be const. chessx-1.4.6/src/quazip/quazipdir.cpp:247:9: style:inconclusive: Technically the member function 'QuaZipDirComparator::compareStrings' can be const. [functionConst] chessx-1.4.6/src/quazip/quazipdir.cpp:266:26: note: Technically the member function 'QuaZipDirComparator::compareStrings' can be const. chessx-1.4.6/src/quazip/quazipdir.cpp:247:9: note: Technically the member function 'QuaZipDirComparator::compareStrings' can be const. chessx-1.4.6/src/quazip/quazipdir.h:41:5: style: Class 'QuaZipDir' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipdir.cpp:15:5: style: Class 'QuaZipDirPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipdir.cpp:231:12: style: Class 'QuaZipDirRestoreCurrent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipdir.cpp:249:12: style: Class 'QuaZipDirComparator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipdir.cpp:72:35: style:inconclusive: Function 'cd' argument 1 names different: declaration 'dirName' definition 'directoryName'. [funcArgNamesDifferent] chessx-1.4.6/src/quazip/quazipdir.h:75:28: note: Function 'cd' argument 1 names different: declaration 'dirName' definition 'directoryName'. chessx-1.4.6/src/quazip/quazipdir.cpp:72:35: note: Function 'cd' argument 1 names different: declaration 'dirName' definition 'directoryName'. chessx-1.4.6/src/quazip/quazipdir.cpp:495:39: style:inconclusive: Function 'exists' argument 1 names different: declaration 'fileName' definition 'filePath'. [funcArgNamesDifferent] chessx-1.4.6/src/quazip/quazipdir.h:127:32: note: Function 'exists' argument 1 names different: declaration 'fileName' definition 'filePath'. chessx-1.4.6/src/quazip/quazipdir.cpp:495:39: note: Function 'exists' argument 1 names different: declaration 'fileName' definition 'filePath'. chessx-1.4.6/src/quazip/quazipdir.cpp:79:13: style: Local variable 'dirName' shadows outer function [shadowFunction] chessx-1.4.6/src/quazip/quazipdir.h:84:13: note: Shadowed declaration chessx-1.4.6/src/quazip/quazipdir.cpp:79:13: note: Shadow variable chessx-1.4.6/src/quazip/quazipdir.cpp:98:21: style: Local variable 'path' shadows outer function [shadowFunction] chessx-1.4.6/src/quazip/quazipdir.h:149:13: note: Shadowed declaration chessx-1.4.6/src/quazip/quazipdir.cpp:98:21: note: Shadow variable chessx-1.4.6/src/quazip/quazipdir.cpp:352:50: performance: Function parameter 'nameFilters' should be passed by const reference. [passedByValue] chessx-1.4.6/src/quazip/quazipdir.cpp:180:46: style: Parameter 'zip' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/quazip/quazipfile.cpp:172:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:267:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unbuffered [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:412:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:437:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:454:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:519:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: warning: Member variable 'QuaZipFilePrivate::caseSensitivity' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: warning: Member variable 'QuaZipFilePrivate::raw' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: warning: Member variable 'QuaZipFilePrivate::writePos' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: warning: Member variable 'QuaZipFilePrivate::uncompressedSize' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: warning: Member variable 'QuaZipFilePrivate::crc' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:89:12: warning: Member variable 'QuaZipFilePrivate::caseSensitivity' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:89:12: warning: Member variable 'QuaZipFilePrivate::raw' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:89:12: warning: Member variable 'QuaZipFilePrivate::writePos' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:89:12: warning: Member variable 'QuaZipFilePrivate::uncompressedSize' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:89:12: warning: Member variable 'QuaZipFilePrivate::crc' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:108:12: warning: Member variable 'QuaZipFilePrivate::caseSensitivity' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:108:12: warning: Member variable 'QuaZipFilePrivate::raw' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:108:12: warning: Member variable 'QuaZipFilePrivate::writePos' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:108:12: warning: Member variable 'QuaZipFilePrivate::uncompressedSize' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:108:12: warning: Member variable 'QuaZipFilePrivate::crc' is not initialized in the constructor. [uninitMemberVarPrivate] chessx-1.4.6/src/quazip/quazipfile.cpp:99:9: warning: Class 'QuaZipFilePrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] chessx-1.4.6/src/quazip/quazipfile.cpp:99:9: warning: Class 'QuaZipFilePrivate' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] chessx-1.4.6/src/quazip/quazipfile.h:438:18: style: Virtual function 'close' is called from destructor '~QuaZipFile()' at line 154. Dynamic binding is not used. [virtualCallInConstructor] chessx-1.4.6/src/quazip/quazipfile.cpp:154:9: note: Calling close chessx-1.4.6/src/quazip/quazipfile.h:438:18: note: close is a virtual function chessx-1.4.6/src/quazip/quazipfile.cpp:86:12: style: Class 'QuaZipFilePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] chessx-1.4.6/src/quazip/quazipnewinfo.cpp:33:16: warning: Member variable 'QuaZipNewInfo::uncompressedSize' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/quazip/quazipnewinfo.cpp:38:16: warning: Member variable 'QuaZipNewInfo::uncompressedSize' is not initialized in the constructor. [uninitMemberVar] chessx-1.4.6/src/quazip/unzip.c:1145:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_WBITS [valueFlowBailoutIncompleteVar] chessx-1.4.6/src/quazip/unzip.c:420:25: style: Condition 'unz_copyright[0]!=' '' is always false [knownConditionTrueFalse] chessx-1.4.6/src/quazip/unzip.c:404:24: style: Parameter 'pzlib_filefunc_def' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/quazip/unzip.c:541:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/quazip/unzip.c:915:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/quazip/unzip.c:931:19: style: Parameter 'file_pos' can be declared as pointer to const [constParameterPointer] chessx-1.4.6/src/quazip/unzip.c:1418:30: style: Variable 'pfile_in_zip_read_info' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/quazip/unzip.c:1575:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] chessx-1.4.6/src/quazip/unzip.c:724:22: style: Variable 'uSeek' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/quazip/unzip.c:731:14: style: Variable 'uSeek' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/quazip/unzip.c:734:14: style: Variable 'uSeek' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/quazip/unzip.c:1124:12: style: Variable 'err' is assigned a value that is never used. [unreadVariable] chessx-1.4.6/src/quazip/zip.c:1089:12: style: Variable 'err' is reassigned a value before the old one has been used. [redundantAssignment] chessx-1.4.6/src/quazip/zip.c:1084:21: note: err is assigned chessx-1.4.6/src/quazip/zip.c:1089:12: note: err is overwritten diff: DONE