\robomongo\src\robomongo> cppcheck --enable=all --std=c++11 . > xx.h 2>&1
-------------------------------------------------------------------

Checking app\main.cpp ...
Checking app\main.cpp: Q_OS_MAC...
Checking app\main.cpp: Q_OS_WIN...
1/125 files checked 0% done
Checking app\main_mongo.cpp ...
2/125 files checked 0% done
Checking app\main_test.cpp ...
3/125 files checked 0% done
Checking core\AppRegistry.cpp ...
4/125 files checked 0% done
Checking core\Enums.cpp ...
5/125 files checked 0% done
Checking core\Event.cpp ...
6/125 files checked 0% done
Checking core\EventBus.cpp ...
[core\EventBus.cpp:18]: (style) Struct 'RemoveIfReciver' has a constructor with 1 argument that is not explicit.
[core\EventBus.cpp:33]: (style) Struct 'FindIfReciver' has a constructor with 1 argument that is not explicit.
7/125 files checked 1% done
Checking core\EventBusDispatcher.cpp ...
8/125 files checked 1% done
Checking core\EventBusSubscriber.cpp ...
9/125 files checked 1% done
Checking core\EventError.cpp ...
10/125 files checked 1% done
Checking core\EventWrapper.cpp ...
11/125 files checked 1% done
Checking core\HexUtils.cpp ...
12/125 files checked 2% done
Checking core\HexUtils_test.cpp ...
13/125 files checked 2% done
Checking core\KeyboardManager.cpp ...
14/125 files checked 2% done
Checking core\domain\App.cpp ...
15/125 files checked 3% done
Checking core\domain\CursorPosition.cpp ...
16/125 files checked 3% done
Checking core\domain\MongoCollection.cpp ...
17/125 files checked 4% done
Checking core\domain\MongoCollectionInfo.cpp ...
[core\domain\MongoCollectionInfo.cpp:7]: (warning) Member variable 'MongoCollectionInfo::_sizeBytes' is not initialized in the constructor.
[core\domain\MongoCollectionInfo.cpp:7]: (warning) Member variable 'MongoCollectionInfo::_storageSizeBytes' is not initialized in the constructor.
[core\domain\MongoCollectionInfo.cpp:7]: (warning) Member variable 'MongoCollectionInfo::_count' is not initialized in the constructor.
[core\domain\MongoCollectionInfo.h:11]: (style) Class 'MongoCollectionInfo' has a constructor with 1 argument that is not explicit.
18/125 files checked 4% done
Checking core\domain\MongoDatabase.cpp ...
19/125 files checked 5% done
Checking core\domain\MongoDocument.cpp ...
20/125 files checked 5% done
Checking core\domain\MongoFunction.cpp ...
21/125 files checked 5% done
Checking core\domain\MongoNamespace.cpp ...
22/125 files checked 5% done
Checking core\domain\MongoQueryInfo.cpp ...
23/125 files checked 5% done
Checking core\domain\MongoServer.cpp ...
[core\domain\MongoServer.cpp:121]: (performance) Prefer prefix ++/-- operators for non-primitive types.
[core\domain\MongoServer.cpp:131]: (performance) Prefer prefix ++/-- operators for non-primitive types.
24/125 files checked 7% done
Checking core\domain\MongoShell.cpp ...
25/125 files checked 8% done
Checking core\domain\MongoUser.cpp ...
26/125 files checked 8% done
Checking core\domain\MongoUtils.cpp ...
27/125 files checked 8% done
Checking core\domain\Notifier.cpp ...
[core\domain\Notifier.cpp:177] -> [core\domain\Notifier.cpp:178]: (style) The if condition is the same as the previous if condition
[core\domain\Notifier.cpp:185] -> [core\domain\Notifier.cpp:186]: (style) The if condition is the same as the previous if condition
[core\domain\Notifier.cpp:191]: (style) The scope of the variable 'isNeededRefresh' can be reduced.
[core\domain\Notifier.cpp:191]: (style) Variable 'isNeededRefresh' is assigned a value that is never used.
[core\domain\Notifier.cpp:222]: (style) Variable 'isNeededRefresh' is assigned a value that is never used.
[core\domain\Notifier.cpp:347]: (style) Consider using std::transform algorithm instead of a raw loop.
28/125 files checked 10% done
Checking core\domain\ScriptInfo.cpp ...
Checking core\domain\ScriptInfo.cpp: Q_OS_LINUX...
29/125 files checked 10% done
Checking core\engine\ScriptEngine.cpp ...
[core\engine\ScriptEngine.cpp:395]: (style) Variable 'serverAddress' is assigned a value that is never used.
[core\engine\ScriptEngine.cpp:396]: (style) Variable 'dbName' is assigned a value that is never used.
[core\engine\ScriptEngine.cpp:460]: (style) Variable 'res2' is assigned a value that is never used.
30/125 files checked 12% done
Checking core\events\MongoEvents.cpp ...
31/125 files checked 12% done
Checking core\events\MongoEventsInfo.cpp ...
32/125 files checked 12% done
Checking core\mongodb\MongoClient.cpp ...
[core\mongodb\MongoClient.cpp:217]: (style) Condition 'version>=0' is always false
[core\mongodb\MongoClient.cpp:197]: (style) Variable 'cache' is assigned a value that is never used.
[core\mongodb\MongoClient.cpp:204]: (style) Variable 'cacheKey' is assigned a value that is never used.
[core\mongodb\MongoClient.cpp:209]: (style) Variable 'cacheKey' is assigned a value that is never used.
[core\mongodb\MongoClient.cpp:214]: (style) Variable 'cacheKey' is assigned a value that is never used.
[core\mongodb\MongoClient.cpp:49]: (style) Consider using std::transform algorithm instead of a raw loop.
[core\mongodb\MongoClient.cpp:107]: (style) Consider using std::transform algorithm instead of a raw loop.
33/125 files checked 15% done
Checking core\mongodb\MongoWorker.cpp ...
[core\mongodb\MongoWorker.cpp:191]: (style) Consider using std::transform algorithm instead of a raw loop.
[core\mongodb\MongoWorker.cpp:492]: (style) Consider using std::transform algorithm instead of a raw loop.
34/125 files checked 20% done
Checking core\mongodb\ReplicaSet.cpp ...
35/125 files checked 20% done
Checking core\mongodb\SshTunnelWorker.cpp ...
36/125 files checked 21% done
Checking core\settings\ConnectionSettings.cpp ...
Checking core\settings\ConnectionSettings.cpp: MONGO_SSL...
37/125 files checked 22% done
Checking core\settings\CredentialSettings.cpp ...
38/125 files checked 22% done
Checking core\settings\ReplicaSetSettings.cpp ...
[core\settings\ReplicaSetSettings.cpp:47] -> [core\settings\ReplicaSetSettings.cpp:51]: (style) Variable 'itr' is reassigned a value before the old one has been used.
[core\settings\ReplicaSetSettings.cpp:80]: (style) Consider using std::transform algorithm instead of a raw loop.
39/125 files checked 22% done
Checking core\settings\SettingsManager.cpp ...
[core\settings\SettingsManager.cpp:348]: (style) Consider using std::copy algorithm instead of a raw loop.
[core\settings\SettingsManager.cpp:355]: (style) Consider using std::copy algorithm instead of a raw loop.
[core\settings\SettingsManager.cpp:524]: (style) Consider using std::find_if algorithm instead of a raw loop.
40/125 files checked 25% done
Checking core\settings\SshSettings.cpp ...
41/125 files checked 25% done
Checking core\settings\SslSettings.cpp ...
42/125 files checked 25% done
Checking core\utils\BsonUtils.cpp ...
43/125 files checked 28% done
Checking core\utils\Logger.cpp ...
44/125 files checked 28% done
Checking core\utils\QtUtils.cpp ...
Checking core\utils\QtUtils.cpp: Q_OS_WIN...
45/125 files checked 28% done
Checking core\utils\StdUtils.cpp ...
46/125 files checked 28% done
Checking gui\AppStyle.cpp ...
Checking gui\AppStyle.cpp: Q_OS_WIN...
47/125 files checked 28% done
Checking gui\GuiRegistry.cpp ...
Checking gui\GuiRegistry.cpp: Q_OS_MAC...
Checking gui\GuiRegistry.cpp: Q_OS_UNIX...
Checking gui\GuiRegistry.cpp: Q_OS_WIN...
48/125 files checked 30% done
Checking gui\MainWindow.cpp ...
[gui\MainWindow.cpp:525]: (style) Variable 'toolbarsSettings' is assigned a value that is never used.
[gui\MainWindow.cpp:106]: (style) Class 'ConnectionMenu' has a constructor with 1 argument that is not explicit.
Checking gui\MainWindow.cpp: Q_OS_LINUX...
Checking gui\MainWindow.cpp: Q_OS_MAC...
[gui\MainWindow.cpp:132]: (style) Variable 'background' is assigned a value that is never used.
Checking gui\MainWindow.cpp: Q_OS_WIN...
Checking gui\MainWindow.cpp: _WIN32...
Checking gui\MainWindow.cpp: __APPLE__...
Checking gui\MainWindow.cpp: __linux__...
49/125 files checked 36% done
Checking gui\dialogs\AboutDialog.cpp ...
50/125 files checked 36% done
Checking gui\dialogs\ChangeShellTimeoutDialog.cpp ...
51/125 files checked 36% done
Checking gui\dialogs\ConnectionAdvancedTab.cpp ...
Checking gui\dialogs\ConnectionAdvancedTab.cpp: _WIN32...
Checking gui\dialogs\ConnectionAdvancedTab.cpp: __APPLE__...
52/125 files checked 37% done
Checking gui\dialogs\ConnectionAuthTab.cpp ...
Checking gui\dialogs\ConnectionAuthTab.cpp: Q_OS_MAC...
Checking gui\dialogs\ConnectionAuthTab.cpp: Q_OS_WIN...
53/125 files checked 37% done
Checking gui\dialogs\ConnectionBasicTab.cpp ...
[gui\dialogs\ConnectionBasicTab.cpp:88]: (style) Variable 'BUTTON_SIZE' is assigned a value that is never used.
[gui\dialogs\ConnectionBasicTab.cpp:107]: (style) Variable '_optionalLabel' is assigned a value that is never used.
Checking gui\dialogs\ConnectionBasicTab.cpp: _WIN32...
Checking gui\dialogs\ConnectionBasicTab.cpp: __APPLE__...
54/125 files checked 39% done
Checking gui\dialogs\ConnectionDiagnosticDialog.cpp ...
55/125 files checked 40% done
Checking gui\dialogs\ConnectionDialog.cpp ...
Checking gui\dialogs\ConnectionDialog.cpp: __APPLE__...
56/125 files checked 40% done
Checking gui\dialogs\ConnectionSslTab.cpp ...
Checking gui\dialogs\ConnectionSslTab.cpp: MONGO_SSL...
57/125 files checked 41% done
Checking gui\dialogs\ConnectionsDialog.cpp ...
[gui\dialogs\ConnectionsDialog.cpp:395]: (style) C-style pointer casting
[gui\dialogs\ConnectionsDialog.cpp:397]: (style) C-style pointer casting
[gui\dialogs\ConnectionsDialog.cpp:408]: (style) C-style pointer casting
[gui\dialogs\ConnectionsDialog.cpp:43]: (style) Class 'ConnectionListWidgetItem' has a constructor with 1 argument that is not explicit.
Checking gui\dialogs\ConnectionsDialog.cpp: Q_OS_MAC...
58/125 files checked 43% done
Checking gui\dialogs\CopyCollectionDialog.cpp ...
59/125 files checked 43% done
Checking gui\dialogs\CreateCollectionDialog.cpp ...
60/125 files checked 45% done
Checking gui\dialogs\CreateConnectionDialog.cpp ...
61/125 files checked 46% done
Checking gui\dialogs\CreateDatabaseDialog.cpp ...
62/125 files checked 46% done
Checking gui\dialogs\CreateUserDialog.cpp ...
63/125 files checked 47% done
Checking gui\dialogs\DocumentTextEditor.cpp ...
64/125 files checked 48% done
Checking gui\dialogs\EulaDialog.cpp ...
Checking gui\dialogs\EulaDialog.cpp: _WIN32...
Checking gui\dialogs\EulaDialog.cpp: __APPLE__...
Checking gui\dialogs\EulaDialog.cpp: __linux__...
65/125 files checked 49% done
Checking gui\dialogs\ExportDialog.cpp ...
Checking gui\dialogs\ExportDialog.cpp: Q_OS_WIN...
66/125 files checked 51% done
Checking gui\dialogs\FunctionTextEditor.cpp ...
67/125 files checked 51% done
Checking gui\dialogs\PreferencesDialog.cpp ...
68/125 files checked 52% done
Checking gui\dialogs\SSHTunnelTab.cpp ...
Checking gui\dialogs\SSHTunnelTab.cpp: Q_OS_MAC...
Checking gui\dialogs\SSHTunnelTab.cpp: Q_OS_WIN...
69/125 files checked 53% done
Checking gui\dialogs\SSLTab.cpp ...
Checking gui\dialogs\SSLTab.cpp: Q_OS_WIN...
Checking gui\dialogs\SSLTab.cpp: _WIN32...
70/125 files checked 55% done
Checking gui\editors\FindFrame.cpp ...
71/125 files checked 56% done
Checking gui\editors\JSLexer.cpp ...
72/125 files checked 56% done
Checking gui\editors\PlainJavaScriptEditor.cpp ...
Checking gui\editors\PlainJavaScriptEditor.cpp: Q_OS_MAC...
Checking gui\editors\PlainJavaScriptEditor.cpp: Q_OS_WIN...
73/125 files checked 57% done
Checking gui\utils\ComboBoxUtils.cpp ...
74/125 files checked 57% done
Checking gui\utils\DialogUtils.cpp ...
75/125 files checked 57% done
Checking gui\widgets\LogWidget.cpp ...
76/125 files checked 57% done
Checking gui\widgets\explorer\EditIndexDialog.cpp ...
77/125 files checked 58% done
Checking gui\widgets\explorer\ExplorerCollectionTreeItem.cpp ...
78/125 files checked 61% done
Checking gui\widgets\explorer\ExplorerDatabaseCategoryTreeItem.cpp ...
79/125 files checked 62% done
Checking gui\widgets\explorer\ExplorerDatabaseTreeItem.cpp ...
Checking gui\widgets\explorer\ExplorerDatabaseTreeItem.cpp: __APPLE__...
80/125 files checked 63% done
Checking gui\widgets\explorer\ExplorerFunctionTreeItem.cpp ...
81/125 files checked 63% done
Checking gui\widgets\explorer\ExplorerReplicaSetFolderItem.cpp ...
[gui\widgets\explorer\ExplorerReplicaSetFolderItem.cpp:70]: (style) Consider using std::find_if algorithm instead of a raw loop.
[gui\widgets\explorer\ExplorerReplicaSetFolderItem.cpp:100]: (style) Consider using std::find_if algorithm instead of a raw loop.
82/125 files checked 64% done
Checking gui\widgets\explorer\ExplorerReplicaSetTreeItem.cpp ...
Checking gui\widgets\explorer\ExplorerReplicaSetTreeItem.cpp: __APPLE__...
83/125 files checked 64% done
Checking gui\widgets\explorer\ExplorerServerTreeItem.cpp ...
[gui\widgets\explorer\ExplorerServerTreeItem.cpp:354]: (style) The scope of the variable 'isPrimary' can be reduced.
Checking gui\widgets\explorer\ExplorerServerTreeItem.cpp: __APPLE__...
84/125 files checked 66% done
Checking gui\widgets\explorer\ExplorerTreeItem.cpp ...
85/125 files checked 66% done
Checking gui\widgets\explorer\ExplorerTreeWidget.cpp ...
Checking gui\widgets\explorer\ExplorerTreeWidget.cpp: Q_OS_MAC...
86/125 files checked 66% done
Checking gui\widgets\explorer\ExplorerUserTreeItem.cpp ...
87/125 files checked 66% done
Checking gui\widgets\explorer\ExplorerWidget.cpp ...
88/125 files checked 67% done
Checking gui\widgets\workarea\BsonTableModel.cpp ...
[gui\widgets\workarea\BsonTableModel.cpp:88] -> [gui\widgets\workarea\BsonTableModel.cpp:94]: (style) Local variable child shadows outer variable
89/125 files checked 67% done
Checking gui\widgets\workarea\BsonTableView.cpp ...
Checking gui\widgets\workarea\BsonTableView.cpp: Q_OS_MAC...
90/125 files checked 67% done
Checking gui\widgets\workarea\BsonTreeItem.cpp ...
[gui\widgets\workarea\BsonTreeItem.cpp:9]: (style) Struct 'removeIfFound' has a constructor with 1 argument that is not explicit.
91/125 files checked 68% done
Checking gui\widgets\workarea\BsonTreeModel.cpp ...
92/125 files checked 69% done
Checking gui\widgets\workarea\BsonTreeView.cpp ...
[gui\widgets\workarea\BsonTreeView.cpp:67]: (style) The scope of the variable 'isSimple' can be reduced.
[gui\widgets\workarea\BsonTreeView.cpp:67]: (style) Variable 'isSimple' is assigned a value that is never used.
[gui\widgets\workarea\BsonTreeView.cpp:69]: (style) Variable 'isSimple' is assigned a value that is never used.
[gui\widgets\workarea\BsonTreeView.cpp:168]: (style) Variable 'count' is assigned a value that is never used.
Checking gui\widgets\workarea\BsonTreeView.cpp: Q_OS_MAC...
93/125 files checked 69% done
Checking gui\widgets\workarea\CollectionStatsTreeItem.cpp ...
94/125 files checked 70% done
Checking gui\widgets\workarea\CollectionStatsTreeWidget.cpp ...
95/125 files checked 70% done
Checking gui\widgets\workarea\IndicatorLabel.cpp ...
96/125 files checked 70% done
Checking gui\widgets\workarea\JsonPrepareThread.cpp ...
97/125 files checked 70% done
Checking gui\widgets\workarea\OutputItemContentWidget.cpp ...
98/125 files checked 72% done
Checking gui\widgets\workarea\OutputItemHeaderWidget.cpp ...
Checking gui\widgets\workarea\OutputItemHeaderWidget.cpp: __APPLE__...
99/125 files checked 73% done
Checking gui\widgets\workarea\OutputWidget.cpp ...
[gui\widgets\workarea\OutputWidget.cpp:259]: (style) Variable 'selectedBorder' is assigned a value that is never used.
[gui\widgets\workarea\OutputWidget.cpp:261]: (style) Variable 'aga1' is assigned a value that is never used.
[gui\widgets\workarea\OutputWidget.cpp:262]: (style) Variable 'aga2' is assigned a value that is never used.
[gui\widgets\workarea\OutputWidget.cpp:263]: (style) Variable 'aga3' is assigned a value that is never used.
Checking gui\widgets\workarea\OutputWidget.cpp: __APPLE__...
[gui\widgets\workarea\OutputWidget.cpp:256]: (style) Variable 'gradientZero' is assigned a value that is never used.
100/125 files checked 74% done
Checking gui\widgets\workarea\PagingWidget.cpp ...
101/125 files checked 74% done
Checking gui\widgets\workarea\ProgressBarPopup.cpp ...
[gui\widgets\workarea\ProgressBarPopup.h:15]: (style) Class 'ProgressBarPopup' has a constructor with 1 argument that is not explicit.
102/125 files checked 74% done
Checking gui\widgets\workarea\QueryWidget.cpp ...
103/125 files checked 76% done
Checking gui\widgets\workarea\ScriptWidget.cpp ...
Checking gui\widgets\workarea\ScriptWidget.cpp: Q_OS_MAC...
104/125 files checked 77% done
Checking gui\widgets\workarea\WelcomeTab.cpp ...
[gui\widgets\workarea\WelcomeTab.cpp:66]: (style) Struct 'BlogLinkLabel' has a constructor with 1 argument that is not explicit.
105/125 files checked 80% done
Checking gui\widgets\workarea\WorkAreaTabBar.cpp ...
[gui\widgets\workarea\WorkAreaTabBar.cpp:143]: (style) Variable 'selectedBorder' is assigned a value that is never used.
[gui\widgets\workarea\WorkAreaTabBar.cpp:145]: (style) Variable 'aga1' is assigned a value that is never used.
[gui\widgets\workarea\WorkAreaTabBar.cpp:146]: (style) Variable 'aga2' is assigned a value that is never used.
[gui\widgets\workarea\WorkAreaTabBar.cpp:147]: (style) Variable 'aga3' is assigned a value that is never used.
[gui\widgets\workarea\WorkAreaTabBar.cpp:209]: (style) Variable 'aga' is assigned a value that is never used.
Checking gui\widgets\workarea\WorkAreaTabBar.cpp: __APPLE__...
106/125 files checked 81% done
Checking gui\widgets\workarea\WorkAreaTabWidget.cpp ...
Checking gui\widgets\workarea\WorkAreaTabWidget.cpp: Q_OS_MAC...
Checking gui\widgets\workarea\WorkAreaTabWidget.cpp: __APPLE__...
107/125 files checked 82% done
Checking shell\bson\json.cpp ...
[shell\bson\json.cpp:750]: (style) The scope of the variable 'index' can be reduced.
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:266]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:274]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:282]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:290]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:298]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:306]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:314]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:322]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:330]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:338]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:257] -> [shell\bson\json.cpp:346]: (style) Local variable ret shadows outer variable
[shell\bson\json.cpp:364] -> [shell\bson\json.cpp:378]: (style) Local variable valueRet shadows outer variable
108/125 files checked 87% done
Checking shell\db\ptimeutil.cpp ...
109/125 files checked 88% done
Checking shell\shell\dbshell.cpp ...
[shell\shell\dbshell.cpp:706]: (style) Condition '!rcGlobalLocation.empty()' is always true
[shell\shell\dbshell.cpp:779]: (style) The scope of the variable 'promptType' can be reduced.
[shell\shell\dbshell.cpp:736] -> [shell\shell\dbshell.cpp:832]: (style) Local variable s shadows outer variable
[shell\shell\dbshell.cpp:258]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster.
Checking shell\shell\dbshell.cpp: _WIN32...
110/125 files checked 91% done
Checking ssh\array.c ...
111/125 files checked 91% done
Checking ssh\log.c ...
112/125 files checked 92% done
Checking ssh\server.c ...
Checking ssh\server.c: WIN32...
113/125 files checked 92% done
Checking ssh\ssh.c ...
[ssh\ssh.c:140]: (style) The scope of the variable 'rc' can be reduced.
[ssh\ssh.c:519]: (style) The scope of the variable 'rc' can be reduced.
[ssh\ssh.c:583]: (style) The scope of the variable 'rc' can be reduced.
[ssh\ssh.c:140]: (style) Variable 'rc' is assigned a value that is never used.
[ssh\ssh.c:510]: (style) Variable 'result' is assigned a value that is never used.
[ssh\ssh.c:583]: (style) Variable 'rc' is assigned a value that is never used.
[ssh\ssh.c:730]: (style) Variable 'fingerprint' is assigned a value that is never used.
[ssh\ssh.c:106]: (error) Memory leak: session
[ssh\ssh.c:111]: (error) Memory leak: session
[ssh\ssh.c:196]: (error) Memory leak: channel
[ssh\ssh.c:200]: (error) Memory leak: channel
[ssh\ssh.c:200]: (error) Memory leak: inbuf
[ssh\ssh.c:631]: (error) Resource leak: sock
[ssh\ssh.c:637]: (error) Resource leak: sock
[ssh\ssh.c:662]: (error) Resource leak: listensock
[ssh\ssh.c:669]: (error) Resource leak: listensock
[ssh\ssh.c:677]: (error) Resource leak: listensock
[ssh\ssh.c:682]: (error) Resource leak: listensock
[ssh\ssh.c:687]: (error) Resource leak: listensock
Checking ssh\ssh.c: HAVE_UNISTD_H...
Checking ssh\ssh.c: WIN32...
114/125 files checked 94% done
Checking ssh\temp\direct_tcpip.c ...
[ssh\temp\direct_tcpip.c:243]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[ssh\temp\direct_tcpip.c:243]: (warning) %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'.
[ssh\temp\direct_tcpip.c:274]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[ssh\temp\direct_tcpip.c:309]: (warning) %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'.
[ssh\temp\direct_tcpip.c:123]: (error) Resource leak: sock
[ssh\temp\direct_tcpip.c:129]: (error) Resource leak: sock
[ssh\temp\direct_tcpip.c:136]: (error) Resource leak: sock
Checking ssh\temp\direct_tcpip.c: HAVE_STDLIB_H...
Checking ssh\temp\direct_tcpip.c: HAVE_SYS_SELECT_H...
Checking ssh\temp\direct_tcpip.c: HAVE_UNISTD_H...
Checking ssh\temp\direct_tcpip.c: WIN32...
115/125 files checked 95% done
Checking ssh\temp\temp_ssh.c ...
[ssh\temp\temp_ssh.c:442]: (style) The scope of the variable 'rc' can be reduced.
[ssh\temp\temp_ssh.c:508]: (style) The scope of the variable 'rc' can be reduced.
[ssh\temp\temp_ssh.c:619]: (style) The scope of the variable 'rc' can be reduced.
[ssh\temp\temp_ssh.c:184]: (style) Variable 'fingerprint' is assigned a value that is never used.
[ssh\temp\temp_ssh.c:153]: (style) Unused variable: i
[ssh\temp\temp_ssh.c:508]: (style) Variable 'rc' is assigned a value that is never used.
[ssh\temp\temp_ssh.c:619]: (style) Variable 'rc' is assigned a value that is never used.
[ssh\temp\temp_ssh.c:85]: (error) Resource leak: sock
[ssh\temp\temp_ssh.c:91]: (error) Resource leak: sock
[ssh\temp\temp_ssh.c:97]: (error) Resource leak: sock
[ssh\temp\temp_ssh.c:115]: (error) Resource leak: listensock
[ssh\temp\temp_ssh.c:122]: (error) Resource leak: listensock
[ssh\temp\temp_ssh.c:130]: (error) Resource leak: listensock
[ssh\temp\temp_ssh.c:135]: (error) Resource leak: listensock
[ssh\temp\temp_ssh.c:140]: (error) Resource leak: listensock
[ssh\temp\temp_ssh.c:243]: (error) Memory leak: channel
[ssh\temp\temp_ssh.c:707]: (error) Memory leak: session
Checking ssh\temp\temp_ssh.c: HAVE_STDLIB_H...
Checking ssh\temp\temp_ssh.c: HAVE_SYS_SELECT_H...
Checking ssh\temp\temp_ssh.c: HAVE_UNISTD_H...
Checking ssh\temp\temp_ssh.c: WIN32...
116/125 files checked 98% done
Checking ssh\temp\temp_ssh_log.c ...
117/125 files checked 98% done
Checking ssh\test.c ...
118/125 files checked 98% done
Checking ssh\win.c ...
119/125 files checked 98% done
Checking utils\RoboCrypt.cpp ...
120/125 files checked 98% done
Checking utils\RoboCrypt_test.cpp ...
121/125 files checked 99% done
Checking utils\SimpleCrypt.cpp ...
122/125 files checked 99% done
Checking utils\StringOperations.cpp ...
123/125 files checked 99% done
Checking utils\StringOperations_test.cpp ...
124/125 files checked 99% done
Checking utils\common.cpp ...
125/125 files checked 100% done
[core\domain\MongoUtils.cpp:21]: (style) The function 'buildPasswordHash' is never used.
[core\utils\QtUtils.cpp:39]: (style) The function 'cleanUpThread' is never used.
[gui\dialogs\CreateUserDialog.cpp:34]: (style) The function 'containsWord' is never used.
[core\utils\BsonUtils.cpp:29]: (style) The function 'getField < bool >' is never used.
[core\utils\BsonUtils.cpp:53]: (style) The function 'getField < double >' is never used.
[core\utils\BsonUtils.cpp:47]: (style) The function 'getField < int >' is never used.
[core\utils\BsonUtils.cpp:59]: (style) The function 'getField < long long >' is never used.
[core\utils\BsonUtils.cpp:23]: (style) The function 'getField < mongo :: BSONObj >' is never used.
[core\utils\BsonUtils.cpp:35]: (style) The function 'getField < std :: string >' is never used.
[core\utils\BsonUtils.cpp:41]: (style) The function 'getField < std :: vector < BSONElement > >' is never used.
[app\main_test.cpp:12]: (style) The function 'logProcessDetailsForLogRotate' is never used.
[ssh\log.c:27]: (style) The function 'log_msg' is never used.
[shell\shell\dbshell.cpp:367]: (style) The function 'run' is never used.
[ssh\log.c:74]: (style) The function 'ssh_log_msg' is never used.
[ssh\win.c:3]: (style) The function 'ssh_win_init' is never used.
[core\utils\QtUtils.cpp:11]: (style) The function 'toQString < std :: string >' is never used.
[core\utils\QtUtils.cpp:18]: (style) The function 'toQString < std :: wstring >' is never used.
[shell\shell\dbshell.cpp:915]: (style) The function 'wmain' is never used.
(information) Cppcheck cannot find all the include files (use --check-config for details)
