Diff report

Uploaded today

MessageID                           2.18.0    Head
CastIntegerToAddressAtReturn           1 
DacaWrongData                          1 
UnionZeroInit                                  6
accessMoved                            6 
allocaCalled                          73 
arithOperationsOnVoidPointer           7 
arrayIndexOutOfBounds                  2       1
arrayIndexOutOfBoundsCond              3      11
arrayIndexThenCheck                    3 
assertWithSideEffect                  22 
autoVariables                          8 
autovarInvalidDeallocation             1 
badBitmaskCheck                      345 
bitwiseOnBoolean                      13 
bufferAccessOutOfBounds                        7
catchExceptionByValue                129 
clarifyCalculation                     3 
clarifyCondition                       5 
compareBoolExpressionWithInt           4 
compareValueOutOfTypeRangeError        6       3
constParameter                         9      15
constParameterCallback               481     146
constParameterPointer                534     354
constParameterReference              123       1
constStatement                         2       2
constVariable                         21      19
constVariablePointer                1252    2160
constVariableReference                40       1
containerOutOfBounds                  12 
cstyleCast                           924      14
ctunullpointer                         7       5
dangerousTypeCast                   1304      12
deallocuse                             5       2
debug                                 34 
derefInvalidIteratorRedundantCheck             1
doubleFree                            12 
duplInheritedMember                   19       1
duplicateAssignExpression              5 
duplicateBranch                        1 
duplicateBreak                       351 
duplicateCondition                    12       1
duplicateConditionalAssign            13 
duplicateExpression                  325 
duplicateExpressionTernary                    18
duplicateValueTernary                 21 
funcArgNamesDifferent                518       6
funcArgOrderDifferent                  1 
functionConst                         55      35
functionStatic                       169      11
identicalConditionAfterEarlyExit       4 
identicalInnerCondition                3 
ignoredReturnErrorCode                 1       1
ignoredReturnValue                    24 
incorrectLogicOperator                 2 
intToPointerCast                       7 
integerOverflow                        1 
internalAstError                      16 
invalidFunctionArg                     2       7
invalidPointerCast                    18 
invalidPrintfArgType_sint             16 
invalidPrintfArgType_uint              6 
invalidScanfArgType_int                1 
invalidscanf                           4 
knownArgument                          1 
knownConditionTrueFalse              226       9
knownEmptyContainer                    1       1
leakNoVarFunctionCall                 16 
leakReturnValNotUsed                   4 
legacyUninitvar                        9 
memleak                               59 
memleakOnRealloc                       4 
mismatchAllocDealloc                   3 
missingMemberCopy                      5 
missingOverride                      137       3
missingReturn                         42      34
moduloofone                            1 
multiCondition                         2       1
negativeIndex                          8       8
noConstructor                          1 
noCopyConstructor                    741    1173
noDestructor                          37      37
noExplicitConstructor                155      19
noOperatorEq                         776    1223
nullPointer                           18      17
nullPointerArithmetic                  3       2
nullPointerArithmeticOutOfMemory      16       2
nullPointerArithmeticRedundantCheck    9 
nullPointerOutOfMemory               295      86
nullPointerOutOfResources              8 
nullPointerRedundantCheck            182      84
operatorEqToSelf                       7 
operatorEqVarError                    34 
oppositeExpression                             1
passedByValue                         49       2
passedByValueCallback                          2
pointerOutOfBoundsCond                         2
pointerSize                            2 
postfixOperator                        5 
preprocessorErrorDirective           883 
prohibitedbzeroCalled                  2 
prohibitedcurl_escapeCalled            1 
prohibitedcurl_unescapeCalled          1 
prohibitedg_type_class_add_privateCalled 5 
prohibitedgetgrnamCalled               1 
prohibitedgethostbynameCalled          1 
prohibitedgetpwnamCalled               2 
prohibitedgetpwuidCalled               1 
prohibitedgtk_hbox_newCalled          77 
prohibitedgtk_signal_connectCalled    47 
prohibitedgtk_vbox_newCalled          61 
prohibitedindexCalled                  1 
prohibitedlocaltimeCalled              7 
prohibitedqSwapCalled                  1 
prohibitedqrandCalled                          3
prohibitedqsrandCalled                         5
prohibitedsprintfCalled                        9
prohibitedstrtokCalled                45 
prohibitedttynameCalled                1 
prohibitedusleepCalled                 4 
prohibitedwxUsleepCalled               3 
redundantAssignInSwitch                1 
redundantAssignment                   87     172
redundantCondition                    17 
redundantCopyLocalConst                1 
redundantInitialization               15 
redundantPointerOp                     2 
rethrowNoCurrentException              1 
returnByReference                    208       3
returnDanglingLifetime                 2 
returnStdMoveLocal                     1 
selfAssignment                         4 
shadowArgument                        29       1
shadowFunction                       178      13
shadowVariable                       230      10
shiftNegativeLHS                               1
shiftTooManyBits                       4 
shiftTooManyBitsSigned                 5       6
signConversion                         1 
simplifyTypedef                        3 
simplifyUsing                                  1
sizeofFunctionCall                             2
sprintfOverlappingData                 1 
stlIfStrFind                           1 
syntaxError                           39     495
templateInstantiation                 11 
terminateStrncpy                       1       4
throwInEntryPoint                             67
throwInNoexceptFunction               43      43
truncLongCastAssignment                3       1
unassignedVariable                     1 
unhandledChar                                  5
uninitMemberVar                       40      29
uninitStructMember                     2 
uninitvar                             37      22
unknownMacro                          55       3
unreachableCode                       94 
unreadVariable                       570      53
unsignedLessThanZero                  11 
unsignedPositive                       3 
unusedAllocatedMemory                  1 
unusedLabel                            2       2
unusedLabelSwitch                      1 
unusedPrivateFunction                  1 
unusedStructMember                    47       3
unusedVariable                       148       2
useInitializationList                 23 
useStlAlgorithm                      119       8
uselessAssignmentArg                   3 
uselessAssignmentPtrArg                6 
uselessCallsSubstr                     1 
uselessOverride                        1       1
va_end_missing                         2 
valueFlowBailoutIncompleteVar       9464     395
valueFlowMaxIterations                74       3
varFuncNullUB                          9 
variableScope                         46     102
varid0                               125       3
virtualCallInConstructor              21 
zerodiv                                2 
zerodivcond                            1       2
================================================
                                   22785    7015

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                 24      20
arrayIndexOutOfBoundsCond             32     104
arrayIndexThenCheck                   37       3
assertWithSideEffect                 588 
assignBoolToFloat                              2
assignBoolToPointer                            1
assignIfError                          1 
autoVariables                         36       2
autovarInvalidDeallocation             5       2
badBitmaskCheck                     1110       2
bitwiseOnBoolean                      42 
bufferAccessOutOfBounds                6     127
catchExceptionByValue                129 
charLiteralWithCharPtrCompare          7 
clarifyCalculation                   104       3
clarifyCondition                      39       2
compareBoolExpressionWithInt          10 
comparePointers                        2 
compareValueOutOfTypeRangeError      724       5
comparisonOfBoolWithBoolError          2 
constParameter                       112     321
constParameterCallback              5775    2379
constParameterPointer               8239    2880
constParameterReference             1074      34
constStatement                        83      10
constVariable                        258     205
constVariablePointer               11382   19719
constVariableReference               465      14
containerOutOfBounds                 109       9
copyCtorPointerCopying                 4       1
cstyleCast                          4639     180
ctuOneDefinitionRuleViolation          2 
ctunullpointer                        12       5
ctunullpointerOutOfMemory              3 
ctunullpointerOutOfResources           1       4
dangerousTypeCast                   7209      40
danglingLifetime                      29 
danglingTemporaryLifetime              1 
deallocret                            11 
deallocuse                            85       2
debug                                 82       1
derefInvalidIterator                   1 
derefInvalidIteratorRedundantCheck     3       2
doubleFree                            59 
duplInheritedMember                  328       4
duplicateAssignExpression             36 
duplicateBranch                       39       1
duplicateBreak                       724       7
duplicateCondition                    64       5
duplicateConditionalAssign            54       1
duplicateExpression                  672       5
duplicateExpressionTernary             4     375
duplicateValueTernary                465 
eraseDereference                      10 
eraseIteratorOutOfBoundsCond           1 
exceptRethrowCopy                      2 
fflushOnInputStream                    1 
floatConversionOverflow                        2
funcArgNamesDifferent               4552      39
funcArgOrderDifferent                 15 
functionConst                        751     301
functionStatic                      1662      50
identicalConditionAfterEarlyExit      13      37
identicalInnerCondition               23 
ignoredReturnErrorCode                 4       2
ignoredReturnValue                   296       2
incorrectCharBooleanError              2 
incorrectLogicOperator                14       4
incorrectStringBooleanError           74 
initializerList                       87       1
intToPointerCast                     247 
integerOverflow                      402 
integerOverflowCond                    1 
internalAstError                      56 
internalError                                 19
invalidFunctionArg                    39      59
invalidFunctionArgBool                 7 
invalidFunctionArgStr                  4 
invalidLifetime                        7       2
invalidPointerCast                   199       6
invalidPrintfArgType_float             2 
invalidPrintfArgType_s                 2 
invalidPrintfArgType_sint            739      33
invalidPrintfArgType_uint            214       2
invalidScanfArgType_int               60       7
invalidScanfFormatWidth_smaller        5 
invalidTestForOverflow                 1 
invalidscanf                          42      12
iterateByValue                        20 
iterators3                             1 
knownArgument                          1 
knownConditionTrueFalse             1927     195
knownEmptyContainer                    1       2
knownPointerToBool                     4       5
leakNoVarFunctionCall                288 
leakReturnValNotUsed                 147       3
legacyUninitvar                       43      18
literalWithCharPtrCompare             29 
memleak                              650       5
memleakOnRealloc                      78       4
memsetClassFloat                       1 
mismatchAllocDealloc                  45 
mismatchingContainerExpression         1 
mismatchingContainers                  2       2
missingMemberCopy                     40 
missingOverride                     1278       9
missingReturn                        391     364
moduloAlwaysTrueFalse                  3 
moduloofone                            4       1
multiCondition                        21       1
multiplySizeof                         1 
negativeContainerIndex                 8       2
negativeIndex                         48      49
noConstructor                         27       1
noCopyConstructor                   5614    9145
noDestructor                         147     146
noExplicitConstructor               1102      44
noOperatorEq                        5716    9340
nullPointer                          294     239
nullPointerArithmetic                 24      33
nullPointerArithmeticOutOfMemory      87      30
nullPointerArithmeticRedundantCheck   26      17
nullPointerDefaultArg                          1
nullPointerOutOfMemory              1793     775
nullPointerOutOfResources             88      51
nullPointerRedundantCheck            723     424
objectIndex                            5 
operatorEqToSelf                       7 
operatorEqVarError                   202       1
oppositeExpression                     6       1
oppositeInnerCondition                 3       1
overlappingWriteFunction               1 
overlappingWriteUnion                  1 
passedByValue                        533      29
passedByValueCallback                  2       2
pointerOutOfBounds                     1       1
pointerOutOfBoundsCond                         8
pointerSize                           21       4
postfixOperator                      341       2
preprocessorErrorDirective          9017    4044
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            130 
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                  844    1530
redundantCondition                    96       1
redundantContinue                     19 
redundantCopyLocalConst                2 
redundantInitialization              170       3
redundantPointerOp                    11 
resourceLeak                          82       2
rethrowNoCurrentException              2 
returnByReference                    590       9
returnDanglingLifetime                10       1
returnImplicitInt                     24 
returnNonBoolInBooleanFunction         3 
returnReference                        2 
returnStdMoveLocal                     2 
sameIteratorExpression                 2 
selfAssignment                        72       7
shadowArgument                       172       3
shadowFunction                       771      46
shadowVariable                      1474      56
shiftNegative                          6 
shiftNegativeLHS                      85       6
shiftTooManyBits                      70       7
shiftTooManyBitsSigned               281      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                          15 
stlcstrAssignment                      1 
stlcstrParam                          15 
stlcstrStream                          2 
subtractPointers                       1 
suspiciousFloatingPointCast           14       8
syntaxError                          412    3557
templateInstantiation                 32       1
terminateStrncpy                      18       8
throwInEntryPoint                            606
throwInNoexceptFunction              297     293
truncLongCastAssignment               56       1
truncLongCastReturn                            3
unassignedVariable                    60      15
unhandledChar                                 81
unhandledExceptionSpecification        2 
uninitDerivedMemberVar                11 
uninitMemberVar                      809      38
uninitMemberVarPrivate                19 
uninitStructMember                    23 
uninitdata                             3 
uninitvar                            402     210
unknownEvaluationOrder                 1 
unknownMacro                         709      22
unpreciseMathCall                      7 
unreachableCode                      214       3
unreadVariable                      3089     359
unsafeClassCanLeak                     1 
unsignedLessThanZero                 490       3
unsignedPositive                      87 
unusedAllocatedMemory                 79 
unusedLabel                           23       2
unusedLabelSwitch                      1 
unusedPrivateFunction                148       1
unusedScopedObject                     2 
unusedStructMember                  1478      19
unusedVariable                       576      20
useInitializationList                285       7
useStlAlgorithm                      502      16
uselessAssignmentArg                  13 
uselessAssignmentPtrArg               68 
uselessCallsSubstr                     9 
uselessOverride                       45       3
va_end_missing                        22 
va_list_usedBeforeStarted             10 
valueFlowBailoutIncompleteVar      69473    3094
valueFlowMaxIterations               103      21
varFuncNullUB                        985 
variableScope                        608     950
varid0                               747     126
virtualCallInConstructor             115       3
wrongPrintfScanfArgNum                20       1
zerodiv                               22       7
zerodivcond                            4      60
================================================
                                  177038   63561