Diff report

Uploaded today

MessageID                           2.4    Head
DacaWrongData                         13       1
accessMoved                            1 
arrayIndexOutOfBoundsCond              4 
arrayIndexThenCheck                    4 
bitwiseOnBoolean                      20 
bufferAccessOutOfBounds                       10
clarifyCalculation                             3
clarifyCondition                       1 
constParameter                        46      41
constParameterCallback                 1 
constVariable                          1       6
containerOutOfBounds                   1 
cppcheckError                          4 
cstyleCast                            43 
derefInvalidIteratorRedundantCheck             7
duplicateBreak                         3      94
duplicateCondition                    12 
duplicateExpression                           71
duplicateValueTernary                          1
funcArgNamesDifferent                160       2
functionConst                          9       2
functionStatic                        16       3
identicalConditionAfterEarlyExit       4       1
identicalInnerCondition                4       2
integerOverflow                                2
internalAstError                       6 
invalidContainer                       1 
invalidFunctionArg                    18       2
invalidFunctionArgBool                 1       1
invalidPointerCast                     1 
invalidPrintfArgType_uint              3 
invalidTestForOverflow                         1
invalidscanf                           2 
knownArgument                          3 
knownArgumentHiddenVariableExpression          2
knownConditionTrueFalse               86     886
leakNoVarFunctionCall                  4 
memleak                                4 
memleakOnRealloc                       6 
missingOverride                       17 
multiCondition                         1 
negativeIndex                          7 
noCopyConstructor                     26       1
noExplicitConstructor                 63       9
noOperatorEq                          27       1
nullPointer                           22       5
nullPointerArithmeticRedundantCheck    2 
nullPointerDefaultArg                  5 
nullPointerRedundantCheck             98 
objectIndex                           92 
operatorEqVarError                   171 
oppositeExpression                             4
passedByValue                          1       6
pointerOutOfBounds                             6
preprocessorErrorDirective            17      24
prohibitedgmtimeCalled                 1 
prohibitedindexCalled                  6 
prohibitedlocaltimeCalled              1 
redundantAssignInSwitch                5 
redundantAssignment                   13 
redundantCondition                     1 
returnDanglingLifetime                 5 
shadowArgument                         8 
shadowFunction                        30       1
shadowVariable                        39       1
shiftNegativeLHS                       1       1
shiftTooManyBits                       1 
shiftTooManyBitsSigned                         1
staticStringCompare                            4
stlFindInsert                                  1
syntaxError                          160       5
unassignedVariable                     2 
uninitMemberVar                      160       1
uninitStructMember                            23
uninitdata                            13      48
uninitvar                             38      79
unknownEvaluationOrder                 9 
unreachableCode                        5 
unreadVariable                       111      56
unsignedLessThanZero                  15 
unsignedPositive                       1 
unusedAllocatedMemory                          4
unusedPrivateFunction                  1 
unusedVariable                         5 
useInitializationList                 20 
useStlAlgorithm                        7       4
uselessAssignmentArg                           1
uselessAssignmentPtrArg                1 
uselessCallsRemove                     1 
variableScope                         30 
================================================
                                    1721    1424

All

