Diff report

Uploaded today

MessageID                           2.18.0    Head
AssignmentIntegerToAddress             1 
DacaWrongData                          5 
UnionZeroInit                                  1
accessMoved                                    1
arithOperationsOnVoidPointer           2 
arrayIndexOutOfBounds                  3 
arrayIndexOutOfBoundsCond                     39
assertWithSideEffect                   2 
autoVariables                          4 
bufferAccessOutOfBounds                        1
clarifyCalculation                     2 
clarifyCondition                       1 
comparePointers                        2 
compareValueOutOfTypeRangeError        2 
constParameter                         2     105
constParameterCallback               185     127
constParameterPointer                297     178
constParameterReference               18      10
constVariable                          5       4
constVariablePointer                 319    1198
constVariableReference                37 
containerOutOfBounds                   1 
cstyleCast                           262 
dangerousTypeCast                    152 
danglingLifetime                       2 
deallocuse                            11 
debug                                 10 
doubleFree                             1 
duplInheritedMember                    1 
duplicateBranch                        4 
duplicateBreak                         3 
duplicateCondition                     2 
duplicateExpression                            2
duplicateExpressionTernary                   178
duplicateValueTernary                180 
funcArgNamesDifferent                 99       3
functionConst                         33      15
functionStatic                        48 
identicalInnerCondition                2 
ignoredReturnValue                     1 
incorrectStringBooleanError            6 
initializerList                        5 
intToPointerCast                      42 
internalError                                  4
invalidFunctionArg                             1
invalidFunctionArgStr                  1 
invalidLifetime                        2 
invalidPointerCast                     6 
invalidPrintfArgType_float             1 
invalidPrintfArgType_sint             34 
invalidPrintfArgType_uint             42 
invalidScanfFormatWidth_smaller        1 
invalidTestForOverflow                 1 
invalidscanf                           5 
iterateByValue                         5 
knownConditionTrueFalse               93      50
knownPointerToBool                             1
leakNoVarFunctionCall                  4 
leakReturnValNotUsed                   1 
legacyUninitvar                        4 
memleak                                4      47
memleakOnRealloc                       1 
missingMemberCopy                      1 
missingOverride                       18 
missingReturn                         25      25
negativeContainerIndex                 1 
negativeIndex                          6       8
noCopyConstructor                    343     583
noDestructor                           7       7
noExplicitConstructor                 69       2
noOperatorEq                         346     590
nullPointer                            3      45
nullPointerArithmetic                  1       2
nullPointerArithmeticOutOfMemory       2       1
nullPointerArithmeticRedundantCheck    1       2
nullPointerOutOfMemory                47      83
nullPointerOutOfResources              4       2
nullPointerRedundantCheck             29      27
operatorEqVarError                     7 
passedByValue                         17       1
postfixOperator                        4 
preprocessorErrorDirective           977 
prohibitedbzeroCalled                  7 
prohibitedg_type_class_add_privateCalled 5 
prohibitedgetgrnamCalled               1 
prohibitedgetpwnamCalled               1 
prohibitedgetpwuidCalled               1 
prohibitedgmtimeCalled                         2
prohibitedgtk_hbox_newCalled         105 
prohibitedgtk_signal_connectCalled     9 
prohibitedgtk_vbox_newCalled          48 
prohibitedmktempCalled                 1 
prohibitedqsrandCalled                         2
prohibitedstrtokCalled                 5 
prohibitedusleepCalled                10 
prohibitedutimeCalled                  1 
redundantAssignment                   23     103
redundantCondition                     1 
redundantContinue                      4 
redundantInitialization               13 
redundantPointerOp                     7 
resourceLeak                           2       2
returnByReference                     17 
returnReference                        2 
selfAssignment                         1 
shadowArgument                        11 
shadowFunction                         9 
shadowVariable                        33       3
shiftTooManyBitsSigned                21 
signConversionCond                             1
simplifyUsing                         45 
syntaxError                           45     334
templateInstantiation                  7 
terminateStrncpy                       1 
throwInEntryPoint                             55
throwInNoexceptFunction               23      22
truncLongCastAssignment                1 
truncLongCastReturn                            3
unhandledChar                                  4
uninitMemberVar                       23 
uninitStructMember                     2 
uninitvar                             21      13
unknownMacro                          52       1
unreachableCode                        8       1
unreadVariable                       141      19
unsignedLessThanZero                   7 
unusedLabel                            1 
unusedStructMember                    47 
unusedVariable                        13 
useInitializationList                  7 
useStlAlgorithm                       21 
uselessAssignmentPtrArg                3 
valueFlowBailoutIncompleteVar       3036     171
valueFlowMaxIterations                         2
varFuncNullUB                         25 
variableScope                         16      71
varid0                                 6 
virtualCallInConstructor               7 
wrongPrintfScanfArgNum                 1 
zerodiv                                        1
zerodivcond                            1       3
================================================
                                    7763    4156

All

