2026-05-05 13:12 ftp://ftp.de.debian.org/debian/pool/main/t/trophy/trophy_2.0.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 415 429 elapsed-time: 5.0 4.3 head-timing-info: old-timing-info: head results: trophy-2.0.4/src/casoundeffect.h:13:5: style: Class 'CASoundEffect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/cachampionshipscreen.cpp:158:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.h:48:1: style: The class 'CATrophy' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] trophy-2.0.4/src/cascreen.h:18:10: style:inconclusive: Technically the member function 'CAScreen::canceled' can be const. [functionConst] trophy-2.0.4/src/cachampionshipscreen.cpp:7:21: style:inconclusive: Either there is a missing 'override', or the member function 'RankPredicate::operator()' can be const. [functionConst] trophy-2.0.4/src/cachampionshipscreen.h:19:9: note: Either there is a missing 'override', or the member function 'RankPredicate::operator()' can be const. trophy-2.0.4/src/cachampionshipscreen.cpp:7:21: note: Either there is a missing 'override', or the member function 'RankPredicate::operator()' can be const. trophy-2.0.4/src/cagoody.h:22:10: style:inconclusive: Technically the member function 'CAGoody::isActive' can be const. [functionConst] trophy-2.0.4/src/cagoody.h:31:10: style:inconclusive: Technically the member function 'CAGoody::getX' can be const. [functionConst] trophy-2.0.4/src/cagoody.h:35:10: style:inconclusive: Technically the member function 'CAGoody::getY' can be const. [functionConst] trophy-2.0.4/src/cagoody.h:40:10: style:inconclusive: Technically the member function 'CAGoody::isUp' can be const. [functionConst] trophy-2.0.4/src/camenu.h:35:9: style:inconclusive: Technically the member function 'CAMenu::getLeft' can be const. [functionConst] trophy-2.0.4/src/camenu.h:39:9: style:inconclusive: Technically the member function 'CAMenu::getRight' can be const. [functionConst] trophy-2.0.4/src/camenu.h:43:9: style:inconclusive: Technically the member function 'CAMenu::getTop' can be const. [functionConst] trophy-2.0.4/src/camenu.h:47:9: style:inconclusive: Technically the member function 'CAMenu::getBottom' can be const. [functionConst] trophy-2.0.4/src/camenu.h:52:9: style:inconclusive: Technically the member function 'CAMenu::getWidth' can be const. [functionConst] trophy-2.0.4/src/camenu.h:56:9: style:inconclusive: Technically the member function 'CAMenu::getHeight' can be const. [functionConst] trophy-2.0.4/src/camenu.h:61:9: style:inconclusive: Technically the member function 'CAMenu::getItemHeight' can be const. [functionConst] trophy-2.0.4/src/camenu.h:65:9: style:inconclusive: Technically the member function 'CAMenu::getHeaderHeight' can be const. [functionConst] trophy-2.0.4/src/camenu.h:84:10: style:inconclusive: Technically the member function 'CAMenu::getCursor' can be const. [functionConst] trophy-2.0.4/src/camenu.h:88:10: style:inconclusive: Technically the member function 'CAMenu::getSelection' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:104:10: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::getTime' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:108:17: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::getTimeString' can be const. [functionConst] trophy-2.0.4/src/utils/hsvcolor.h:32:17: style:inconclusive: Technically the member function 'HSVColor::operator!=' can be const. [functionConst] trophy-2.0.4/src/player.h:148:12: style:inconclusive: Technically the member function 'Player::checkEdgeState' can be const. [functionConst] trophy-2.0.4/src/player.h:181:18: style:inconclusive: Technically the member function 'Player::getCurrentTrack' can be const. [functionConst] trophy-2.0.4/src/camenu.h:117:17: warning: The class 'CAMenu' defines member variable with name 'title' also defined in its parent class 'CAScreen'. [duplInheritedMember] trophy-2.0.4/src/cascreen.h:30:17: note: Parent variable 'CAScreen::title' trophy-2.0.4/src/camenu.h:117:17: note: Derived variable 'CAMenu::title' trophy-2.0.4/src/cagoody.h:13:5: style: Class 'CAGoody' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/camenu.h:18:5: style: Class 'CAMenu' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/track.h:34:5: style: Class 'Track' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/cachampionshipscreen.h:35:6: style: The destructor '~CAChampionshipScreen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/cachampionshipscreen.h:35:6: note: Destructor in derived class trophy-2.0.4/src/cachampionshipscreen.h:41:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/cachampionshipscreen.h:41:17: note: Function in derived class trophy-2.0.4/src/cachampionshipscreen.h:42:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/cachampionshipscreen.h:42:18: note: Function in derived class trophy-2.0.4/src/cartype.h:56:14: style: The function 'upgrade' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:35:22: note: Virtual function in base class trophy-2.0.4/src/cartype.h:56:14: note: Function in derived class trophy-2.0.4/src/cartype.h:57:21: style: The function 'getSurface' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:36:29: note: Virtual function in base class trophy-2.0.4/src/cartype.h:57:21: note: Function in derived class trophy-2.0.4/src/cartype.h:72:14: style: The function 'upgrade' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:35:22: note: Virtual function in base class trophy-2.0.4/src/cartype.h:72:14: note: Function in derived class trophy-2.0.4/src/cartype.h:73:21: style: The function 'getSurface' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:36:29: note: Virtual function in base class trophy-2.0.4/src/cartype.h:73:21: note: Function in derived class trophy-2.0.4/src/cartype.h:85:14: style: The function 'upgrade' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:35:22: note: Virtual function in base class trophy-2.0.4/src/cartype.h:85:14: note: Function in derived class trophy-2.0.4/src/cartype.h:86:21: style: The function 'getSurface' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cartype.h:36:29: note: Virtual function in base class trophy-2.0.4/src/cartype.h:86:21: note: Function in derived class trophy-2.0.4/src/cagoodytype.h:48:10: style: The function 'action' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cagoodytype.h:19:18: note: Virtual function in base class trophy-2.0.4/src/cagoodytype.h:48:10: note: Function in derived class trophy-2.0.4/src/caloadingscreen.h:12:6: style: The destructor '~CALoadingScreen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/caloadingscreen.h:12:6: note: Destructor in derived class trophy-2.0.4/src/caloadingscreen.h:14:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/caloadingscreen.h:14:17: note: Function in derived class trophy-2.0.4/src/caloadingscreen.h:17:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/caloadingscreen.h:17:18: note: Function in derived class trophy-2.0.4/src/camenu.h:19:6: style: The destructor '~CAMenu' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/camenu.h:19:6: note: Destructor in derived class trophy-2.0.4/src/camenu.h:21:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/camenu.h:21:17: note: Function in derived class trophy-2.0.4/src/camenu.h:22:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/camenu.h:22:18: note: Function in derived class trophy-2.0.4/src/catrophy.h:95:10: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/catrophy.h:95:10: note: Function in derived class trophy-2.0.4/src/catrophy.h:119:10: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/catrophy.h:119:10: note: Function in derived class trophy-2.0.4/src/cartype.h:30:21: performance: Function 'getName()' should return member 'm_name' by const reference. [returnByReference] trophy-2.0.4/src/catrophy.h:108:17: performance: Function 'getTimeString()' should return member 'timeString' by const reference. [returnByReference] trophy-2.0.4/src/player.h:38:17: performance: Function 'getName()' should return member 'name' by const reference. [returnByReference] trophy-2.0.4/src/cachampionshipscreen.cpp:20:132: style:inconclusive: Function 'CAChampionshipScreen' argument 6 names different: declaration 'button_easy' definition 'buttonEasy'. [funcArgNamesDifferent] trophy-2.0.4/src/cachampionshipscreen.h:34:99: note: Function 'CAChampionshipScreen' argument 6 names different: declaration 'button_easy' definition 'buttonEasy'. trophy-2.0.4/src/cachampionshipscreen.cpp:20:132: note: Function 'CAChampionshipScreen' argument 6 names different: declaration 'button_easy' definition 'buttonEasy'. trophy-2.0.4/src/cachampionshipscreen.cpp:20:156: style:inconclusive: Function 'CAChampionshipScreen' argument 7 names different: declaration 'button_medium' definition 'buttonMedium'. [funcArgNamesDifferent] trophy-2.0.4/src/cachampionshipscreen.h:34:124: note: Function 'CAChampionshipScreen' argument 7 names different: declaration 'button_medium' definition 'buttonMedium'. trophy-2.0.4/src/cachampionshipscreen.cpp:20:156: note: Function 'CAChampionshipScreen' argument 7 names different: declaration 'button_medium' definition 'buttonMedium'. trophy-2.0.4/src/cachampionshipscreen.cpp:20:182: style:inconclusive: Function 'CAChampionshipScreen' argument 8 names different: declaration 'button_hard' definition 'buttonHard'. [funcArgNamesDifferent] trophy-2.0.4/src/cachampionshipscreen.h:34:151: note: Function 'CAChampionshipScreen' argument 8 names different: declaration 'button_hard' definition 'buttonHard'. trophy-2.0.4/src/cachampionshipscreen.cpp:20:182: note: Function 'CAChampionshipScreen' argument 8 names different: declaration 'button_hard' definition 'buttonHard'. trophy-2.0.4/src/camenuitem.h:32:38: performance: Function parameter 'l' should be passed by const reference. [passedByValue] trophy-2.0.4/src/cachampionshipscreen.cpp:19:92: performance: Function parameter 'player' should be passed by const reference. [passedByValue] trophy-2.0.4/src/cachampionshipscreen.cpp:19:141: performance: Function parameter 'runningPlayer' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caconfigurekey.cpp:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ACCELERATE [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/cawidget.h:25:10: style:inconclusive: Technically the member function 'CAWidget::getLeft' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:29:10: style:inconclusive: Technically the member function 'CAWidget::getTop' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:33:10: style:inconclusive: Technically the member function 'CAWidget::getRight' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:37:10: style:inconclusive: Technically the member function 'CAWidget::getBottom' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:42:10: style:inconclusive: Technically the member function 'CAWidget::getHCenter' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:46:10: style:inconclusive: Technically the member function 'CAWidget::getVCenter' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:51:10: style:inconclusive: Technically the member function 'CAWidget::getWidth' can be const. [functionConst] trophy-2.0.4/src/cawidget.h:55:10: style:inconclusive: Technically the member function 'CAWidget::getHeight' can be const. [functionConst] trophy-2.0.4/src/guibox.h:12:5: style: Class 'GUIBox' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/caconfigurekey.h:32:5: style: Class 'CAConfigureKey' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/guibox.h:13:14: style: The destructor '~GUIBox' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:15:14: note: Virtual destructor in base class trophy-2.0.4/src/guibox.h:13:14: note: Destructor in derived class trophy-2.0.4/src/guibox.h:16:10: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:20:18: note: Virtual function in base class trophy-2.0.4/src/guibox.h:16:10: note: Function in derived class trophy-2.0.4/src/cadialog.h:17:6: style: The destructor '~CADialog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/cadialog.h:17:6: note: Destructor in derived class trophy-2.0.4/src/cadialog.h:19:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/cadialog.h:19:17: note: Function in derived class trophy-2.0.4/src/cadialog.h:20:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/cadialog.h:20:18: note: Function in derived class trophy-2.0.4/src/caconfigurekey.h:33:6: style: The destructor '~CAConfigureKey' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:17:6: note: Virtual destructor in base class trophy-2.0.4/src/caconfigurekey.h:33:6: note: Destructor in derived class trophy-2.0.4/src/caconfigurekey.h:35:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/caconfigurekey.h:35:18: note: Function in derived class trophy-2.0.4/src/caconfigurekey.h:36:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/caconfigurekey.h:36:18: note: Function in derived class trophy-2.0.4/src/humanplayer.h:16:6: style: The destructor '~HumanPlayer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:27:14: note: Virtual destructor in base class trophy-2.0.4/src/humanplayer.h:16:6: note: Destructor in derived class trophy-2.0.4/src/humanplayer.h:18:10: style: The function 'pilot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:142:18: note: Virtual function in base class trophy-2.0.4/src/humanplayer.h:18:10: note: Function in derived class trophy-2.0.4/src/humanplayer.h:26:11: style: The function 'getCheckAwayAngle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:184:19: note: Virtual function in base class trophy-2.0.4/src/humanplayer.h:26:11: note: Function in derived class trophy-2.0.4/src/cacredits.cpp:97:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/cacredits.h:16:6: style: The destructor '~CACredits' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:17:6: note: Virtual destructor in base class trophy-2.0.4/src/cacredits.h:16:6: note: Destructor in derived class trophy-2.0.4/src/cacredits.h:18:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/cacredits.h:18:18: note: Function in derived class trophy-2.0.4/src/cacredits.h:19:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/cacredits.h:19:18: note: Function in derived class trophy-2.0.4/src/cadialog.cpp:35:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caescapedialog.cpp:35:22: style:inconclusive: Technically the member function 'CAEscapeDialog::isMustQuit' can be const. [functionConst] trophy-2.0.4/src/caescapedialog.h:16:6: note: Technically the member function 'CAEscapeDialog::isMustQuit' can be const. trophy-2.0.4/src/caescapedialog.cpp:35:22: note: Technically the member function 'CAEscapeDialog::isMustQuit' can be const. trophy-2.0.4/src/cainfodialog.h:22:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/cainfodialog.h:22:18: note: Function in derived class trophy-2.0.4/src/cainfodialog.h:23:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/cainfodialog.h:23:18: note: Function in derived class trophy-2.0.4/src/caescapedialog.h:14:10: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cainfodialog.h:23:18: note: Virtual function in base class trophy-2.0.4/src/caescapedialog.h:14:10: note: Function in derived class trophy-2.0.4/src/cagoody.cpp:28:10: style:inconclusive: Technically the member function 'CAGoody::display' can be const. [functionConst] trophy-2.0.4/src/cagoody.h:17:10: note: Technically the member function 'CAGoody::display' can be const. trophy-2.0.4/src/cagoody.cpp:28:10: note: Technically the member function 'CAGoody::display' can be const. trophy-2.0.4/src/cagoody.cpp:38:35: style:inconclusive: Function 'move' argument 3 names different: declaration 'ups' definition 'up'. [funcArgNamesDifferent] trophy-2.0.4/src/cagoody.h:18:35: note: Function 'move' argument 3 names different: declaration 'ups' definition 'up'. trophy-2.0.4/src/cagoody.cpp:38:35: note: Function 'move' argument 3 names different: declaration 'ups' definition 'up'. trophy-2.0.4/src/caimagehueselector.cpp:12:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimagehueselector.cpp:39:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimagehueselector.cpp:67:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimagehueselector.cpp:129:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimagehueselector.h:26:10: style:inconclusive: Technically the member function 'CAImageHueSelector::getHue' can be const. [functionConst] trophy-2.0.4/src/caimagehueselector.cpp:53:16: warning: Class 'CAImageHueSelector' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/caimagehueselector.cpp:53:16: warning: Class 'CAImageHueSelector' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/caimagehueselector.h:15:5: style: Class 'CAImageHueSelector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/caimageview.h:42:6: style: The destructor '~CAImageView' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:15:14: note: Virtual destructor in base class trophy-2.0.4/src/caimageview.h:42:6: note: Destructor in derived class trophy-2.0.4/src/caimageview.h:50:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:20:18: note: Virtual function in base class trophy-2.0.4/src/caimageview.h:50:18: note: Function in derived class trophy-2.0.4/src/caimageview.h:53:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:21:18: note: Virtual function in base class trophy-2.0.4/src/caimageview.h:53:18: note: Function in derived class trophy-2.0.4/src/caimagehueselector.h:21:6: style: The destructor '~CAImageHueSelector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:42:6: note: Virtual destructor in base class trophy-2.0.4/src/caimagehueselector.h:21:6: note: Destructor in derived class trophy-2.0.4/src/caimagehueselector.h:23:10: style: The function 'setImageSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:44:18: note: Virtual function in base class trophy-2.0.4/src/caimagehueselector.h:23:10: note: Function in derived class trophy-2.0.4/src/caimagehueselector.h:28:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:50:18: note: Virtual function in base class trophy-2.0.4/src/caimagehueselector.h:28:18: note: Function in derived class trophy-2.0.4/src/caimagehueselector.h:29:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:53:18: note: Virtual function in base class trophy-2.0.4/src/caimagehueselector.h:29:18: note: Function in derived class trophy-2.0.4/src/caimagehueselector.cpp:10:51: style:inconclusive: Function 'CAImageHueSelector' argument 1 names different: declaration 'vertical' definition 'direction'. [funcArgNamesDifferent] trophy-2.0.4/src/caimagehueselector.h:15:35: note: Function 'CAImageHueSelector' argument 1 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimagehueselector.cpp:10:51: note: Function 'CAImageHueSelector' argument 1 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimagehueselector.cpp:34:51: style:inconclusive: Function 'CAImageHueSelector' argument 5 names different: declaration 'vertical' definition 'direction'. [funcArgNamesDifferent] trophy-2.0.4/src/caimagehueselector.h:20:35: note: Function 'CAImageHueSelector' argument 5 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimagehueselector.cpp:34:51: note: Function 'CAImageHueSelector' argument 5 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimagehueselector.cpp:30:59: performance: Function parameter 'upperText' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caimagehueselector.cpp:31:59: performance: Function parameter 'lowerText' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caimagemanipulation.cpp:228:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable abgr4444 [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimagemanipulation.cpp:296:39: style: Condition 'g!=b' is always false [knownConditionTrueFalse] trophy-2.0.4/src/caimagemanipulation.cpp:296:31: note: Assuming that condition 'r!=b' is not redundant trophy-2.0.4/src/caimagemanipulation.cpp:296:23: note: Assuming that condition 'r!=g' is not redundant trophy-2.0.4/src/caimagemanipulation.cpp:296:39: note: Condition 'g!=b' is always false trophy-2.0.4/src/caimagemanipulation.cpp:247:27: style: C-style pointer casting [cstyleCast] trophy-2.0.4/src/caimagemanipulation.cpp:488:13: style: The scope of the variable 'q' can be reduced. [variableScope] trophy-2.0.4/src/caimagemanipulation.cpp:488:16: style: The scope of the variable 't' can be reduced. [variableScope] trophy-2.0.4/src/caimageselector.h:29:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upperText [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageselector.cpp:36:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageselector.cpp:67:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable upperText [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageselector.cpp:121:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageselector.cpp:148:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageselector.h:32:10: style:inconclusive: Technically the member function 'CAImageSelector::getSelectedImage' can be const. [functionConst] trophy-2.0.4/src/caimageselector.h:41:17: warning: The class 'CAImageSelector' defines member variable with name 'image' also defined in its parent class 'CAImageView'. [duplInheritedMember] trophy-2.0.4/src/caimageview.h:57:17: note: Parent variable 'CAImageView::image' trophy-2.0.4/src/caimageselector.h:41:17: note: Derived variable 'CAImageSelector::image' trophy-2.0.4/src/caimageselector.h:17:5: style: Class 'CAImageSelector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/caimageselector.h:18:6: style: The destructor '~CAImageSelector' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:42:6: note: Virtual destructor in base class trophy-2.0.4/src/caimageselector.h:18:6: note: Destructor in derived class trophy-2.0.4/src/caimageselector.h:20:10: style: The function 'setImageSize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:44:18: note: Virtual function in base class trophy-2.0.4/src/caimageselector.h:20:10: note: Function in derived class trophy-2.0.4/src/caimageselector.h:36:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:50:18: note: Virtual function in base class trophy-2.0.4/src/caimageselector.h:36:18: note: Function in derived class trophy-2.0.4/src/caimageselector.h:37:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/caimageview.h:53:18: note: Virtual function in base class trophy-2.0.4/src/caimageselector.h:37:18: note: Function in derived class trophy-2.0.4/src/caimageselector.cpp:9:45: style:inconclusive: Function 'CAImageSelector' argument 1 names different: declaration 'vertical' definition 'direction'. [funcArgNamesDifferent] trophy-2.0.4/src/caimageselector.h:17:32: note: Function 'CAImageSelector' argument 1 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimageselector.cpp:9:45: note: Function 'CAImageSelector' argument 1 names different: declaration 'vertical' definition 'direction'. trophy-2.0.4/src/caimageselector.cpp:56:46: performance: Function parameter 'upperText' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caimageselector.cpp:57:46: performance: Function parameter 'lowerText' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caimageview.cpp:9:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageview.cpp:31:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageview.cpp:132:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caimageview.cpp:7:14: warning: Member variable 'CAImageView::direction' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caimageview.cpp:7:14: warning: Member variable 'CAImageView::m_autoresize' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caimageview.cpp:24:14: warning: Member variable 'CAImageView::direction' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caimageview.h:44:18: style: Virtual function 'setImageSize' is called from constructor 'CAImageView(const std::string&upperText,const std::string&lowerText,CL_Surface*image,bool autoResize=true)' at line 40. Dynamic binding is not used. [virtualCallInConstructor] trophy-2.0.4/src/caimageview.cpp:40:9: note: Calling setImageSize trophy-2.0.4/src/caimageview.h:44:18: note: setImageSize is a virtual function trophy-2.0.4/src/caimageview.h:53:18: style: The function 'handleKey' overrides a function in a base class but is identical to the overridden function [uselessOverride] trophy-2.0.4/src/cawidget.h:21:18: note: Virtual function in base class trophy-2.0.4/src/caimageview.h:53:18: note: Function in derived class trophy-2.0.4/src/cainfodialog.cpp:21:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/cainfodialog.cpp:62:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/calabel.cpp:39:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/calabel.h:12:6: style: The destructor '~CALabel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:15:14: note: Virtual destructor in base class trophy-2.0.4/src/calabel.h:12:6: note: Destructor in derived class trophy-2.0.4/src/calabel.h:14:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:20:18: note: Virtual function in base class trophy-2.0.4/src/calabel.h:14:18: note: Function in derived class trophy-2.0.4/src/calabel.h:16:37: performance: Function parameter 'text' should be passed by const reference. [passedByValue] trophy-2.0.4/src/calabel.cpp:8:31: performance: Function parameter 'text' should be passed by const reference. [passedByValue] trophy-2.0.4/src/calineedit.cpp:18:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/calineedit.cpp:52:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/calineedit.h:19:23: style:inconclusive: Technically the member function 'CALineEdit::getText' can be const. [functionConst] trophy-2.0.4/src/calineedit.h:17:6: style: The destructor '~CALineEdit' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:15:14: note: Virtual destructor in base class trophy-2.0.4/src/calineedit.h:17:6: note: Destructor in derived class trophy-2.0.4/src/calineedit.h:23:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:20:18: note: Virtual function in base class trophy-2.0.4/src/calineedit.h:23:18: note: Function in derived class trophy-2.0.4/src/calineedit.h:24:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:21:18: note: Virtual function in base class trophy-2.0.4/src/calineedit.h:24:18: note: Function in derived class trophy-2.0.4/src/calineedit.h:19:23: performance: Function 'getText()' should return member 'text' by const reference. [returnByReference] trophy-2.0.4/src/calineedit.cpp:13:43: performance: Function parameter 'text' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenu.cpp:133:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/camenu.cpp:11:9: warning: Member variable 'CAMenu::configureMenu' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/camenuselect.h:37:10: style:inconclusive: Technically the member function 'CAMenuSelect < int >::getSelectedItem' can be const. [functionConst] trophy-2.0.4/src/camenuselect.h:37:10: style:inconclusive: Technically the member function 'CAMenuSelect < bool >::getSelectedItem' can be const. [functionConst] trophy-2.0.4/src/camenuselect.h:37:10: style:inconclusive: Technically the member function 'CAMenuSelect < std :: string >::getSelectedItem' can be const. [functionConst] trophy-2.0.4/src/camenulabel.h:13:6: style: The destructor '~CAMenuLabel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenuitem.h:20:14: note: Virtual destructor in base class trophy-2.0.4/src/camenulabel.h:13:6: note: Destructor in derived class trophy-2.0.4/src/camenulabel.h:18:17: style: The function 'rtti' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenuitem.h:25:17: note: Virtual function in base class trophy-2.0.4/src/camenulabel.h:18:17: note: Function in derived class trophy-2.0.4/src/camenulabel.h:22:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenuitem.h:29:18: note: Virtual function in base class trophy-2.0.4/src/camenulabel.h:22:18: note: Function in derived class trophy-2.0.4/src/camenulabel.h:23:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenuitem.h:30:18: note: Virtual function in base class trophy-2.0.4/src/camenulabel.h:23:18: note: Function in derived class trophy-2.0.4/src/camenuinput.h:14:6: style: The destructor '~CAMenuInput' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:13:6: note: Virtual destructor in base class trophy-2.0.4/src/camenuinput.h:14:6: note: Destructor in derived class trophy-2.0.4/src/camenuinput.h:19:17: style: The function 'rtti' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:18:17: note: Virtual function in base class trophy-2.0.4/src/camenuinput.h:19:17: note: Function in derived class trophy-2.0.4/src/camenuinput.h:23:10: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:22:18: note: Virtual function in base class trophy-2.0.4/src/camenuinput.h:23:10: note: Function in derived class trophy-2.0.4/src/camenuinput.h:24:10: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:23:18: note: Virtual function in base class trophy-2.0.4/src/camenuinput.h:24:10: note: Function in derived class trophy-2.0.4/src/camenuselect.h:25:17: style: The function 'rtti' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:18:17: note: Virtual function in base class trophy-2.0.4/src/camenuselect.h:25:17: note: Function in derived class trophy-2.0.4/src/camenuselect.h:31:18: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:22:18: note: Virtual function in base class trophy-2.0.4/src/camenuselect.h:31:18: note: Function in derived class trophy-2.0.4/src/camenuselect.h:33:18: style: The function 'handleKey' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/camenulabel.h:23:18: note: Virtual function in base class trophy-2.0.4/src/camenuselect.h:33:18: note: Function in derived class trophy-2.0.4/src/camenu.cpp:11:35: performance: Function parameter 'title' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenu.cpp:43:61: performance: Function parameter 'result' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenu.cpp:71:73: performance: Function parameter 'valueList' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenuinput.cpp:12:5: performance: Variable 'resultStr' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] trophy-2.0.4/src/camenuinput.cpp:31:5: performance: Variable 'resultStr' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] trophy-2.0.4/src/camenuinput.cpp:36:5: warning: Class 'CAMenuInput' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/camenuinput.cpp:36:5: warning: Class 'CAMenuInput' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/camenuinput.cpp:8:54: performance: Function parameter 'label' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenuinput.cpp:9:39: performance: Function parameter 'result' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenuinput.cpp:26:54: performance: Function parameter 'label' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenuitem.cpp:6:13: warning: Member variable 'CAMenuItem::top' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/camenuitem.cpp:6:66: performance: Function parameter 'label' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenulabel.cpp:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/camenulabel.cpp:7:68: performance: Function parameter 'label' should be passed by const reference. [passedByValue] trophy-2.0.4/src/camenuselect.cpp:54:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_right [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/camenuselect.cpp:64:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KEY_ENTER [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/camenuselect.cpp:42:6: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] trophy-2.0.4/src/canetclient.cpp:32:14: style: The member function 'CANetClient::joinGame' can be static. [functionStatic] trophy-2.0.4/src/canetclient.h:16:10: note: The member function 'CANetClient::joinGame' can be static. trophy-2.0.4/src/canetclient.cpp:32:14: note: The member function 'CANetClient::joinGame' can be static. trophy-2.0.4/src/canetclient.cpp:55:14: style: The member function 'CANetClient::keepUp' can be static. [functionStatic] trophy-2.0.4/src/canetclient.h:17:10: note: The member function 'CANetClient::keepUp' can be static. trophy-2.0.4/src/canetclient.cpp:55:14: note: The member function 'CANetClient::keepUp' can be static. trophy-2.0.4/src/canetclient.h:13:5: style: Class 'CANetClient' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/canetclient.cpp:9:35: style: Parameter 'player' can be declared as pointer to const [constParameterPointer] trophy-2.0.4/src/canetserver.cpp:30:14: style: The member function 'CANetServer::createGame' can be static. [functionStatic] trophy-2.0.4/src/canetserver.h:15:10: note: The member function 'CANetServer::createGame' can be static. trophy-2.0.4/src/canetserver.cpp:30:14: note: The member function 'CANetServer::createGame' can be static. trophy-2.0.4/src/canetserver.cpp:48:14: style: The member function 'CANetServer::keepUp' can be static. [functionStatic] trophy-2.0.4/src/canetserver.h:16:10: note: The member function 'CANetServer::keepUp' can be static. trophy-2.0.4/src/canetserver.cpp:48:14: note: The member function 'CANetServer::keepUp' can be static. trophy-2.0.4/src/capanel.cpp:34:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caplayerview.h:12:5: style: Class 'CAPlayerView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] trophy-2.0.4/src/caplayersettingsdialog.cpp:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caplayersettingsdialog.cpp:52:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caplayersettingsdialog.h:17:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/caplayersettingsdialog.h:17:18: note: Function in derived class trophy-2.0.4/src/caplayersettingsdialog.h:18:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/caplayersettingsdialog.h:18:18: note: Function in derived class trophy-2.0.4/src/caplayerview.cpp:50:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caplayerview.cpp:17:12: warning: Class 'CAPlayerView' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/caplayerview.cpp:17:12: warning: Class 'CAPlayerView' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/capositiontable.cpp:23:18: warning: Member variable 'CAPositionTable::m_raceLevel' is not initialized in the constructor. [uninitMemberVarPrivate] trophy-2.0.4/src/capositiontableview.cpp:55:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_right [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/capositiontableview.cpp:16:5: warning: Class 'CAPositionTableView' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/capositiontableview.cpp:16:5: warning: Class 'CAPositionTableView' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/capositiontableview.h:14:6: style: The destructor '~CAPositionTableView' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:17:6: note: Virtual destructor in base class trophy-2.0.4/src/capositiontableview.h:14:6: note: Destructor in derived class trophy-2.0.4/src/capositiontableview.h:16:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/capositiontableview.h:16:18: note: Function in derived class trophy-2.0.4/src/capositiontableview.h:17:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/capositiontableview.h:17:18: note: Function in derived class trophy-2.0.4/src/capositiontableview.cpp:34:9: style: The scope of the variable 'y' can be reduced. [variableScope] trophy-2.0.4/src/capositiontableview.cpp:36:9: style: The scope of the variable 'rank' can be reduced. [variableScope] trophy-2.0.4/src/capositiontableview.cpp:37:9: style: The scope of the variable 'points' can be reduced. [variableScope] trophy-2.0.4/src/caresources.cpp:141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGDATADIR [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::resources' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_loading' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_progressbar' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::font_normal_11_white' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::font_normal_14_white' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::font_normal_22_white' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::font_normal_22_gray' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::font_lcd_13_green' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_cross' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_flag' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_light' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_hitpoint' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_gunfire' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_carfire' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_checkflag' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_fog' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_dust' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_info' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::misc_caution' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::goody_turbo' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::goody_life' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::goody_money' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::goody_bullets' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::goody_fogbomb' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::dust' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::menu_bg' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::menu_cursorani' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::menu_bar' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_label' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_button' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_life' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_infoview' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_speed' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_turbo' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_ammo' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_turbolabel' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::panel_death' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_edge1' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_edge2' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_edge3' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_edge4' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_border1' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_border2' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_border3' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_border4' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_button' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_button_red' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_button_green' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_button_blue' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_arrow_l' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_arrow_r' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_arrow_t' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::gui_arrow_b' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_horn' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_menu' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_selector' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_slide' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_crash' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_engine' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_light' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_goody_money' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_goody_bullets' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_goody_turbo' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_goody_fogbomb' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_goody_life' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_shoot' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_fogbomb' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_fire' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::sound_background01' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectCrash' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectSlide' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectEngine' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectHorn' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectLight' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectMenu' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectSelector' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectGoodyMoney' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectGoodyBullets' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectGoodyTurbo' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectGoodyFogbomb' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectGoodyLife' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectShoot' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectFogBomb' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectFire' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:31:14: warning: Member variable 'CAResources::effectBackground01' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/caresources.cpp:131:12: warning: Class 'CAResources' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/caresources.cpp:131:12: warning: Class 'CAResources' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/caresources.cpp:154:5: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/cartype.cpp:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/cartype.cpp:60:17: style:inconclusive: Technically the member function 'CarOption::updateImageView' can be const. [functionConst] trophy-2.0.4/src/cartype.h:29:14: note: Technically the member function 'CarOption::updateImageView' can be const. trophy-2.0.4/src/cartype.cpp:60:17: note: Technically the member function 'CarOption::updateImageView' can be const. trophy-2.0.4/src/cartype.cpp:146:5: warning: Class 'CarType' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/cartype.cpp:146:5: warning: Class 'CarType' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/cartype.cpp:7:68: style:inconclusive: Function 'CarOption' argument 2 names different: declaration 'carRes' definition 'carUp'. [funcArgNamesDifferent] trophy-2.0.4/src/cartype.h:20:65: note: Function 'CarOption' argument 2 names different: declaration 'carRes' definition 'carUp'. trophy-2.0.4/src/cartype.cpp:7:68: note: Function 'CarOption' argument 2 names different: declaration 'carRes' definition 'carUp'. trophy-2.0.4/src/cartype.cpp:7:79: style:inconclusive: Function 'CarOption' argument 3 names different: declaration 'maxOpt' definition 'maxOption'. [funcArgNamesDifferent] trophy-2.0.4/src/cartype.h:20:77: note: Function 'CarOption' argument 3 names different: declaration 'maxOpt' definition 'maxOption'. trophy-2.0.4/src/cartype.cpp:7:79: note: Function 'CarOption' argument 3 names different: declaration 'maxOpt' definition 'maxOption'. trophy-2.0.4/src/cascreen.cpp:25:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/cascreen.cpp:38:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/casignupscreen.cpp:372:17: style: The member function 'CASignUpScreen::playSwitchSound' can be static. [functionStatic] trophy-2.0.4/src/casignupscreen.h:31:10: note: The member function 'CASignUpScreen::playSwitchSound' can be static. trophy-2.0.4/src/casignupscreen.cpp:372:17: note: The member function 'CASignUpScreen::playSwitchSound' can be static. trophy-2.0.4/src/casignupscreen.cpp:232:21: style:inconclusive: Technically the member function 'CASignUpScreen::getRaceLevel' can be const. [functionConst] trophy-2.0.4/src/casignupscreen.h:33:9: note: Technically the member function 'CASignUpScreen::getRaceLevel' can be const. trophy-2.0.4/src/casignupscreen.cpp:232:21: note: Technically the member function 'CASignUpScreen::getRaceLevel' can be const. trophy-2.0.4/src/casignupscreen.h:20:6: style: The destructor '~CASignUpScreen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/casignupscreen.h:20:6: note: Destructor in derived class trophy-2.0.4/src/casignupscreen.h:26:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/casignupscreen.h:26:17: note: Function in derived class trophy-2.0.4/src/casignupscreen.h:27:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/casignupscreen.h:27:18: note: Function in derived class trophy-2.0.4/src/upgradespanel.h:20:18: style: The destructor '~UpgradesPanel' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:15:14: note: Virtual destructor in base class trophy-2.0.4/src/upgradespanel.h:20:18: note: Destructor in derived class trophy-2.0.4/src/upgradespanel.h:22:14: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cawidget.h:20:18: note: Virtual function in base class trophy-2.0.4/src/upgradespanel.h:22:14: note: Function in derived class trophy-2.0.4/src/casignupscreen.h:37:40: performance: Function 'getAllRunningPlayers()' should return member 'm_RacePlayer' by const reference. [returnByReference] trophy-2.0.4/src/casignupscreen.h:41:22: performance: Function 'getTrackNumbers()' should return member 'm_trackNumbers' by const reference. [returnByReference] trophy-2.0.4/src/casignupscreen.cpp:136:13: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/casignupscreen.cpp:71:17: style: Local variable 'rn' shadows outer variable [shadowVariable] trophy-2.0.4/src/casignupscreen.cpp:49:13: note: Shadowed declaration trophy-2.0.4/src/casignupscreen.cpp:71:17: note: Shadow variable trophy-2.0.4/src/casignupscreen.cpp:20:53: performance: Function parameter 'player' should be passed by const reference. [passedByValue] trophy-2.0.4/src/casignupscreen.cpp:20:78: performance: Function parameter 'trackNumbers' should be passed by const reference. [passedByValue] trophy-2.0.4/src/caslotselectiondialog.cpp:31:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/caslotselectiondialog.h:14:6: style: The destructor '~CASlotSelectionDialog' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:17:6: note: Virtual destructor in base class trophy-2.0.4/src/caslotselectiondialog.h:14:6: note: Destructor in derived class trophy-2.0.4/src/caslotselectiondialog.h:17:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:20:18: note: Virtual function in base class trophy-2.0.4/src/caslotselectiondialog.h:17:18: note: Function in derived class trophy-2.0.4/src/caslotselectiondialog.h:19:18: style: The function 'on_key_released' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cadialog.h:22:18: note: Virtual function in base class trophy-2.0.4/src/caslotselectiondialog.h:19:18: note: Function in derived class trophy-2.0.4/src/caslotselectiondialog.cpp:37:22: style: Local variable 'i' shadows outer variable [shadowVariable] trophy-2.0.4/src/caslotselectiondialog.cpp:27:14: note: Shadowed declaration trophy-2.0.4/src/caslotselectiondialog.cpp:37:22: note: Shadow variable trophy-2.0.4/src/caslotselectiondialog.cpp:12:65: performance: Function parameter 'title' should be passed by const reference. [passedByValue] trophy-2.0.4/src/casoundeffect.cpp:11:5: warning: Class 'CASoundEffect' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/casoundeffect.cpp:11:5: warning: Class 'CASoundEffect' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/catrophy.cpp:94:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:268:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:284:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:301:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:310:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:363:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:426:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:459:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:527:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:936:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:976:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:1029:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:1105:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:1243:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:1643:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KEY_ENTER [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:1856:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/catrophy.cpp:864:11: style: Either there is a missing 'override', or the member function 'CATrophy::runPositionTable' can be static. [functionStatic] trophy-2.0.4/src/catrophy.h:83:10: note: Either there is a missing 'override', or the member function 'CATrophy::runPositionTable' can be static. trophy-2.0.4/src/catrophy.cpp:864:11: note: Either there is a missing 'override', or the member function 'CATrophy::runPositionTable' can be static. trophy-2.0.4/src/catrophy.cpp:873:11: style: Either there is a missing 'override', or the member function 'CATrophy::runCreditsScreen' can be static. [functionStatic] trophy-2.0.4/src/catrophy.h:84:10: note: Either there is a missing 'override', or the member function 'CATrophy::runCreditsScreen' can be static. trophy-2.0.4/src/catrophy.cpp:873:11: note: Either there is a missing 'override', or the member function 'CATrophy::runCreditsScreen' can be static. trophy-2.0.4/src/catrophy.cpp:885:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::runServerInfo' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:85:10: note: Either there is a missing 'override', or the member function 'CATrophy::runServerInfo' can be const. trophy-2.0.4/src/catrophy.cpp:885:11: note: Either there is a missing 'override', or the member function 'CATrophy::runServerInfo' can be const. trophy-2.0.4/src/catrophy.cpp:908:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::runClientInfo' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:86:10: note: Either there is a missing 'override', or the member function 'CATrophy::runClientInfo' can be const. trophy-2.0.4/src/catrophy.cpp:908:11: note: Either there is a missing 'override', or the member function 'CATrophy::runClientInfo' can be const. trophy-2.0.4/src/catrophy.cpp:1551:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::getSpeedLimit' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:99:10: note: Either there is a missing 'override', or the member function 'CATrophy::getSpeedLimit' can be const. trophy-2.0.4/src/catrophy.cpp:1551:11: note: Either there is a missing 'override', or the member function 'CATrophy::getSpeedLimit' can be const. trophy-2.0.4/src/catrophy.cpp:1559:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::getLapPart' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:100:10: note: Either there is a missing 'override', or the member function 'CATrophy::getLapPart' can be const. trophy-2.0.4/src/catrophy.cpp:1559:11: note: Either there is a missing 'override', or the member function 'CATrophy::getLapPart' can be const. trophy-2.0.4/src/catrophy.cpp:1570:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::getLevel' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:101:10: note: Either there is a missing 'override', or the member function 'CATrophy::getLevel' can be const. trophy-2.0.4/src/catrophy.cpp:1570:11: note: Either there is a missing 'override', or the member function 'CATrophy::getLevel' can be const. trophy-2.0.4/src/catrophy.cpp:1578:11: style:inconclusive: Either there is a missing 'override', or the member function 'CATrophy::checkCoordinate' can be const. [functionConst] trophy-2.0.4/src/catrophy.h:102:10: note: Either there is a missing 'override', or the member function 'CATrophy::checkCoordinate' can be const. trophy-2.0.4/src/catrophy.cpp:1578:11: note: Either there is a missing 'override', or the member function 'CATrophy::checkCoordinate' can be const. trophy-2.0.4/src/computerplayer.h:14:6: style: The destructor '~ComputerPlayer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:27:14: note: Virtual destructor in base class trophy-2.0.4/src/computerplayer.h:14:6: note: Destructor in derived class trophy-2.0.4/src/computerplayer.h:15:10: style: The function 'pilot' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:142:18: note: Virtual function in base class trophy-2.0.4/src/computerplayer.h:15:10: note: Function in derived class trophy-2.0.4/src/computerplayer.h:16:10: style: The function 'resetForRace' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:30:20: note: Virtual function in base class trophy-2.0.4/src/computerplayer.h:16:10: note: Function in derived class trophy-2.0.4/src/computerplayer.h:17:10: style: The function 'display' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:156:19: note: Virtual function in base class trophy-2.0.4/src/computerplayer.h:17:10: note: Function in derived class trophy-2.0.4/src/computerplayer.h:18:10: style: The function 'OnRaceOver' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:175:18: note: Virtual function in base class trophy-2.0.4/src/computerplayer.h:18:10: note: Function in derived class trophy-2.0.4/src/computerplayer.h:20:11: style: The function 'getCheckAwayAngle' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/player.h:184:19: note: Virtual function in base class trophy-2.0.4/src/computerplayer.h:20:11: note: Function in derived class trophy-2.0.4/src/shopscreen.h:24:14: style: The destructor '~ShopScreen' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:13:14: note: Virtual destructor in base class trophy-2.0.4/src/shopscreen.h:24:14: note: Destructor in derived class trophy-2.0.4/src/shopscreen.h:26:17: style: The function 'run' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:15:17: note: Virtual function in base class trophy-2.0.4/src/shopscreen.h:26:17: note: Function in derived class trophy-2.0.4/src/shopscreen.h:27:18: style: The function 'buildScreen' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] trophy-2.0.4/src/cascreen.h:16:18: note: Virtual function in base class trophy-2.0.4/src/shopscreen.h:27:18: note: Function in derived class trophy-2.0.4/src/catrophy.cpp:237:5: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/catrophy.cpp:525:9: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/catrophy.cpp:550:2: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/catrophy.cpp:1856:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] trophy-2.0.4/src/catrophy.cpp:691:9: style: The scope of the variable 'mainMenuSelection' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1109:9: style: The scope of the variable 'trackNumber' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1505:11: style: The scope of the variable 'thisPos' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1506:11: style: The scope of the variable 'pos' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1779:9: style: The scope of the variable 'frame' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1779:16: style: The scope of the variable 'x' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1779:19: style: The scope of the variable 'y' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1810:16: style: The scope of the variable 'flagPos' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1826:16: style: The scope of the variable 'lightPos' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1862:12: style: The scope of the variable 'tb' can be reduced. [variableScope] trophy-2.0.4/src/catrophy.cpp:1431:13: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] trophy-2.0.4/src/catrophy.cpp:247:20: style: Variable 'console' is assigned a value that is never used. [unreadVariable] trophy-2.0.4/src/catrophy.cpp:1109:21: style: Variable 'trackNumber' is assigned a value that is never used. [unreadVariable] trophy-2.0.4/src/cawidget.cpp:7:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/computerplayer.cpp:21:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable white [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/computerplayer.cpp:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Straight [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/computerplayer.cpp:132:17: style: The scope of the variable 'distance' can be reduced. [variableScope] trophy-2.0.4/src/computerplayer.cpp:133:17: style: The scope of the variable 'angle' can be reduced. [variableScope] trophy-2.0.4/src/computerplayer.cpp:134:17: style: The scope of the variable 'angleDiff' can be reduced. [variableScope] trophy-2.0.4/src/computerplayer.cpp:156:17: style: The scope of the variable 'distance' can be reduced. [variableScope] trophy-2.0.4/src/computerplayer.cpp:157:17: style: The scope of the variable 'angle' can be reduced. [variableScope] trophy-2.0.4/src/computerplayer.cpp:158:17: style: The scope of the variable 'angleDiff' can be reduced. [variableScope] trophy-2.0.4/src/humanplayer.cpp:12:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KEY_UP [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/humanplayer.cpp:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Constant [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/player.cpp:17:9: warning: Member variable 'Player::edge' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/player.cpp:17:9: warning: Member variable 'Player::edgeState' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/player.cpp:17:9: warning: Member variable 'Player::hitPoint' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/player.cpp:807:9: style:inconclusive: Technically the member function 'Player::getPosition' can be const. [functionConst] trophy-2.0.4/src/player.h:168:12: note: Technically the member function 'Player::getPosition' can be const. trophy-2.0.4/src/player.cpp:807:9: note: Technically the member function 'Player::getPosition' can be const. trophy-2.0.4/src/player.h:30:20: style: Virtual function 'resetForRace' is called from constructor 'Player(int id,const std::string&name,int carNumber)' at line 39. Dynamic binding is not used. [virtualCallInConstructor] trophy-2.0.4/src/player.cpp:39:5: note: Calling reset trophy-2.0.4/src/player.cpp:62:5: note: Calling resetForRace trophy-2.0.4/src/player.h:30:20: note: resetForRace is a virtual function trophy-2.0.4/src/player.cpp:655:21: style: The scope of the variable 'en2' can be reduced. [variableScope] trophy-2.0.4/src/player.cpp:657:14: style: The scope of the variable 'inters' can be reduced. [variableScope] trophy-2.0.4/src/player.cpp:661:13: style: The scope of the variable 'dist' can be reduced. [variableScope] trophy-2.0.4/src/player.cpp:126:28: style:inconclusive: Function 'setColor' argument 1 names different: declaration 'c' definition 'col'. [funcArgNamesDifferent] trophy-2.0.4/src/player.h:44:33: note: Function 'setColor' argument 1 names different: declaration 'c' definition 'col'. trophy-2.0.4/src/player.cpp:126:28: note: Function 'setColor' argument 1 names different: declaration 'c' definition 'col'. trophy-2.0.4/src/player.cpp:813:25: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned] trophy-2.0.4/src/player.cpp:812:20: note: Assuming that condition 'f<32' is not redundant trophy-2.0.4/src/player.cpp:813:25: note: Shift trophy-2.0.4/src/shopscreen.cpp:32:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/shopscreen.cpp:318:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_KEY_DOWN [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/shopscreen.cpp:33:5: warning: Class 'ShopScreen' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] trophy-2.0.4/src/shopscreen.cpp:33:5: warning: Class 'ShopScreen' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] trophy-2.0.4/src/track.cpp:120:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CL_MOUSE_LEFT [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/track.cpp:236:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_left [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/track.cpp:8:8: warning: Member variable 'Track::m_number' is not initialized in the constructor. [uninitMemberVar] trophy-2.0.4/src/track.cpp:25:5: style: Exception should be caught by reference. [catchExceptionByValue] trophy-2.0.4/src/track.cpp:234:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] trophy-2.0.4/src/track.cpp:234:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] trophy-2.0.4/src/track.cpp:56:21: style: The scope of the variable 'name' can be reduced. [variableScope] trophy-2.0.4/src/track.cpp:57:21: style: The scope of the variable 'value' can be reduced. [variableScope] trophy-2.0.4/src/upgradespanel.cpp:13:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable origin_top_center [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/upgradespanel.cpp:47:63: style: C-style pointer casting [cstyleCast] trophy-2.0.4/src/upgradespanel.cpp:44:49: style: Parameter 'carOption' can be declared as pointer to const [constParameterPointer] trophy-2.0.4/src/utils/trophymath.cpp:154:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] trophy-2.0.4/src/utils/trophymath.cpp:163:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] trophy-2.0.4/src/utils/trophymath.cpp:111:13: style: The scope of the variable 't2_divisor' can be reduced. [variableScope] diff: 2.20.0 trophy-2.0.4/src/cachampionshipscreen.h:33:123: performance: Function parameter 'runningPlayer' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/cachampionshipscreen.h:33:74: performance: Function parameter 'player' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/caimagehueselector.h:16:43: performance: Function parameter 'upperText' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/caimagehueselector.h:17:43: performance: Function parameter 'lowerText' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/caimageselector.h:22:38: performance: Function parameter 'upperText' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/caimageselector.h:23:38: performance: Function parameter 'lowerText' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/calineedit.h:13:35: performance: Function parameter 'text' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenu.h:18:31: performance: Function parameter 'title' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenu.h:28:69: performance: Function parameter 'valueList' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenuinput.h:12:59: performance: Function parameter 'label' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenuinput.h:13:59: performance: Function parameter 'label' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenuitem.h:19:58: performance: Function parameter 'label' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/camenulabel.h:12:59: performance: Function parameter 'label' should be passed by const reference. [passedByValue] 2.20.0 trophy-2.0.4/src/caslotselectiondialog.h:13:46: performance: Function parameter 'title' should be passed by const reference. [passedByValue] DONE