LCOV - code coverage report
Current view: top level - test - testother.cpp (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3217 3217 100.0 %
Date: 2024-04-28 12:00:40 Functions: 226 226 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
TestOther::moveInLoop() 1
TestOther::varScope10() 1
TestOther::varScope11() 1
TestOther::varScope12() 1
TestOther::varScope13() 1
TestOther::varScope14() 1
TestOther::varScope15() 1
TestOther::varScope16() 1
TestOther::varScope17() 1
TestOther::varScope18() 1
TestOther::varScope20() 1
TestOther::varScope21() 1
TestOther::varScope22() 1
TestOther::varScope23() 1
TestOther::varScope24() 1
TestOther::varScope25() 1
TestOther::varScope26() 1
TestOther::varScope27() 1
TestOther::varScope28() 1
TestOther::varScope29() 1
TestOther::varScope30() 1
TestOther::varScope31() 1
TestOther::varScope32() 1
TestOther::varScope33() 1
TestOther::varScope34() 1
TestOther::varScope35() 1
TestOther::varScope36() 1
TestOther::varScope37() 1
TestOther::varScope38() 1
TestOther::varScope39() 1
TestOther::varScope40() 1
TestOther::doubleMove1() 1
TestOther::moduloOfOne() 1
TestOther::moveTernary() 1
TestOther::zeroDivCond() 1
TestOther::constPointer() 1
TestOther::moveAndClear() 1
TestOther::moveCallback() 1
TestOther::moveForRange() 1
TestOther::movedPointer() 1
TestOther::constVariable() 1
TestOther::emptyBrackets() 1
TestOther::knownArgument() 1
TestOther::moveAndLambda() 1
TestOther::moveAndReset1() 1
TestOther::moveAndReset2() 1
TestOther::moveAndReturn() 1
TestOther::passedByValue() 1
TestOther::varFuncNullUB() 1
TestOther::forwardAndUsed() 1
TestOther::iterateByValue() 1
TestOther::moveAndAssign1() 1
TestOther::moveAndAssign2() 1
TestOther::partiallyMoved() 1
TestOther::selfAssignment() 1
TestOther::suspiciousCase() 1
TestOther::duplicateBranch() 1
TestOther::integerOverflow() 1
TestOther::shadowVariables() 1
TestOther::testUnusedLabel() 1
TestOther::unreachableCode() 1
TestOther::checkInvalidFree() 1
TestOther::clarifyStatement() 1
TestOther::duplicateBranch1() 1
TestOther::duplicateBranch2() 1
TestOther::duplicateBranch3() 1
TestOther::duplicateBranch4() 1
TestOther::duplicateBranch5() 1
TestOther::duplicateBranch6() 1
TestOther::moveAndAddressOf() 1
TestOther::moveAndReference() 1
TestOther::moveClassVariable() 1
TestOther::redundantContinue() 1
TestOther::redundantMemWrite() 1
TestOther::checkNegativeShift() 1
TestOther::checkRedundantCopy() 1
TestOther::checkSignOfPointer() 1
TestOther::clarifyCalculation() 1
TestOther::invalidPointerCast() 1
TestOther::knownPointerToBool() 1
TestOther::moveResetMoveReset() 1
TestOther::oppositeExpression() 1
TestOther::redundantPointerOp() 1
TestOther::incompleteArrayFill() 1
TestOther::oldStylePointerCast() 1
TestOther::testEvaluationOrder() 1
TestOther::checkComparePointers() 1
TestOther::checkPassByReference() 1
TestOther::cpp11FunctionArgInit() 1
TestOther::duplicateExpression1() 1
TestOther::duplicateExpression2() 1
TestOther::duplicateExpression3() 1
TestOther::duplicateExpression4() 1
TestOther::duplicateExpression5() 1
TestOther::duplicateExpression6() 1
TestOther::duplicateExpression7() 1
TestOther::duplicateExpression8() 1
TestOther::duplicateExpression9() 1
TestOther::moveAssignMoveAssign() 1
TestOther::checkOverlappingWrite() 1
TestOther::duplicateExpression10() 1
TestOther::duplicateExpression11() 1
TestOther::duplicateExpression12() 1
TestOther::duplicateExpression13() 1
TestOther::duplicateExpression14() 1
TestOther::duplicateExpression15() 1
TestOther::duplicateExpression16() 1
TestOther::duplicateExpression17() 1
TestOther::duplicateValueTernary() 1
TestOther::funcArgNamesDifferent() 1
TestOther::funcArgOrderDifferent() 1
TestOther::passedByValue_externC() 1
TestOther::test_isSameExpression() 1
TestOther::constParameterCallback() 1
TestOther::duplicateVarExpression() 1
TestOther::passedByValue_nonConst() 1
TestOther::redundantVarAssignment() 1
TestOther::sameExpressionPointers() 1
TestOther::duplicateExpressionLoop() 1
TestOther::redundantInitialization() 1
TestOther::checkInvalidPointerCast_(char const*, int, char const*, bool, bool) 12
TestOther::constVariableArrayMember() 1
TestOther::moveAndFunctionParameter() 1
TestOther::suspiciousUnaryPlusMinus() 1
TestOther::testEvaluationOrderMacro() 1
TestOther::testUnsignedLessThanZero() 1
TestOther::checkCastIntToCharAndBack() 1
TestOther::checkCommaSeparatedReturn() 1
TestOther::checkInterlockedDecrement(char const*) 27
TestOther::checkOldStylePointerCast_(char const*, char const*, int) 23
TestOther::checkSuspiciousComparison() 1
TestOther::checkSuspiciousSemicolon1() 1
TestOther::checkSuspiciousSemicolon2() 1
TestOther::checkSuspiciousSemicolon3() 1
TestOther::nanInArithmeticExpression() 1
TestOther::testEvaluationOrderSizeof() 1
TestOther::duplicateExpressionTernary() 1
TestOther::checkSignOfUnsignedVariable() 1
TestOther::duplicateExpressionTemplate() 1
TestOther::duplicateVarExpressionCrash() 1
TestOther::redundantVarAssignment_7133() 1
TestOther::redundantVarAssignment_loop() 1
TestOther::unusedVariableValueTemplate() 1
TestOther::duplicateVarExpressionAssign() 1
TestOther::duplicateVarExpressionUnique() 1
TestOther::knownArgumentTernaryOperator() 1
TestOther::multiConditionSameExpression() 1
TestOther::redundantVarAssignment_array() 1
TestOther::suspiciousEqualityComparison() 1
TestOther::switchRedundantOperationTest() 1
TestOther::raceAfterInterlockedDecrement() 1
TestOther::redundantVarAssignment_lambda() 1
TestOther::redundantVarAssignment_struct() 1
TestOther::switchRedundantAssignmentTest() 1
TestOther::redundantVarAssignment_pointer() 1
TestOther::redundantVarAssignment_trivial() 1
TestOther::doubleMoveMemberInitialization1() 1
TestOther::doubleMoveMemberInitialization2() 1
TestOther::doubleMoveMemberInitialization3() 1
TestOther::doubleMoveMemberInitialization4() 1
TestOther::moveAndFunctionParameterUnknown() 1
TestOther::testMisusedScopeObjectNamespace() 1
TestOther::testMisusedScopeObjectAssignment() 1
TestOther::testMisusedScopeObjectPicksClass() 1
TestOther::moveAndFunctionParameterReference() 1
TestOther::testEvaluationOrderSelfAssignment() 1
TestOther::testMisusedScopeObjectPicksStruct() 1
TestOther::duplicateExpressionCompareWithZero() 1
TestOther::testMisusedScopeObjectStandardType() 1
TestOther::redundantVarAssignment_after_switch() 1
TestOther::redundantVarAssignment_switch_break() 1
TestOther::switchRedundantBitwiseOperationTest() 1
TestOther::testMisusedScopeObjectDoesNotPickIf() 1
TestOther::testMisusedScopeObjectInConstructor() 1
TestOther::redundantVarAssignment_stackoverflow() 1
TestOther::knownArgumentHiddenVariableExpression() 1
TestOther::moveAndFunctionParameterConstReference() 1
TestOther::testEvaluationOrderSequencePointsComma() 1
TestOther::testMisusedScopeObjectDoesNotPickPureC() 1
TestOther::run() 1
TestOther::redundantVarAssignment_pointer_parameter() 1
TestOther::testMisusedScopeObjectDoesNotPickFunctor() 1
TestOther::checkComparisonFunctionIsAlwaysTrueOrFalse() 1
TestOther::testMisusedScopeObjectDoesNotPickFunction1() 1
TestOther::testMisusedScopeObjectDoesNotPickFunction2() 1
TestOther::testMisusedScopeObjectDoesNotPickUsedObject() 1
TestOther::testMisusedScopeObjectDoesNotPickNestedClass() 1
TestOther::testEvaluationOrderSequencePointsFunctionCall() 1
TestOther::testMisusedScopeObjectDoesNotPickConstructorDeclaration() 1
TestOther::testMisusedScopeObjectDoesNotPickLocalClassConstructors() 1
TestOther::check_(char const*, int, char const*, Settings*) 5
TestOther::check_(char const*, int, char const*, bool, bool, bool, bool, Settings*) 1299
TestOther::checkP_(char const*, int, char const*, char const*) 16
TestOther::trac1132() 1
TestOther::trac2071() 1
TestOther::trac2084() 1
TestOther::trac3693() 1
TestOther::zeroDiv1() 1
TestOther::zeroDiv2() 1
TestOther::zeroDiv3() 1
TestOther::zeroDiv4() 1
TestOther::zeroDiv5() 1
TestOther::zeroDiv6() 1
TestOther::zeroDiv7() 1
TestOther::zeroDiv8() 1
TestOther::zeroDiv9() 1
TestOther::varScope1() 1
TestOther::varScope2() 1
TestOther::varScope3() 1
TestOther::varScope4() 1
TestOther::varScope5() 1
TestOther::varScope6() 1
TestOther::varScope7() 1
TestOther::varScope8() 1
TestOther::varScope9() 1
TestOther::zeroDiv10() 1
TestOther::zeroDiv11() 1
TestOther::zeroDiv12() 1
TestOther::zeroDiv13() 1
TestOther::zeroDiv14() 1
TestOther::zeroDiv15() 1
TestOther::zeroDiv16() 1
TestOther::zeroDiv17() 1
TestOther::zeroDiv18() 1
TestOther::zeroDiv19() 1
TestOther::TestOther() 1

Generated by: LCOV version 1.14