Diff report

Uploaded today

MessageID                           2.18.0    Head
AssignmentIntegerToAddress             5 
CastIntegerToAddressAtReturn           2 
DacaWrongData                         12 
IOWithoutPositioning                   1 
UnionZeroInit                                 81
accessMoved                            8 
allocaCalled                          19 
arithOperationsOnVoidPointer          76 
arrayIndexOutOfBounds                 13      11
arrayIndexOutOfBoundsCond             12      14
arrayIndexThenCheck                   16       1
assertWithSideEffect                 203 
autoVariables                         10       2
autovarInvalidDeallocation             2 
badBitmaskCheck                      100 
bitwiseOnBoolean                       9 
bufferAccessOutOfBounds                1      58
clarifyCalculation                    33 
clarifyCondition                       3 
compareBoolExpressionWithInt           2 
compareValueOutOfTypeRangeError       47 
comparisonOfBoolWithBoolError          2 
constParameter                        38      90
constParameterCallback              2424     935
constParameterPointer               3155    1069
constParameterReference              607      17
constStatement                        14       4
constVariable                        110      86
constVariablePointer                3831    8193
constVariableReference               205       7
containerOutOfBounds                  72       3
copyCtorPointerCopying                 2 
cstyleCast                          2276       7
ctunullpointer                         1 
dangerousTypeCast                   3987 
danglingLifetime                       7 
deallocret                             3 
deallocuse                            16 
debug                                  9 
derefInvalidIterator                   1 
derefInvalidIteratorRedundantCheck     3 
doubleFree                            21 
duplInheritedMember                  110       1
duplicateAssignExpression             15 
duplicateBranch                       16 
duplicateBreak                        29       5
duplicateCondition                    16       1
duplicateConditionalAssign            17       1
duplicateExpression                   35 
duplicateExpressionTernary             1      75
duplicateValueTernary                101 
exceptRethrowCopy                      2 
floatConversionOverflow                        1
funcArgNamesDifferent               1329      13
funcArgOrderDifferent                  9 
functionConst                        268      94
functionStatic                       555      14
identicalConditionAfterEarlyExit       5 
identicalInnerCondition                9 
ignoredReturnErrorCode                 1 
ignoredReturnValue                   152       1
incorrectLogicOperator                 4 
incorrectStringBooleanError           38 
initializerList                        9       1
intToPointerCast                     110 
integerOverflow                       43 
integerOverflowCond                    1 
internalAstError                      25 
internalError                                  2
invalidFunctionArg                    24      11
invalidFunctionArgBool                 4 
invalidFunctionArgStr                  3 
invalidLifetime                        5       2
invalidPointerCast                   117       2
invalidPrintfArgType_sint            352       1
invalidPrintfArgType_uint             70 
invalidScanfArgType_int               16       1
invalidScanfFormatWidth_smaller        1 
invalidscanf                          10      11
iterateByValue                         7 
knownConditionTrueFalse              696      42
knownPointerToBool                     1       2
leakNoVarFunctionCall                230 
leakReturnValNotUsed                  84       2
legacyUninitvar                       17       9
memleak                              296       2
memleakOnRealloc                      39       3
memsetClassFloat                       1 
mismatchAllocDealloc                   8 
mismatchingContainers                  2 
missingMemberCopy                      3 
missingOverride                      663 
missingReturn                        211     205
moduloAlwaysTrueFalse                  3 
multiCondition                         2 
negativeIndex                         16      14
noConstructor                          3       1
noCopyConstructor                   1982    3273
noDestructor                          51      51
noExplicitConstructor                170       7
noOperatorEq                        2025    3332
nullPointer                          195      84
nullPointerArithmetic                 15       8
nullPointerArithmeticOutOfMemory      14       4
nullPointerArithmeticRedundantCheck    8       5
nullPointerDefaultArg                          1
nullPointerOutOfMemory               610     336
nullPointerOutOfResources             44       9
nullPointerRedundantCheck            218     156
operatorEqVarError                     8 
oppositeExpression                     5 
overlappingWriteFunction               1 
overlappingWriteUnion                  1 
passedByValue                        153      13
pointerOutOfBoundsCond                         2
pointerSize                           13       4
postfixOperator                      117 
preprocessorErrorDirective           198    3270
prohibitedAllocCalled                  3 
prohibitedCreateCalled                 1 
prohibitedGetTextIndentCalled          1 
prohibitedHidePopupCalled              3 
prohibitedIconizedCalled               1 
prohibitedInsertCalled                 1 
prohibitedLengthCalled                 1       1
prohibitedRemoveCalled                 2 
prohibitedSetTextIndentCalled          1 
prohibitedShowPopupCalled                      1
prohibitedasctimeCalled                1 
prohibitedbzeroCalled                117 
prohibitedcryptCalled                  2 
prohibitedctermidCalled                1 
prohibitedctime_rCalled                1 
prohibitedcurl_escapeCalled            6 
prohibitedcurl_maprintfCalled          6 
prohibitedcurl_msnprintfCalled         2 
prohibitedg_basenameCalled             2 
prohibitedg_strcasecmpCalled          18 
prohibitedg_strncasecmpCalled          2 
prohibitedg_type_class_add_privateCalled 32 
prohibitedgetgrgidCalled               1 
prohibitedgetgrnamCalled               4 
prohibitedgethostbyaddrCalled          1 
prohibitedgethostbynameCalled          1 
prohibitedgetpwnamCalled              10 
prohibitedgetpwuidCalled              13 
prohibitedgetservbynameCalled          1 
prohibitedgetspnamCalled               4 
prohibitedgmtimeCalled                21 
prohibitedgtk_hbox_newCalled         471 
prohibitedgtk_signal_connectCalled   209 
prohibitedgtk_signal_connect_fullCalled 7 
prohibitedgtk_vbox_newCalled         401 
prohibitedindexCalled                  2 
prohibitedlengthCalled                 1 
prohibitedlocaltimeCalled             49 
prohibitedqInstallMsgHandlerCalled             1
prohibitedqSwapCalled                          1
prohibitedqrandCalled                         11
prohibitedqsrandCalled                         3
prohibitedrindexCalled                 2 
prohibitedstrtokCalled                33       1
prohibitedtmpnamCalled                 1       1
prohibitedttynameCalled                3 
prohibitedusleepCalled               131 
prohibitedutimeCalled                 10 
prohibitedvforkCalled                  1 
prohibitedwxDos2UnixFilenameCalled     1 
prohibitedwxFileNameFromPathCalled     1 
publicAllocationError                  1 
redundantAssignInSwitch                1 
redundantAssignment                  407     646
redundantCondition                    27 
redundantContinue                     12 
redundantInitialization               60 
resourceLeak                          27       1
rethrowNoCurrentException              1 
returnByReference                     39 
returnDanglingLifetime                 3       1
returnImplicitInt                      1 
returnStdMoveLocal                     1 
sameIteratorExpression                 2 
selfAssignment                         5       1
shadowArgument                        66 
shadowFunction                       134       8
shadowVariable                       481       8
shiftNegative                          5 
shiftNegativeLHS                      14       2
shiftTooManyBitsSigned               137      37
signConversion                        13 
signConversionCond                             1
simplifyTypedef                        4       5
simplifyUsing                         14 
sizeofCalculation                      3 
sizeofDivisionMemfunc                  3 
sizeofFunctionCall                             3
sizeofwithnumericparameter             2 
stlFindInsert                          2 
stlIfStrFind                           4 
stlcstrParam                           3 
stlcstrStream                          2 
suspiciousFloatingPointCast           10 
syntaxError                           50       4
templateInstantiation                  2       1
terminateStrncpy                       6       3
throwInEntryPoint                            266
throwInNoexceptFunction              127     126
truncLongCastAssignment               33 
unassignedVariable                    52 
uninitDerivedMemberVar                 5 
uninitMemberVar                      128       4
uninitStructMember                     8 
uninitdata                             2 
uninitvar                            140      80
unknownEvaluationOrder                 1 
unknownMacro                         257       8
unpreciseMathCall                      7 
unreachableCode                       63 
unreadVariable                      1025     123
unsignedLessThanZero                  35       1
unsignedPositive                       6 
unusedAllocatedMemory                  7 
unusedLabel                           14 
unusedPrivateFunction                 44       1
unusedStructMember                   698 
unusedVariable                       135       9
useInitializationList                130       4
useStlAlgorithm                      133       3
uselessAssignmentArg                   4 
uselessAssignmentPtrArg               29 
uselessCallsSubstr                     3 
uselessOverride                       13 
va_end_missing                        10 
va_list_usedBeforeStarted              7 
valueFlowBailoutIncompleteVar      24677     776
valueFlowMaxIterations                12       7
varFuncNullUB                        746 
variableScope                        321     310
varid0                               248      20
virtualCallInConstructor              28 
wrongPrintfScanfArgNum                 6       1
zerodiv                                3       4
zerodivcond                            1      27
================================================
                                   61253   24161

