Diff report

Uploaded today

MessageID                           2.3    Head
DacaWrongData                      25736       1
StlMissingComparison                   2 
arrayIndexOutOfBounds                          6
arrayIndexOutOfBoundsCond              1       2
autoVariables                                  5
bitwiseOnBoolean                              29
charLiteralWithCharPtrCompare                  4
clarifyCalculation                            90
clarifyCondition                               6
compareBoolExpressionWithInt                  13
comparePointers                                7
constParameter                         1       1
containerOutOfBounds                   2       2
ctuOneDefinitionRuleViolation                 17
ctunullpointer                         3 
danglingLifetime                               1
danglingTempReference                          7
danglingTemporaryLifetime                     14
deallocret                             2 
derefInvalidIteratorRedundantCheck            24
doubleFree                             6 
duplInheritedMember                            8
duplicateBranch                                3
duplicateBreak                         1       1
duplicateCondition                     1       6
duplicateConditionalAssign                     2
duplicateExpression                            1
duplicateValueTernary                         19
floatConversionOverflow                        1
funcArgNamesDifferent                 29    1413
functionConst                                  4
functionStatic                         2      29
identicalConditionAfterEarlyExit               4
identicalInnerCondition                        1
ignoredReturnValue                     9       6
incrementboolean                               7
initializerList                                2
integerOverflow                               27
integerOverflowCond                            9
internalAstError                       1 
invalidFunctionArg                     1       1
invalidPointerCast                            34
invalidPrintfArgType_sint                      6
invalidScanfArgType_int                        1
invalidTestForOverflow                         4
invalidscanf                                   1
knownArgument                                  2
knownConditionTrueFalse               95     190
knownEmptyContainer                            1
literalWithCharPtrCompare                      6
memleak                               25       4
memleakOnRealloc                              18
missingOverride                               10
multiCondition                        12      33
multiplySizeof                                 1
negativeIndex                          1       3
noCopyConstructor                              2
noExplicitConstructor                  1       2
noOperatorEq                                   2
nullPointer                            5      75
nullPointerArithmetic                          4
nullPointerArithmeticRedundantCheck    1      11
nullPointerRedundantCheck            188     159
objectIndex                                  273
passedByValue                                  1
pointerOutOfBounds                     2 
pointerSize                                    3
preprocessorErrorDirective           278     281
prohibitedAllocCalled                          6
prohibitedlocaltimeCalled                      1
prohibitedmktempCalled                         3
prohibitedreaddirCalled                        1
redundantAssignment                   20      64
redundantCondition                     1      12
redundantInitialization                       17
resourceLeak                           7       2
returnDanglingLifetime                         3
returnNonBoolInBooleanFunction                 1
selfAssignment                                 2
shadowFunction                                 1
shadowVariable                                98
shiftNegative                                  4
shiftNegativeLHS                             143
shiftTooManyBits                       2       1
shiftTooManyBitsSigned                        15
signConversionCond                             5
stlcstr                                1       1
stlcstrParam                           2       2
syntaxError                            2       6
terminateStrncpy                               1
throwInNoexceptFunction                        1
uninitDerivedMemberVar                         1
uninitStructMember                             1
uninitvar                              4      58
unknownMacro                                   4
unreachableCode                                3
unreadVariable                               173
unsignedLessThanZero                          12
unusedLabel                                    2
unusedStructMember                            45
unusedVariable                                24
useInitializationList                  2       3
useStlAlgorithm                                1
uselessAssignmentArg                           3
varFuncNullUB                                  8
variableScope                                  7
wrongPrintfScanfArgNum                         3
zerodivcond                            9 
================================================
                                   26455    3638

All