MessageID                           2.18.0    Head
AssignmentAddressToInteger             1 
AssignmentIntegerToAddress             6       2
CastIntegerToAddressAtReturn          12       1
DacaWrongData                         30 
IOWithoutPositioning                   2 
UnionZeroInit                                128
accessMoved                           20       1
allocaCalled                         340 
argumentSize                           1 
arithOperationsOnVoidPointer         191 
arrayIndexOutOfBounds                 21      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                      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              5769    2373
constParameterPointer               7933    2886
constParameterReference             1073      37
constStatement                        83      10
constVariable                        255     204
constVariablePointer               11312   19688
constVariableReference               466      15
containerOutOfBounds                 109      10
copyCtorPointerCopying                 4       1
cstyleCast                          4636     180
ctuOneDefinitionRuleViolation          6 
ctunullpointer                        20      10
ctunullpointerOutOfMemory              5       3
dangerousTypeCast                   7225      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                       723       7
duplicateCondition                    64       5
duplicateConditionalAssign            54       1
duplicateExpression                  671       5
duplicateExpressionTernary             4     375
duplicateValueTernary                465 
eraseDereference                       2 
eraseIteratorOutOfBoundsCond           1 
exceptRethrowCopy                      2 
fflushOnInputStream                    1 
floatConversionOverflow                        2
funcArgNamesDifferent               4584      39
funcArgOrderDifferent                 15 
functionConst                        750     308
functionStatic                      1532      51
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                                  8
invalidFunctionArg                    39      59
invalidFunctionArgBool                 7 
invalidFunctionArgStr                  4 
invalidLifetime                        7       2
invalidPointerCast                   193       6
invalidPrintfArgType_float             2 
invalidPrintfArgType_s                 2 
invalidPrintfArgType_sint            729      33
invalidPrintfArgType_uint            214       2
invalidScanfArgType_int               62       7
invalidScanfFormatWidth_smaller        5 
invalidTestForOverflow                 1 
invalidscanf                          42      12
iterateByValue                        20 
iterators3                             1 
knownArgument                          1 
knownConditionTrueFalse             1918     196
knownEmptyContainer                    1       2
knownPointerToBool                     4       5
leakNoVarFunctionCall                288 
leakReturnValNotUsed                 147       3
legacyUninitvar                       43      15
literalWithCharPtrCompare             29 
memleak                              648     460
memleakOnRealloc                      78       4
memsetClassFloat                       1 
mismatchAllocDealloc                  45 
mismatchingContainerExpression         1 
mismatchingContainers                  2       2
missingMemberCopy                     40       6
missingOverride                     1278       9
missingReturn                        391     364
moduloAlwaysTrueFalse                  3 
moduloofone                            4       1
multiCondition                        21       1
multiplySizeof                         1 
negativeContainerIndex                 8       2
negativeIndex                         48      47
noConstructor                         27       1
noCopyConstructor                   5603    9122
noDestructor                         148     147
noExplicitConstructor               1101      44
noOperatorEq                        5709    9320
nullPointer                          293     237
nullPointerArithmetic                 24      33
nullPointerArithmeticOutOfMemory      88      31
nullPointerArithmeticRedundantCheck   25      17
nullPointerDefaultArg                          1
nullPointerOutOfMemory              1820     776
nullPointerOutOfResources             89      51
nullPointerRedundantCheck            722     424
objectIndex                            5 
operatorEqToSelf                       7 
operatorEqVarError                   539       2
oppositeExpression                     6       1
oppositeInnerCondition                 3       1
overlappingWriteFunction               1 
overlappingWriteUnion                  1 
passedByValue                        533      31
passedByValueCallback                  2       2
pointerOutOfBounds                     1       1
pointerOutOfBoundsCond                         8
pointerSize                           21       4
postfixOperator                      341       2
preprocessorErrorDirective         13912     221
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                 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                  827    1598
redundantCondition                    96       1
redundantContinue                     19 
redundantCopyLocalConst                2 
redundantInitialization              168       3
redundantPointerOp                    11 
resourceLeak                         128      24
rethrowNoCurrentException              2 
returnByReference                    590       9
returnDanglingLifetime                10       1
returnImplicitInt                     24 
returnNonBoolInBooleanFunction         3 
returnReference                        2 
returnStdMoveLocal                     2 
sameIteratorExpression                 2 
selfAssignment                        56       7
shadowArgument                       170       3
shadowFunction                       768      46
shadowVariable                      1443      56
shiftNegative                          6 
shiftNegativeLHS                      84       6
shiftTooManyBits                      70       7
shiftTooManyBitsSigned               281      89
signConversion                        82 
signConversionCond                     1       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                          761    5983
templateInstantiation                 32       1
terminateStrncpy                      18       8
throwInEntryPoint                            598
throwInNoexceptFunction              293     289
truncLongCastAssignment               56       1
truncLongCastReturn                            3
unassignedVariable                    61      15
unhandledChar                                349
unhandledExceptionSpecification        2 
uninitDerivedMemberVar                11 
uninitMemberVar                      868      38
uninitMemberVarPrivate                19 
uninitStructMember                    23 
uninitdata                             1      12
uninitvar                            403     211
unknownEvaluationOrder                 1 
unknownMacro                         709      22
unpreciseMathCall                      7 
unreachableCode                      214       3
unreadVariable                      3054     362
unsafeClassCanLeak                     1 
unsignedLessThanZero                 489       3
unsignedPositive                      87 
unusedAllocatedMemory                 79 
unusedLabel                           23       2
unusedLabelSwitch                      1 
unusedPrivateFunction                148       1
unusedScopedObject                     2 
unusedStructMember                  1350      19
unusedVariable                       517      20
useInitializationList                283       7
useStlAlgorithm                      505      17
uselessAssignmentArg                  12       1
uselessAssignmentPtrArg               68 
uselessCallsSubstr                     9 
uselessOverride                       45       3
va_end_missing                        22 
va_list_usedBeforeStarted             10 
valueFlowBailoutIncompleteVar      69324    3098
valueFlowMaxIterations               103      21
varFuncNullUB                        947 
variableScope                        607     951
varid0                               746     126
virtualCallInConstructor             115       3
wrongPrintfScanfArgNum                20       1
zerodiv                               22       7
zerodivcond                            4      60
================================================
                                  181745   62924