Diff report

Uploaded today

MessageID                           2.18.0    Head
DacaWrongData                          5 
UnionZeroInit                                 17
accessMoved                            4 
allocaCalled                           9 
arithOperationsOnVoidPointer           1 
arrayIndexOutOfBounds                  4       6
arrayIndexOutOfBoundsCond              1       9
arrayIndexThenCheck                    5 
assertWithSideEffect                  54 
autoVariables                          4 
autovarInvalidDeallocation             1 
badBitmaskCheck                        6 
bufferAccessOutOfBounds                        7
clarifyCalculation                     1 
compareBoolExpressionWithInt           1 
compareValueOutOfTypeRangeError       27 
comparisonOfBoolWithBoolError          2 
constParameter                         8      22
constParameterCallback               520     339
constParameterPointer                668     341
constParameterReference               58       3
constStatement                         9       3
constVariable                         21      57
constVariablePointer                 865    3025
constVariableReference                50       2
containerOutOfBounds                   6       4
cstyleCast                           477       7
ctunullpointer                         2 
dangerousTypeCast                    975 
danglingLifetime                       7 
deallocret                             1 
deallocuse                             1 
debug                                  4 
doubleFree                             8 
duplInheritedMember                    9 
duplicateAssignExpression              6 
duplicateBranch                        4 
duplicateBreak                         8 
duplicateCondition                             1
duplicateConditionalAssign             1 
duplicateExpression                    2 
duplicateExpressionTernary             1      24
duplicateValueTernary                 38 
funcArgNamesDifferent                263       1
functionConst                         94      31
functionStatic                       312       1
identicalConditionAfterEarlyExit       2 
identicalInnerCondition                2 
ignoredReturnValue                    20       1
incorrectStringBooleanError           17 
initializerList                        9       1
intToPointerCast                      18 
integerOverflow                       28 
integerOverflowCond                    1 
internalAstError                      20 
internalError                                  1
invalidFunctionArg                     8 
invalidLifetime                        1       2
invalidPointerCast                    14 
invalidPrintfArgType_sint             55 
invalidPrintfArgType_uint              6 
invalidScanfArgType_int                2 
invalidScanfFormatWidth_smaller        1 
iterateByValue                         5 
knownConditionTrueFalse              239       8
leakNoVarFunctionCall                208 
leakReturnValNotUsed                  52 
legacyUninitvar                        4       3
memleak                              140     114
mismatchAllocDealloc                   3 
missingOverride                       20 
missingReturn                         78      76
moduloAlwaysTrueFalse                  3 
negativeIndex                          2       7
noConstructor                          1 
noCopyConstructor                    767    1252
noDestructor                          22      22
noExplicitConstructor                 23 
noOperatorEq                         775    1278
nullPointer                           41      15
nullPointerArithmetic                  6 
nullPointerArithmeticOutOfMemory       3       2
nullPointerArithmeticRedundantCheck    1 
nullPointerDefaultArg                          1
nullPointerOutOfMemory                78      70
nullPointerOutOfResources             20 
nullPointerRedundantCheck             63      23
operatorEqVarError                   340       1
passedByValue                         41       8
pointerSize                            2 
postfixOperator                        1 
preprocessorErrorDirective          1680 
prohibitedGetTextIndentCalled          1 
prohibitedHidePopupCalled              3 
prohibitedInsertCalled                 1 
prohibitedSetTextIndentCalled          1 
prohibitedShowPopupCalled                      1
prohibitedcryptCalled                  2 
prohibitedctime_rCalled                1 
prohibitedg_strcasecmpCalled           3 
prohibitedg_type_class_add_privateCalled 17 
prohibitedgetpwnamCalled               1 
prohibitedgmtimeCalled                 1 
prohibitedgtk_hbox_newCalled         126 
prohibitedgtk_signal_connectCalled     4 
prohibitedgtk_signal_connect_fullCalled 7 
prohibitedgtk_vbox_newCalled         117 
prohibitedlocaltimeCalled             10 
prohibitedqInstallMsgHandlerCalled             1
prohibitedqrandCalled                          9
prohibitedqsrandCalled                         1
prohibitedrindexCalled                 2 
prohibitedstrtokCalled                 2 
prohibitedttynameCalled                1 
prohibitedusleepCalled                14 
prohibitedutimeCalled                  2 
prohibitedwxDos2UnixFilenameCalled     1 
prohibitedwxFileNameFromPathCalled     1 
redundantAssignInSwitch                1 
redundantAssignment                   30     175
redundantCondition                     9 
redundantContinue                      7 
redundantInitialization               18 
resourceLeak                          61       4
returnByReference                      8 
returnDanglingLifetime                 2 
returnImplicitInt                      1 
returnStdMoveLocal                     1 
selfAssignment                         3       1
shadowArgument                        14 
shadowFunction                         4 
shadowVariable                       119 
shiftTooManyBitsSigned                30      31
signConversion                         7 
simplifyTypedef                        1 
simplifyUsing                          1 
sizeofDivisionMemfunc                  3 
syntaxError                          210     598
terminateStrncpy                       2 
throwInEntryPoint                            102
throwInNoexceptFunction               47      47
truncLongCastAssignment                4 
unhandledChar                                174
uninitMemberVar                       41 
uninitStructMember                     4 
uninitdata                                     6
uninitvar                             30      31
unknownMacro                          74       2
unpreciseMathCall                      1 
unreachableCode                       31 
unreadVariable                       254      22
unsignedLessThanZero                  14       1
unusedAllocatedMemory                  1 
unusedLabel                            4 
unusedPrivateFunction                  1 
unusedStructMember                   124 
unusedVariable                        22       6
useInitializationList                 17 
useStlAlgorithm                       18 
uselessAssignmentArg                   1 
uselessAssignmentPtrArg                6 
uselessOverride                        2 
va_end_missing                         7 
valueFlowBailoutIncompleteVar       6622     366
valueFlowMaxIterations                 3       4
varFuncNullUB                        122 
variableScope                         15      79
varid0                                51      14
virtualCallInConstructor               9 
wrongPrintfScanfArgNum                 2 
zerodiv                                1       1
zerodivcond                                   10
================================================
                                   17743    8471

