|
| missingInclude | | information | Cppcheck cannot find all the include files (use --check-config for details) |
src/cJSON.c |
98 | unusedFunction | 561 | style | The function 'cJSON_GetStringValue' is never used. |
106 | unusedFunction | 561 | style | The function 'cJSON_GetNumberValue' is never used. |
108 | invalidFunctionArg | 628 | error | Invalid sqrt() argument nr 1. The value is -1 but the valid values are '0.0:'. |
119 | unusedFunction | 561 | style | The function 'cJSON_Version' is never used. |
191 | unusedFunction | 561 | style | The function 'cJSON_InitHooks' is never used. |
342 | unusedFunction | 561 | style | The function 'cJSON_SetNumberHelper' is never used. |
355 | unusedFunction | 561 | style | The function 'cJSON_SetValuestring' is never used. |
674 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
674 | ctunullpointer | 476 | warning | Null pointer dereference: input_buffer |
675 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
680 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
721 | knownConditionTrueFalse | 570 | style | Condition '(input_end-input_pointer)<1' is always false |
1027 | unusedFunction | 561 | style | The function 'cJSON_ParseWithLength' is never used. |
1092 | unusedFunction | 561 | style | The function 'cJSON_Print' is never used. |
1100 | unusedFunction | 561 | style | The function 'cJSON_PrintBuffered' is never used. |
1127 | unusedFunction | 561 | style | The function 'cJSON_PrintPreallocated' is never used. |
1260 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1263 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1265 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1270 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1279 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1342 | unreadVariable | 563 | style | Variable 'length' is assigned a value that is never used. |
1397 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1400 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1406 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1414 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1419 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1444 | nullPointerRedundantCheck | 476 | warning | Either the condition 'input_buffer!=NULL' is redundant or there is possible null pointer dereference: input_buffer. |
1590 | unusedFunction | 561 | style | The function 'cJSON_GetArraySize' is never used. |
1626 | unusedFunction | 561 | style | The function 'cJSON_GetArrayItem' is never used. |
1667 | unusedFunction | 561 | style | The function 'cJSON_HasObjectItem' is never used. |
1724 | unusedFunction | 561 | style | The function 'cJSON_AddItemToArray' is never used. |
1773 | unusedFunction | 561 | style | The function 'cJSON_AddItemToObject' is never used. |
1778 | unusedFunction | 561 | style | The function 'cJSON_AddItemToObjectCS' is never used. |
1782 | unusedFunction | 561 | style | The function 'cJSON_AddItemReferenceToArray' is never used. |
1790 | unusedFunction | 561 | style | The function 'cJSON_AddItemReferenceToObject' is never used. |
1798 | unusedFunction | 561 | style | The function 'cJSON_AddNullToObject' is never used. |
1808 | unusedFunction | 561 | style | The function 'cJSON_AddTrueToObject' is never used. |
1818 | unusedFunction | 561 | style | The function 'cJSON_AddFalseToObject' is never used. |
1828 | unusedFunction | 561 | style | The function 'cJSON_AddBoolToObject' is never used. |
1838 | unusedFunction | 561 | style | The function 'cJSON_AddNumberToObject' is never used. |
1848 | unusedFunction | 561 | style | The function 'cJSON_AddStringToObject' is never used. |
1858 | unusedFunction | 561 | style | The function 'cJSON_AddRawToObject' is never used. |
1868 | unusedFunction | 561 | style | The function 'cJSON_AddObjectToObject' is never used. |
1878 | unusedFunction | 561 | style | The function 'cJSON_AddArrayToObject' is never used. |
1925 | unusedFunction | 561 | style | The function 'cJSON_DeleteItemFromArray' is never used. |
1941 | unusedFunction | 561 | style | The function 'cJSON_DeleteItemFromObject' is never used. |
1945 | unusedFunction | 561 | style | The function 'cJSON_DeleteItemFromObjectCaseSensitive' is never used. |
1950 | unusedFunction | 561 | style | The function 'cJSON_InsertItemInArray' is never used. |
2018 | unusedFunction | 561 | style | The function 'cJSON_ReplaceItemInArray' is never used. |
2045 | unusedFunction | 561 | style | The function 'cJSON_ReplaceItemInObject' is never used. |
2049 | unusedFunction | 561 | style | The function 'cJSON_ReplaceItemInObjectCaseSensitive' is never used. |
2123 | unusedFunction | 561 | style | The function 'cJSON_CreateStringReference' is never used. |
2133 | unusedFunction | 561 | style | The function 'cJSON_CreateObjectReference' is never used. |
2143 | unusedFunction | 561 | style | The function 'cJSON_CreateArrayReference' is never used. |
2186 | unusedFunction | 561 | style | The function 'cJSON_CreateIntArray' is never used. |
2219 | unusedFunction | 561 | style | The function 'cJSON_CreateFloatArray' is never used. |
2252 | unusedFunction | 561 | style | The function 'cJSON_CreateDoubleArray' is never used. |
2285 | unusedFunction | 561 | style | The function 'cJSON_CreateStringArray' is never used. |
2321 | unusedFunction | 561 | style | The function 'cJSON_Duplicate' is never used. |
2440 | unusedFunction | 561 | style | The function 'cJSON_Minify' is never used. |
2481 | unusedFunction | 561 | style | The function 'cJSON_IsInvalid' is never used. |
2489 | unusedFunction | 561 | style | The function 'cJSON_IsFalse' is never used. |
2553 | unusedFunction | 561 | style | The function 'cJSON_IsRaw' is never used. |
2668 | unusedFunction | 561 | style | The function 'cJSON_malloc' is never used. |
2674 | uselessAssignmentPtrArg | 398 | warning | Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? |
src/libhttp.c |
612 | unusedFunction | 561 | style | The function 'HTTP_parseheaders' is never used. |
619 | unusedFunction | 561 | style | The function 'HTTP_parserequest' is never used. |
629 | unusedFunction | 561 | style | The function 'HTTP_parsereply' is never used. |