MessageID                           2.4    Head
AssignmentAddressToInteger             1       1
CastIntegerToAddressAtReturn           1       4
DacaWrongData                         87      26
IOWithoutPositioning                           8
StlMissingComparison                   1 
accessMoved                            4      59
allocaCalled                        8499       3
arithOperationsOnVoidPointer          77 
arrayIndexOutOfBounds                387      22
arrayIndexOutOfBoundsCond             39       5
arrayIndexThenCheck                    5 
assertWithSideEffect                  11       5
assignBoolToPointer                    1 
assignmentInAssert                     1     104
assignmentInCondition                          1
autoVariables                          1 
autovarInvalidDeallocation             9 
badBitmaskCheck                        2 
bitwiseOnBoolean                      40       3
bufferAccessOutOfBounds                      181
catchExceptionByValue                  1      11
charLiteralWithCharPtrCompare                  1
clarifyCalculation                     8      11
clarifyCondition                       3       2
compareBoolExpressionWithInt           2       1
comparePointers                        1 
comparisonOfBoolWithInvalidComparator         60
comparisonOfFuncReturningBoolError           346
constParameter                       669     731
constParameterCallback                15       7
constStatement                        11     102
constVariable                         24     100
containerOutOfBounds                 314      43
containerOutOfBoundsIndexExpression            2
copyCtorPointerCopying                 1 
cppcheckError                         44       1
cstyleCast                           937      60
ctuOneDefinitionRuleViolation        580 
ctunullpointer                        55 
ctuuninitvar                          11      20
danglingLifetime                      11      15
danglingTempReference                337 
danglingTemporaryLifetime             13       3
deallocret                             2 
derefInvalidIterator                           5
derefInvalidIteratorRedundantCheck            16
doubleFree                             3       1
duplInheritedMember                    9 
duplicateAssignExpression              6       2
duplicateBranch                        3       2
duplicateBreak                        12    3997
duplicateCondition                    97      25
duplicateExpression                    5     711
duplicateExpressionTernary             3     579
duplicateValueTernary                  3       8
eraseDereference                       2 
floatConversionOverflow                9       6
funcArgNamesDifferent               1325     219
funcArgOrderDifferent                 71 
functionConst                        671     285
functionStatic                       763     692
identicalConditionAfterEarlyExit      67      12
identicalInnerCondition               82      47
ignoredReturnValue                    75      78
incorrectLogicOperator                45       5
incorrectStringBooleanError                    2
incrementboolean                       7 
initializerList                        6      20
integerOverflow                       27       6
integerOverflowCond                   21 
internalAstError                      51       7
invalidContainer                       4       4
invalidFunctionArg                   384      78
invalidFunctionArgBool                 5       2
invalidFunctionArgStr                          2
invalidLifetime                               16
invalidPointerCast                     2      77
invalidPrintfArgType_n                         2
invalidPrintfArgType_sint             86      51
invalidPrintfArgType_uint             37       8
invalidScanfArgType_int                1       5
invalidTestForOverflow                         3
invalidscanf                          48       1
iterators1                                     1
knownArgument                        110       7
knownArgumentHiddenVariableExpression 12     417
knownConditionTrueFalse              864   11569
knownEmptyContainer                    1       7
leakNoVarFunctionCall                 81       2
leakReturnValNotUsed                   1       2
memleak                               10       7
memleakOnRealloc                      26       8
memsetClassFloat                       2 
mismatchAllocDealloc                   2 
mismatchingContainerExpression        29       3
missingOverride                     1582     298
moduloofone                                    1
multiCondition                        23       6
negativeContainerIndex                27       3
negativeIndex                        136      23
noConstructor                          2      15
noCopyConstructor                    407      34
noExplicitConstructor               1303     701
noOperatorEq                         412      35
nonStandardCharLiteral                         8
nullPointer                         1266      50
nullPointerArithmetic                  3       1
nullPointerArithmeticRedundantCheck   27       2
nullPointerDefaultArg                  5 
nullPointerRedundantCheck           1001      72
objectIndex                         1339      37
operatorEqMissingReturnStatement       1 
operatorEqRetRefThis                   2       4
operatorEqVarError                  1377      22
oppositeExpression                    50      36
oppositeInnerCondition                 5       5
passedByValue                        219     105
pointerAdditionResultNotNull           1 
pointerOutOfBounds                           329
pointerOutOfBoundsCond                 2       2
postfixOperator                       44      19
preprocessorErrorDirective           197      88
prohibitedasctimeCalled                1 
prohibitedbzeroCalled                  4 
prohibitedg_type_class_add_privateCalled 12 
prohibitedgetcontextCalled            29 
prohibitedgetgrgidCalled               1 
prohibitedgetgrnamCalled               1 
prohibitedgetpwnamCalled               1 
prohibitedgetpwuidCalled               2       1
prohibitedgetwdCalled                  1 
prohibitedgmtimeCalled                 1       1
prohibitedgtk_hbox_newCalled                   1
prohibitedgtk_signal_connectCalled            11
prohibitedgtk_vbox_newCalled           1       1
prohibitedindexCalled                  8       2
prohibitedlocaltimeCalled             13       7
prohibitedmakecontextCalled           12 
prohibitedmktempCalled                 4       1
prohibitedqInstallMsgHandlerCalled             1
prohibitedqStableSortCalled            4 
prohibitedreaddirCalled               22       4
prohibitedsprintfCalled                6 
prohibitedstrtokCalled                66       6
prohibitedswapcontextCalled           16 
prohibitedttynameCalled                3 
prohibitedusleepCalled                11       3
prohibitedutimeCalled                          3
redundantAssignInSwitch                5 
redundantAssignment                   48      23
redundantCondition                    31       7
redundantCopyLocalConst               69 
redundantIfRemove                              2
redundantInitialization               11      20
redundantPointerOp                           174
resourceLeak                           4       7
returnDanglingLifetime                 5 
sameIteratorExpression                        12
selfAssignment                         4     673
selfInitialization                            14
shadowArgument                        11      23
shadowFunction                       211      42
shadowVariable                       115     250
shiftNegative                         16       1
shiftNegativeLHS                      81      34
shiftTooManyBits                      22       2
shiftTooManyBitsSigned                 4      12
signConversion                         3       8
signConversionCond                     7 
sizeofCalculation                      3 
sizeofDivisionMemfunc                  1 
sprintfOverlappingData                         4
staticStringCompare                            5
stlFindInsert                                  5
stlIfStrFind                           1      58
stlOutOfBounds                         2 
stlcstr                                        2
stlcstrParam                           9     100
stlcstrReturn                                  2
stringLiteralWrite                     2 
syntaxError                          476     108
terminateStrncpy                       3       1
thisSubtraction                        2 
throwInNoexceptFunction                6       1
unassignedVariable                     8     104
unhandledExceptionSpecification       65       7
uninitDerivedMemberVar               109      13
uninitMemberVar                      744     230
uninitMemberVarPrivate                91       1
uninitStructMember                    13    1325
uninitdata                            95    1041
uninitvar                           1420    4552
unknownEvaluationOrder               390 
unknownMacro                          11       2
unpreciseMathCall                      1 
unreachableCode                       30      26
unreadVariable                      2966    1341
unsafeClassCanLeak                     4       1
unsignedLessThanZero                 142      20
unsignedPositive                      37 
unusedAllocatedMemory                        179
unusedLabelSwitch                      2 
unusedPrivateFunction                 52       6
unusedScopedObject                     6       5
unusedStructMember                   145    1697
unusedVariable                      2738     162
useClosedFile                          1 
useInitializationList                 95      19
useStlAlgorithm                      454     200
uselessAssignmentArg                   5       7
uselessAssignmentPtrArg                5       2
uselessCallsRemove                     1 
va_end_missing                         3 
va_list_usedBeforeStarted              7 
va_start_referencePassed               3 
varFuncNullUB                         16      23
variableScope                        250      66
virtualDestructor                      1 
wrongPrintfScanfArgNum                 3       2
zerodiv                                1 
zerodivcond                            5       3
================================================
                                   37994   35497