All

MessageID                           2.18.0    Head
AssignmentAddressToInteger             1 
AssignmentIntegerToAddress             6       2
CastIntegerToAddressAtReturn          12       1
DacaWrongData                         31 
IOWithoutPositioning                   2 
UnionZeroInit                                129
accessMoved                           22       1
allocaCalled                         340 
argumentSize                           1 
arithOperationsOnVoidPointer         191 
arrayIndexOutOfBounds                 27      21
arrayIndexOutOfBoundsCond             32     104
arrayIndexThenCheck                   37       3
assertWithSideEffect                 588 
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     321
constParameterCallback              5770    2375
constParameterPointer               7979    2880
constParameterReference             1088      37
constStatement                        85       9
constVariable                        269     204
constVariablePointer               11380   19667
constVariableReference               496      15
containerOutOfBounds                 109      10
copyCtorPointerCopying                 4       1
cstyleCast                          4738     180
ctuOneDefinitionRuleViolation          6 
ctunullpointer                        15       5
ctunullpointerOutOfMemory              4       3
dangerousTypeCast                   7303      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                    65       5
duplicateConditionalAssign            54       1
duplicateExpression                  681       5
duplicateExpressionTernary             4     375
duplicateValueTernary                469 
eraseDereference                       2 
eraseIteratorOutOfBoundsCond           1 
exceptRethrowCopy                      2 
fflushOnInputStream                    1 
floatConversionOverflow                        2
funcArgNamesDifferent               4667      39
funcArgOrderDifferent                 15 
functionConst                        804     310
functionStatic                      1611      51
identicalConditionAfterEarlyExit      13      37
identicalInnerCondition               27 
ignoredReturnErrorCode                 4       2
ignoredReturnValue                   299       2
incorrectCharBooleanError              2 
incorrectLogicOperator                15       4
incorrectStringBooleanError           74 
initializerList                       87       1
intToPointerCast                     247 
integerOverflow                      402 
integerOverflowCond                    1 
internalAstError                      56 
internalError                                  8
invalidFunctionArg                    41      59
invalidFunctionArgBool                 7 
invalidFunctionArgStr                  4 
invalidLifetime                        8       2
invalidPointerCast                   230       6
invalidPrintfArgType_float             2 
invalidPrintfArgType_s                 2 
invalidPrintfArgType_sint            731      33
invalidPrintfArgType_uint            214       2
invalidScanfArgType_int               62       7
invalidScanfFormatWidth_smaller        5 
invalidTestForOverflow                 1 
invalidscanf                          42      12
iterateByValue                        20 
iterators3                             1 
knownArgument                          1 
knownConditionTrueFalse             1923     198
knownEmptyContainer                    1       2
knownPointerToBool                     4       5
leakNoVarFunctionCall                288 
leakReturnValNotUsed                 147       1
legacyUninitvar                       43      15
literalWithCharPtrCompare             29 
memleak                              648     766
memleakOnRealloc                      78       4
memsetClassFloat                       1 
mismatchAllocDealloc                  45 
mismatchingContainerExpression         1 
mismatchingContainers                  2       2
missingMemberCopy                     43       6
missingOverride                     1278       9
missingReturn                        390     363
moduloAlwaysTrueFalse                  3 
moduloofone                            4       1
multiCondition                        21       1
multiplySizeof                         1 
negativeContainerIndex                 8       2
negativeIndex                         86      47
noConstructor                         27       1
noCopyConstructor                   5606    9132
noDestructor                         148     147
noExplicitConstructor               1113      44
noOperatorEq                        5712    9330
nullPointer                          293     244
nullPointerArithmetic                 28      35
nullPointerArithmeticOutOfMemory      97      31
nullPointerArithmeticRedundantCheck   25      17
nullPointerDefaultArg                          1
nullPointerOutOfMemory              1827     776
nullPointerOutOfResources             89      51
nullPointerRedundantCheck            722     421
objectIndex                            5 
operatorEqToSelf                       7 
operatorEqVarError                   546       2
oppositeExpression                     7       1
oppositeInnerCondition                 4       1
overlappingWriteFunction               1 
overlappingWriteUnion                  1 
passedByValue                        541      31
passedByValueCallback                  2       2
pointerOutOfBounds                     1       1
pointerOutOfBoundsCond                         8
pointerSize                           21       4
postfixOperator                      341       2
preprocessorErrorDirective         14042     104
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                 3 
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                  836    1602
redundantCondition                    96       1
redundantContinue                     19 
redundantCopyLocalConst                2 
redundantInitialization              173       3
redundantPointerOp                    11 
resourceLeak                         128      35
rethrowNoCurrentException              2 
returnByReference                    591       9
returnDanglingLifetime                10       1
returnImplicitInt                     24 
returnNonBoolInBooleanFunction         3 
returnReference                        2 
returnStdMoveLocal                     2 
sameIteratorExpression                 2 
selfAssignment                        56       7
shadowArgument                       183       3
shadowFunction                       785      46
shadowVariable                      1560      56
shiftNegative                          6 
shiftNegativeLHS                      85       6
shiftTooManyBits                      70       7
shiftTooManyBitsSigned               287      88
signConversion                        82 
signConversionCond                     1       2
simplifyTypedef                       30       5
simplifyUsing                         87       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                          761    6051
templateInstantiation                 33       1
terminateStrncpy                      18       8
throwInEntryPoint                            598
throwInNoexceptFunction              294     290
truncLongCastAssignment               80       1
truncLongCastReturn                            3
unassignedVariable                    61      15
unhandledChar                                349
unhandledExceptionSpecification        2 
uninitDerivedMemberVar                11 
uninitMemberVar                      886      38
uninitMemberVarPrivate                19 
uninitStructMember                    46 
uninitdata                             1       8
uninitvar                            462     211
unknownEvaluationOrder                 1 
unknownMacro                         709      22
unpreciseMathCall                     11 
unreachableCode                      214       3
unreadVariable                      3116     362
unsafeClassCanLeak                     1 
unsignedLessThanZero                 489       3
unsignedPositive                      87 
unusedAllocatedMemory                 79 
unusedLabel                           23       2
unusedLabelSwitch                      1 
unusedPrivateFunction                150       1
unusedScopedObject                     2 
unusedStructMember                  1471      19
unusedVariable                       518      20
useInitializationList                285       7
useStlAlgorithm                      512      17
uselessAssignmentArg                  20       1
uselessAssignmentPtrArg               68 
uselessCallsSubstr                     9 
uselessOverride                       46       3
va_end_missing                        22 
va_list_usedBeforeStarted             10 
valueFlowBailoutIncompleteVar      70093    3223
valueFlowMaxIterations               104      21
varFuncNullUB                        947 
variableScope                        800     954
varid0                               760     126
virtualCallInConstructor             116       3
wrongPrintfScanfArgNum                20       1
zerodiv                               22       7
zerodivcond                            4      60
================================================
                                  184125   63317