All

MessageID                           2.18.0    Head
AssignmentAddressToInteger             1 
AssignmentIntegerToAddress             6       2
CastIntegerToAddressAtReturn          12       1
DacaWrongData                         31 
IOWithoutPositioning                   2 
UnionZeroInit                                130
accessMoved                           22       1
allocaCalled                         340 
argumentSize                           1 
arithOperationsOnVoidPointer         191 
arrayIndexOutOfBounds                 27      20
arrayIndexOutOfBoundsCond             32     104
arrayIndexThenCheck                   37       3
assertWithSideEffect                 584 
assignBoolToFloat                              2
assignBoolToPointer                            1
assignIfError                          1 
autoVariables                         36       2
autovarInvalidDeallocation             5       2
badBitmaskCheck                     1110       2
bitwiseOnBoolean                      46 
bufferAccessOutOfBounds                6     127
catchExceptionByValue                129 
charLiteralWithCharPtrCompare          7 
clarifyCalculation                   104       3
clarifyCondition                      40       2
compareBoolExpressionWithInt          10 
comparePointers                        2 
compareValueOutOfTypeRangeError      724       5
comparisonOfBoolWithBoolError          2 
constParameter                       117     320
constParameterCallback              5778    2378
constParameterPointer               8287    2865
constParameterReference             1087      32
constStatement                        85      10
constVariable                        272     204
constVariablePointer               11433   19707
constVariableReference               490      14
containerOutOfBounds                 109       9
copyCtorPointerCopying                 2       1
cstyleCast                          4724     180
ctuOneDefinitionRuleViolation         18 
ctunullpointer                         6       1
ctunullpointerOutOfMemory              6       1
ctuuninitvar                           2 
dangerousTypeCast                   7286      40
danglingLifetime                      29 
danglingTemporaryLifetime              1 
deallocret                            11 
deallocuse                            85       2
debug                                 82       1
derefInvalidIterator                   1 
derefInvalidIteratorRedundantCheck     3       2
doubleFree                            59 
duplInheritedMember                  332       4
duplicateAssignExpression             36 
duplicateBranch                       42       1
duplicateBreak                       723       7
duplicateCondition                    64       5
duplicateConditionalAssign            54       1
duplicateExpression                  682       5
duplicateExpressionTernary             4     375
duplicateValueTernary                469 
eraseDereference                      10 
eraseIteratorOutOfBoundsCond           1 
exceptRethrowCopy                      2 
fflushOnInputStream                    1 
floatConversionOverflow                        2
funcArgNamesDifferent               4711      39
funcArgOrderDifferent                 15 
functionConst                        787     303
functionStatic                      1728      45
identicalConditionAfterEarlyExit      13      37
identicalInnerCondition               27 
ignoredReturnErrorCode                 4       2
ignoredReturnValue                   299       2
incorrectCharBooleanError              2 
incorrectLogicOperator                15       4
incorrectStringBooleanError           68 
initializerList                       87       1
intToPointerCast                     247 
integerOverflow                      402 
integerOverflowCond                    1 
internalAstError                      56 
internalError                                 16
invalidFunctionArg                    41      59
invalidFunctionArgBool                 7 
invalidFunctionArgStr                  4 
invalidLifetime                        8       2
invalidPointerCast                   236       6
invalidPrintfArgType_float             2 
invalidPrintfArgType_s                 2 
invalidPrintfArgType_sint            741      33
invalidPrintfArgType_uint            214       2
invalidScanfArgType_int               60       7
invalidScanfFormatWidth_smaller        5 
invalidTestForOverflow                 1 
invalidscanf                          42      12
iterateByValue                        20 
iterators3                             1 
knownArgument                          1 
knownConditionTrueFalse             1921     155
knownEmptyContainer                    1       2
knownPointerToBool                     4       5
leakNoVarFunctionCall                288 
leakReturnValNotUsed                 147       3
legacyUninitvar                       43      22
literalWithCharPtrCompare             29 
memleak                              650       5
memleakOnRealloc                      78       4
memsetClassFloat                       1 
mismatchAllocDealloc                  45 
mismatchingContainerExpression         1 
mismatchingContainers                  2       2
missingMemberCopy                     40 
missingOverride                     1275       9
missingReturn                        391     364
moduloAlwaysTrueFalse                  3 
moduloofone                            4       1
multiCondition                        21       1
multiplySizeof                         1 
negativeContainerIndex                 8       2
negativeIndex                         86      49
noConstructor                         27       1
noCopyConstructor                   5616    9162
noDestructor                         147     146
noExplicitConstructor               1103      44
noOperatorEq                        5718    9357
nullPointer                          293     238
nullPointerArithmetic                 28      33
nullPointerArithmeticOutOfMemory      90      21
nullPointerArithmeticRedundantCheck   26      17
nullPointerDefaultArg                          1
nullPointerOutOfMemory              1804     775
nullPointerOutOfResources             88      51
nullPointerRedundantCheck            722     424
objectIndex                            4 
operatorEqToSelf                       7 
operatorEqVarError                    64 
oppositeExpression                     7       1
oppositeInnerCondition                 4       1
overlappingWriteFunction               1 
overlappingWriteUnion                  1 
passedByValue                        541      26
passedByValueCallback                  2       2
pointerOutOfBoundsCond                         8
pointerSize                           21       4
postfixOperator                      341       2
preprocessorErrorDirective           406    9453
prohibitedAllocCalled                  3 
prohibitedCreateCalled                 1 
prohibitedGetTextCalled               10 
prohibitedGetTextIndentCalled          1 
prohibitedHidePopupCalled              3 
prohibitedIconizedCalled               1 
prohibitedInsertCalled                 1 
prohibitedLengthCalled                 1       1
prohibitedRemoveCalled                 2 
prohibitedSetTextCalled                8 
prohibitedSetTextIndentCalled          1 
prohibitedShowPopupCalled                      1
prohibitedasctimeCalled                7 
prohibitedbcmpCalled                   1 
prohibitedbcopyCalled                  8 
prohibitedbzeroCalled                140 
prohibitedcryptCalled                  2 
prohibitedctermidCalled                1 
prohibitedctime_rCalled                2 
prohibitedcurl_escapeCalled            7 
prohibitedcurl_maprintfCalled          6 
prohibitedcurl_msnprintfCalled         2 
prohibitedcurl_unescapeCalled          1 
prohibitedg_basenameCalled            36 
prohibitedg_dirnameCalled              7 
prohibitedg_strcasecmpCalled          18 
prohibitedg_string_sprintfaCalled     18 
prohibitedg_strncasecmpCalled          5 
prohibitedg_type_class_add_privateCalled 85 
prohibitedgetgrentCalled               3 
prohibitedgetgrgidCalled               5 
prohibitedgetgrnamCalled              10 
prohibitedgethostbyaddrCalled          1 
prohibitedgethostbynameCalled          7       1
prohibitedgetloginCalled               1 
prohibitedgetnetbynameCalled           1 
prohibitedgetprotobynameCalled         2 
prohibitedgetprotobynumberCalled       6 
prohibitedgetpwentCalled               3 
prohibitedgetpwnamCalled              23 
prohibitedgetpwuidCalled              23 
prohibitedgetservbynameCalled          1 
prohibitedgetspnamCalled               4 
prohibitedgmtimeCalled                31       2
prohibitedgtk_hbox_newCalled        1383 
prohibitedgtk_signal_connectCalled   382 
prohibitedgtk_signal_connect_fullCalled 7 
prohibitedgtk_vbox_newCalled        1069 
prohibitedindexCalled                 27 
prohibitedlengthCalled                 1 
prohibitedlocaltimeCalled            131 
prohibitedmktempCalled                 2 
prohibitedqInstallMsgHandlerCalled             4
prohibitedqSortCalled                          3
prohibitedqSwapCalled                  3       4
prohibitedqrandCalled                         15
prohibitedqsrandCalled                 1      12
prohibitedrindexCalled                18 
prohibitedscalbCalled                 17 
prohibitedsprintfCalled                       12
prohibitedsqlite3_prepareCalled        4 
prohibitedstrtokCalled               119       1
prohibitedtmpnamCalled                 2       1
prohibitedttynameCalled                4 
prohibitedusleepCalled               184       1
prohibitedutimeCalled                 21 
prohibitedvforkCalled                  1 
prohibitedwxDos2UnixFilenameCalled     1 
prohibitedwxFileNameFromPathCalled     1 
prohibitedwxUsleepCalled               3 
publicAllocationError                  2 
redundantAssignInSwitch                2 
redundantAssignment                  853    1601
redundantCondition                    96       1
redundantContinue                     19 
redundantCopyLocalConst                2 
redundantInitialization              174       3
redundantPointerOp                    11 
resourceLeak                          82       2
rethrowNoCurrentException              2 
returnByReference                    591       9
returnDanglingLifetime                 9       1
returnImplicitInt                     24 
returnNonBoolInBooleanFunction         3 
returnReference                        2 
returnStdMoveLocal                     2 
sameIteratorExpression                 2 
selfAssignment                        72       7
shadowArgument                       185       3
shadowFunction                       787      46
shadowVariable                      1588      56
shiftNegative                          6 
shiftNegativeLHS                      85       6
shiftTooManyBits                      70       7
shiftTooManyBitsSigned               287      89
signConversion                        82 
signConversionCond                     2       2
simplifyTypedef                       30       5
simplifyUsing                         86       1
sizeofCalculation                    113 
sizeofDivisionMemfunc                  4 
sizeofFunctionCall                             9
sizeofwithnumericparameter            40 
sprintfOverlappingData                 2 
stlFindInsert                          3 
stlIfStrFind                          16 
stlcstrAssignment                      1 
stlcstrParam                          15 
stlcstrReturn                          1 
stlcstrStream                          2 
subtractPointers                       1 
suspiciousFloatingPointCast           22       8
syntaxError                          200     677
templateInstantiation                 33       1
terminateStrncpy                      18       8
throwInEntryPoint                            607
throwInNoexceptFunction              297     293
truncLongCastAssignment               80       1
truncLongCastReturn                            3
unassignedVariable                    61      15
unhandledExceptionSpecification        2 
uninitDerivedMemberVar                11 
uninitMemberVar                      763      38
uninitMemberVarPrivate                19 
uninitStructMember                    47 
uninitdata                             5       1
uninitvar                            462     210
unknownEvaluationOrder                 1 
unknownMacro                         704      22
unpreciseMathCall                     11 
unreachableCode                      214       3
unreadVariable                      3146     360
unsafeClassCanLeak                     1 
unsignedLessThanZero                 490       3
unsignedPositive                      87 
unusedAllocatedMemory                 79 
unusedLabel                           22       2
unusedLabelSwitch                      1 
unusedPrivateFunction                150       1
unusedScopedObject                     2 
unusedStructMember                  1480      19
unusedVariable                       579      20
useInitializationList                287       7
useStlAlgorithm                      501      16
uselessAssignmentArg                  21 
uselessAssignmentPtrArg               68 
uselessCallsSubstr                     8 
uselessOverride                       46       3
va_end_missing                        22 
va_list_usedBeforeStarted             10 
valueFlowBailoutIncompleteVar      69443    3094
valueFlowMaxIterations               104      21
varFuncNullUB                        985 
variableScope                        790     946
varid0                               761     126
virtualCallInConstructor             116       1
wrongPrintfScanfArgNum                20       1
zerodiv                               22       7
zerodivcond                            4      60
================================================
                                  169277   66015