MessageID                           2.3    Head
AssignmentAddressToInteger             2       4
AssignmentIntegerToAddress            11 
CastAddressToIntegerAtReturn                   1
CastIntegerToAddressAtReturn           5      13
DacaWrongData                    1575601     477
StlMissingComparison                  15       6
accessMoved                           30      81
allocaCalled                          18       4
arithOperationsOnVoidPointer           1       8
arrayIndexOutOfBounds                191     938
arrayIndexOutOfBoundsCond            176     329
arrayIndexThenCheck                   10       4
assertWithSideEffect                  13     266
assignBoolToFloat                              2
assignBoolToPointer                    2 
assignmentInAssert                     1      27
autoVariables                          9      10
autovarInvalidDeallocation                    13
badBitmaskCheck                        5 
bitwiseOnBoolean                      41      40
bufferAccessOutOfBounds                1       1
catchExceptionByValue                         16
charLiteralWithCharPtrCompare          2     131
clarifyCalculation                    22     101
clarifyCondition                      24      13
compareBoolExpressionWithInt          10      16
comparePointers                        9      86
comparisonError                       10       1
comparisonOfFuncReturningBoolError     2 
comparisonOfTwoFuncsReturningBoolError         2
constParameter                       374     433
constParameterCallback               873      52
constStatement                        19      19
constVariable                          7     229
containerOutOfBounds                  41     832
copyCtorPointerCopying                         3
cppcheckError                          9      87
cstyleCast                            50     527
ctuArrayIndex                                  3
ctuOneDefinitionRuleViolation               3269
ctuPointerArith                        1 
ctunullpointer                       235     141
ctuuninitvar                           2       3
danglingLifetime                       9      76
danglingTempReference                  3     654
danglingTemporaryLifetime             29     331
deallocret                           129       1
deallocuse                            50      11
derefInvalidIteratorRedundantCheck     2     149
divideSizeof                                   4
doubleFree                           260       3
duplInheritedMember                   32    1715
duplicateAssignExpression              3       9
duplicateBranch                       15      38
duplicateBreak                        30      54
duplicateCondition                    64     134
duplicateConditionalAssign             3       9
duplicateExpression                   53     105
duplicateExpressionTernary             1      23
duplicateValueTernary                 84    1016
eraseDereference                               1
exceptRethrowCopy                      3       3
exceptThrowInDestructor                        2
floatConversionOverflow                       10
funcArgNamesDifferent                902    6130
funcArgOrderDifferent                 19       8
functionConst                        551    2263
functionStatic                       433    2064
identicalConditionAfterEarlyExit      29      20
identicalInnerCondition               40      51
ignoredReturnValue                   136     622
incompleteArrayFill                            1
incorrectLogicOperator                28      22
incorrectStringBooleanError          101 
incrementboolean                               7
initializerList                       26      79
integerOverflow                        3    8765
integerOverflowCond                    9     544
internalAstError                      28      47
invalidContainer                      15      30
invalidContainerReference              1 
invalidFunctionArg                   259     409
invalidFunctionArgBool                23       1
invalidLifetime                       90     228
invalidPointerCast                   135     198
invalidPrintfArgType_p                         1
invalidPrintfArgType_s                36 
invalidPrintfArgType_sint             68     385
invalidPrintfArgType_uint            156      63
invalidScanfArgType_int                4      25
invalidScanfFormatWidth_smaller        8 
invalidTestForOverflow                48     223
invalidscanf                          13     327
iterators3                             1 
knownArgument                         10     801
knownConditionTrueFalse             9949   13298
knownEmptyContainer                    6       8
leakNoVarFunctionCall                 20       7
leakReturnValNotUsed                   8       6
literalWithCharPtrCompare                    157
localMutex                                     9
memleak                              870     545
memleakOnRealloc                      26      33
memsetClass                                    2
memsetClassFloat                       1      13
memsetZeroBytes                        1 
mismatchAllocDealloc                   1 
mismatchingContainerExpression         4       1
mismatchingContainers                          2
missingOverride                      421    4968
moduloofone                            1      63
multiCondition                      1040    3765
multiplySizeof                                 1
negativeContainerIndex                36      71
negativeIndex                        122     614
noConstructor                         12      21
noCopyConstructor                     28     303
noDestructor                                   7
noExplicitConstructor                924    2794
noOperatorEq                          27     313
nullPointer                         1484    2961
nullPointerArithmetic                262     186
nullPointerArithmeticRedundantCheck  930     610
nullPointerDefaultArg                  1       3
nullPointerRedundantCheck          16876   11073
objectIndex                          123   21772
operatorEqMissingReturnStatement               9
operatorEqRetRefThis                           1
operatorEqShouldBeLeftUnimplemented    1 
operatorEqToSelf                       1       5
operatorEqVarError                    16     474
oppositeExpression                    23      24
oppositeInnerCondition                27      16
passedByValue                        191     870
pointerAdditionResultNotNull                   4
pointerLessThanZero                            2
pointerOutOfBounds                    16      19
pointerOutOfBoundsCond                        17
pointerSize                            4      10
postfixOperator                      105      90
preprocessorErrorDirective         15380   15414
prohibitedAllocCalled                         59
prohibitedLengthCalled                         1
prohibitedasctimeCalled                1 
prohibitedasctime_rCalled              1 
prohibitedbcmpCalled                   2       7
prohibitedbcopyCalled                  1      11
prohibitedbzeroCalled                  2      41
prohibitedcryptCalled                          1
prohibitedctime_rCalled                2 
prohibitedg_type_class_add_privateCalled       4
prohibitedgetgrgidCalled               1       2
prohibitedgetgrnamCalled               3       2
prohibitedgethostbyaddrCalled          2 
prohibitedgethostbynameCalled         10 
prohibitedgetprotobynameCalled                 1
prohibitedgetpwnamCalled               4       5
prohibitedgetpwuidCalled               5       4
prohibitedgetsCalled                   4 
prohibitedgetservbynameCalled          2       1
prohibitedgmtimeCalled                 7       2
prohibitedgtk_hbox_newCalled                   3
prohibitedgtk_vbox_newCalled                   3
prohibitedindexCalled                  4       7
prohibitedlocaltimeCalled             21      14
prohibitedmktempCalled                 1       3
prohibitedomp_set_nestedCalled                 1
prohibitedqSortCalled                          4
prohibitedqSwapCalled                          4
prohibitedreaddirCalled               11      19
prohibitedrindexCalled                         2
prohibitedstrtokCalled                35      35
prohibitedtempnamCalled                1 
prohibitedtmpnamCalled                 1       1
prohibitedtoAsciiCalled                        1
prohibitedttynameCalled                2 
prohibitedualarmCalled                         1
prohibitedusleepCalled                 1       6
prohibitedutimeCalled                  1       2
prohibitedvforkCalled                          3
publicAllocationError                          5
redundantAssignInSwitch               56       3
redundantAssignment                  780     735
redundantCondition                    44      25
redundantCopyLocalConst                       17
redundantIfRemove                              3
redundantInitialization               64     252
redundantPointerOp                            14
resourceLeak                         181     160
returnDanglingLifetime                21     266
returnNonBoolInBooleanFunction                 9
returnReference                                3
returnTempReference                            6
selfAssignment                        64     197
selfInitialization                    15      14
shadowArgument                        30     107
shadowFunction                        75     103
shadowVariable                       354     395
shiftNegative                         29      80
shiftNegativeLHS                      25     307
shiftTooManyBits                     137      75
shiftTooManyBitsSigned                36     116
signConversion                         8      17
signConversionCond                    63      51
sizeofCalculation                      1       1
sizeofDereferencedVoidPointer                  2
sizeofsizeof                                   1
stlFindInsert                          3      13
stlIfStrFind                         127       7
stlcstr                               15      18
stlcstrParam                         362     494
stlcstrthrow                                   1
stringLiteralWrite                             7
suspiciousSemicolon                    1 
syntaxError                          994    1029
terminateStrncpy                      17       5
throwInNoexceptFunction                        8
truncLongCastAssignment               16 
truncLongCastReturn                   25       1
unassignedVariable                     9      20
unhandledExceptionSpecification        4      14
uninitDerivedMemberVar                      8761
uninitDerivedMemberVarPrivate                 37
uninitMemberVar                      199    3189
uninitMemberVarPrivate                 4     137
uninitStructMember                    18      31
uninitvar                           1043    1422
unknownEvaluationOrder                         4
unknownMacro                         314      91
unpreciseMathCall                      1       4
unreachableCode                       32     575
unreadVariable                       742    3342
unsafeClassCanLeak                     1      18
unsignedLessThanZero                  47     173
unsignedPositive                      37      43
unusedAllocatedMemory                  1       7
unusedLabel                           32       4
unusedPrivateFunction                106     206
unusedScopedObject                             2
unusedStructMember                   273     346
unusedVariable                       100     145
useInitializationList                100     339
useStlAlgorithm                       87     294
uselessAssignmentArg                   3      14
uselessAssignmentPtrArg               44      10
uselessCallsEmpty                              1
uselessCallsRemove                     2       1
va_end_missing                        25       6
va_list_usedBeforeStarted                      8
va_start_subsequentCalls               1 
varFuncNullUB                        129      44
variableScope                         79    1120
virtualDestructor                      8       3
wrongPrintfScanfArgNum                         7
wrongmathcall                          1 
zerodiv                                5      22
zerodivcond                          542     106
================================================
                                 1638358  141754