LCOV - code coverage report
Current view: top level - lib - checkother.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1778 1890 94.1 %
Date: 2013-06-09 Functions: 132 132 100.0 %
Branches: 3491 5490 63.6 %

Function Name Sort by function name Hit count Sort by hit count
_GLOBAL__sub_I__ZN10CheckOther25checkCastIntToCharAndBackEv 45
_Z41__static_initialization_and_destruction_0ii 45
_ZL11analyzeTypePK5Token 1350
_ZL12isSignedCharPK8Variable 2745
_ZL16eraseNotLocalArgRSt3mapIjPK5TokenSt4lessIjESaISt4pairIKjS2_EEEPK14SymbolDatabase 34650
_ZL21findSelfAssignPatternPK5Token 24120
_ZL24expressionHasSideEffectsPK5TokenS1_ 585
_ZL24isFunctionOrBreakPatternPK5Token 50085
_ZL24isTypeWithoutSideEffectsPK9TokenizerPK8Variable 405
_ZL28invertOperatorForOperandSwapSs 7110
_ZL29analyzeLogicOperatorConditionRK9ConditionS1_bbbbRKSsS3_PK5TokenS6_8Relation 118305
_ZL6isCharPK8Variable 2790
_ZL8nonLocalPK8Variable 6660
_ZN10CheckOther11strPlusCharEv 24136
_ZN10CheckOther12zerodivErrorEPK5Token 405
_ZN10CheckOther14charBitOpErrorEPK5Token 180
_ZN10CheckOther15checkDoubleFreeEv 22426
_ZN10CheckOther15checkInnerScopeEPK5TokenPK8VariableRb 5220
_ZN10CheckOther15cstyleCastErrorEPK5Token 270
_ZN10CheckOther15doubleFreeErrorEPK5TokenRKSs 630
_ZN10CheckOther16checkDuplicateIfEv 23956
_ZN10CheckOther16checkInvalidFreeEv 22426
_ZN10CheckOther16clarifyConditionEv 23956
_ZN10CheckOther16clarifyStatementEv 22426
_ZN10CheckOther16duplicateIfErrorEPK5TokenS2_ 450
_ZN10CheckOther16invalidFreeErrorEPK5Tokenb 360
_ZN10CheckOther16strPlusCharErrorEPK5Token 90
_ZN10CheckOther17checkCharVariableEv 24811
_ZN10CheckOther17checkZeroDivisionEv 22426
_ZN10CheckOther18checkMathFunctionsEv 22426
_ZN10CheckOther18checkRedundantCopyEv 22741
_ZN10CheckOther18checkVarFuncNullUBEv 23956
_ZN10CheckOther18checkVariableScopeEv 25486
_ZN10CheckOther18clarifyCalculationEv 22426
_ZN10CheckOther18invalidPointerCastEv 24496
_ZN10CheckOther18passedByValueErrorEPK5TokenRKSs 405
_ZN10CheckOther18redundantCopyErrorEPK5TokenRKSs 135
_ZN10CheckOther18redundantCopyErrorEPK5TokenS2_RKSs 405
_ZN10CheckOther18varFuncNullUBErrorEPK5Token 90
_ZN10CheckOther18variableScopeErrorEPK5TokenRKSs 540
_ZN10CheckOther19charArrayIndexErrorEPK5Token 225
_ZN10CheckOther19checkSelfAssignmentEv 23956
_ZN10CheckOther19checkSleepTimeErrorEPK5TokenRKSs 135
_ZN10CheckOther19constStatementErrorEPK5TokenRKSs 135
_ZN10CheckOther19doubleCloseDirErrorEPK5TokenRKSs 90
_ZN10CheckOther19duplicateBreakErrorEPK5Tokenb 540
_ZN10CheckOther19selfAssignmentErrorEPK5TokenRKSs 315
_ZN10CheckOther20checkCCTypeFunctionsEv 22426
_ZN10CheckOther20checkDuplicateBranchEv 23956
_ZN10CheckOther20checkExpressionRangeERKSt4listIPK8FunctionSaIS3_EEPK5TokenSA_RKSs 8370
_ZN10CheckOther20checkMemsetZeroBytesEv 22426
_ZN10CheckOther20checkUnreachableCodeEv 23956
_ZN10CheckOther20duplicateBranchErrorEPK5TokenS2_ 315
_ZN10CheckOther20invalidFunctionUsageEv 22696
_ZN10CheckOther20memsetZeroBytesErrorEPK5TokenRKSs 135
_ZN10CheckOther20pointerPositiveErrorEPK5Tokenb 135
_ZN10CheckOther20unreachableCodeErrorEPK5Tokenb 135
_ZN10CheckOther21checkUnsignedDivisionEv 24631
_ZN10CheckOther21clarifyConditionErrorEPK5Tokenbb 315
_ZN10CheckOther21clarifyStatementErrorEPK5Token 360
_ZN10CheckOther21mathfunctionCallErrorEPK5Tokenj 675
_ZN10CheckOther21switchCaseFallThroughEPK5Token 945
_ZN10CheckOther21unsignedPositiveErrorEPK5TokenRKSsb 315
_ZN10CheckOther22checkPipeParameterSizeEv 22426
_ZN10CheckOther22checkSleepTimeIntervalEv 22426
_ZN10CheckOther22oppositeInnerConditionEv 22426
_ZN10CheckOther23cctypefunctionCallErrorEPK5TokenRKSsS4_ 585
_ZN10CheckOther23clarifyCalculationErrorEPK5TokenRKSs 270
_ZN10CheckOther23invalidPointerCastErrorEPK5TokenRKSsS4_b 585
_ZN10CheckOther23misusedScopeObjectErrorEPK5TokenRKSs 270
_ZN10CheckOther23redundantConditionErrorEPK5TokenRKSs 855
_ZN10CheckOther24SuspiciousSemicolonErrorEPK5Token 180
_ZN10CheckOther24checkDuplicateExpressionEv 23956
_ZN10CheckOther24checkIncompleteArrayFillEv 23956
_ZN10CheckOther24checkIncompleteStatementEv 23236
_ZN10CheckOther24checkMisusedScopedObjectEv 22426
_ZN10CheckOther24checkRedundantAssignmentEv 23956
_ZN10CheckOther24checkSuspiciousSemicolonEv 23956
_ZN10CheckOther24duplicateExpressionErrorEPK5TokenS2_RKSs 990
_ZN10CheckOther24incompleteArrayFillErrorEPK5TokenRKSsS4_b 270
_ZN10CheckOther24pointerLessThanZeroErrorEPK5Tokenb 135
_ZN10CheckOther24redundantAssignmentErrorEPK5TokenS2_RKSsb 630
_ZN10CheckOther24redundantGetAndSetUserIdEv 22426
_ZN10CheckOther25checkCastIntToCharAndBackEv 22426
_ZN10CheckOther25checkNegativeBitwiseShiftEv 22426
_ZN10CheckOther25dangerousUsageStrtolErrorEPK5TokenRKSs 90
_ZN10CheckOther25negativeBitwiseShiftErrorEPK5Token 225
_ZN10CheckOther25unsignedLessThanZeroErrorEPK5TokenRKSsb 450
_ZN10CheckOther26checkModuloAlwaysTrueFalseEv 22426
_ZN10CheckOther26checkSwitchCaseFallThroughEv 23731
_ZN10CheckOther26moduloAlwaysTrueFalseErrorEPK5TokenRKSs 450
_ZN10CheckOther26redundantCopyInSwitchErrorEPK5TokenS2_RKSs 180
_ZN10CheckOther26warningOldStylePointerCastEv 24586
_ZN10CheckOther27checkIncorrectLogicOperatorEv 22426
_ZN10CheckOther27checkIncorrectStringCompareEv 22426
_ZN10CheckOther27checkPipeParameterSizeErrorEPK5TokenRKSsS4_ 135
_ZN10CheckOther27checkSignOfUnsignedVariableEv 25666
_ZN10CheckOther27checkSuspiciousCaseInSwitchEv 23956
_ZN10CheckOther27incorrectLogicOperatorErrorEPK5TokenRKSsb 1530
_ZN10CheckOther27incorrectStringBooleanErrorEPK5TokenRKSs 315
_ZN10CheckOther27incorrectStringCompareErrorEPK5TokenRKSsS4_ 180
_ZN10CheckOther27oppositeInnerConditionErrorEPK5Token 90
_ZN10CheckOther27sprintfOverlappingDataErrorEPK5TokenRKSs 90
_ZN10CheckOther27suspiciousCaseInSwitchErrorEPK5TokenRKSs 180
_ZN10CheckOther28checkSuspiciousStringCompareEv 23956
_ZN10CheckOther28suspiciousStringCompareErrorEPK5TokenRKSs 180
_ZN10CheckOther29redundantGetAndSetUserIdErrorEPK5Token 180
_ZN10CheckOther30checkCastIntToCharAndBackErrorEPK5TokenRKSs 450
_ZN10CheckOther30checkConstantFunctionParameterEv 23011
_ZN10CheckOther31complexDuplicateExpressionCheckERKSt4listIPK8FunctionSaIS3_EEPK5TokenRKSsSC_ 94320
_ZN10CheckOther32checkRedundantAssignmentInSwitchEv 23956
_ZN10CheckOther32redundantAssignmentInSwitchErrorEPK5TokenS2_RKSs 540
_ZN10CheckOther33alwaysTrueFalseStringCompareErrorEPK5TokenRKSsS4_ 315
_ZN10CheckOther33checkSuspiciousEqualityComparisonEv 22426
_ZN10CheckOther33suspiciousEqualityComparisonErrorEPK5Token 405
_ZN10CheckOther35checkAlwaysTrueOrFalseStringCompareEv 23731
_ZN10CheckOther36alwaysTrueStringVariableCompareErrorEPK5TokenRKSsS4_ 90
_ZN10CheckOther38redundantBitwiseOperationInSwitchErrorEPK5TokenRKSs 135
_ZN10CheckOther8isSignedEPK8Variable 360
_ZN10CheckOther9udivErrorEPK5Tokenb 315
_ZN12_GLOBAL__N_110FuncFilterC2EPK5ScopePK5Token 495
_ZN12_GLOBAL__N_111Expressions6appendEPK5Token 62865
_ZN12_GLOBAL__N_111Expressions6getMapEv 32355
_ZN12_GLOBAL__N_111Expressions7endExprEPK5Token 18270
_ZN12_GLOBAL__N_111ExpressionsC2ERKSt4listIPK8FunctionSaIS4_EE 8055
_ZN12_GLOBAL__N_111ExpressionsD2Ev 8055
_ZN12_GLOBAL__N_116ExpressionTokensC2EPK5TokenS3_ 16245
_ZN12_GLOBAL__N_117getConstFunctionsEPK14SymbolDatabaseRSt4listIPK8FunctionSaIS6_EE 23220
_ZN12_GLOBAL__N_124inconclusiveFunctionCallERKSt4listIPK8FunctionSaIS3_EERKNS_16ExpressionTokensE 16020
_ZN12_GLOBAL__N_18notconstEPK8Function 23850
_ZNK10CheckOther10isUnsignedEPK8Variable 855
_ZNK12_GLOBAL__N_110FuncFilterclEPK8Function 135

Generated by: LCOV version 1.9