Summary

TestsErrors FailuresSuccess RateTime
4240299.528%1.718

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

PackageTestsErrors FailuresSuccess RateTime
cppncss1700100%0.36
cppncss.counter990297.98%0.781
cppncss.measure300100%0
cpptools1300100%0.249
cpptools.preprocessor2100100%0.079
cppast27100100%0.249

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

cppncss

ClassTestsErrors FailuresSuccess RateTime
AsciiResultOutputTest800100%0.016
XmlResultOutputTest900100%0.344

cppncss.counter

ClassTestsErrors FailuresSuccess RateTime
CcnTest1800100%0.062
FunctionNameExtractorTest360294.444%0.031
NcssTest4500100%0.688

cppncss.measure

ClassTestsErrors FailuresSuccess RateTime
MeasureTest300100%0

cpptools

ClassTestsErrors FailuresSuccess RateTime
EasyMockTestCase100100%0
EasyMockTestCaseTest500100%0.234
OptionsTest700100%0.015

cpptools.preprocessor

ClassTestsErrors FailuresSuccess RateTime
PreProcessorTest2100100%0.079

cppast

ClassTestsErrors FailuresSuccess RateTime
AstTest8900100%0.109
ParserTest17200100%0.14
SymbolTableTest1000100%0

Test Cases

AstTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0

ParserTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0
testTypeNameBeingTheBeginningOfLabelIsSkipped0.25
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testNoNotificationGeneratesEmptyRootElement0.047
testLabelsNotificationGeneratesLabelsElement0.015
testItemNotificationsGenerateItemElement0
testAverageNotificationGeneratesAverageElement0
testSumNotificationGeneratesSumElement0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testConstructorDefinition0.015
testDestructorDefinition0
testEqualityOperatorDefinition0
testConversionOperatorDefinition0
testNotFunctionReturnsNull0
testFunctionDefinitionWithoutParameters0
testFunctionDefinitionWithIntegerParameter0
testFunctionDefinitionWithIntegerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerPointerParameter0
testFunctionDefinitionWithIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerReferencePointerConstParameter0
testFunctionDefinitionWithIntegerReferencePointerConstParameterWithoutParameterName0
testFunctionDefinitionWithConstPointerConstParameter0
testFunctionDefinitionWithConstPointerConstParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerParameter0
testFunctionDefinitionWithUnsignedIntegerParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerPointerParameter0
testFunctionDefinitionWithUnsignedIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithSeveralParameters0
testFunctionDefinitionWithSeveralParametersWithoutParameterNames0
testConstMethodDefinition0
testMethodDefinitionWithConstReferenceReturnType0
testConstructorDefinitionWithParameter0
testFunctionBodyDoesNotAlterFunctionSignature0
testArrayArgument0
testArrayArgumentWithoutParameterName0
testTemplateClassMethod0
testTemplateParameterFunction0.016
testTemplateParameterFunctionWithoutParameterName0
testPointerOnMemberParameterFunction0
testPointerOnFunctionParameterFunction0
testFunctionReturningPointerOnFunction0
testParenthesisOperatorDefinition0
testFunctionInAnonymousNamespace0
testMethodOfClassDefinedInFunction 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testConditionalExpression0
testSemiColumExternalDeclaration0
testTypedefType0
testTypedefTypeInNamespace0
testTypedefTemplateType0
testTypedefTemplateNamespacedType0
testTypedefTemplateTypeInNamespace0
testTypedefTemplateTypeOfTemplateType0
testTypedefTemplateTypeOfTemplateParameter0
testTemplateClassMemberTypeVariable0
testVariableType0
testVariableTypeInNamespace0
testVariableOfTemplateType0
testVariableTemplateNamespacedType0
testVariableTemplateTypeInNamespace0
testVariableTemplateNamespacedTypeInNamespace0.015
testTypedefTypename0
testTypenameQualifier0
testMutableQualifier0
testTemplateFunctionDeclaration0
testTemplateFunctionDefinition0
testTemplateMethodDeclaration0
testUserTypeDefaultTemplateParameterClassDefinition0
testBaseTypeDefaultTemplateParameterClassDefinition0
testTemplateSpecializedMethodDeclaration0
testTemplateSpecializedClassDefinition0
testTemplateSpecializedNamespacedClassDefinition0
testTemplateMethodDefinition0
testTemplateSpecializedClassDeclaration0
testTemplateSpecializedSubClassTemplateDeclaration0
testTemplateSpecializedSubClassDeclaration0
testTemplateClassInstanciation0
testTypedTemplateClassInstanciation0
testSpecializedTemplateClassInstanciation0
testTemplateSpecializedClassInstanciation0
testTemplateMemberInitializer0
testTemplateTypeClassDeclaration0
testSpecializedTemplateTypeClassDeclaration0
testSpecializedTemplateMemberPointerClassDeclaration0
testTemplateMethodOfTemplateClassSeparateDefinition0
testTemplateFunctionCall0.016
testTemplateConstructorDefinition0
testTemplateConstructorSeparateDefinition0
testTemplateMethodCallWithTemplateParameter0
testTemplateStaticMethodCallWithTemplateParameter0
testUnsupportedTemplateFunctionCallThrowsException0
testUnsupportedTemplateFunctionCall2ThrowsException0.016
testBuiltInTypeCast0
testUnsignedBuiltInTypeCast0
testSignedBuiltInTypeCast0
testUnsignedLongIntVariableDeclaration0
testUnsignedLongIntTypeCast0
testTypeCastAssignmentExpression0
testDestructorDefinitionWithoutClassDeclarationIsValid0
testTildeUnaryOperator0
testMethodCallWithinVariableInitialization0
testUsingSeveralNamespaces0
testUsingNestedNamespacesFullPath0
testUsingNestedNamespacesHalfPath0
testUsingNamespaceInFunction0
testUsingClass0
testMemberUsingClass0
testFunctionUsingClass0
testNamespaceAliasing0
testConstructorDefinitionThrowSpecification0.015
testNamespacedConstructorDefinition0
testConversionOperator0
testConversionOperatorOfTemplateClassSeparateDefinition0
testConstConversionOperatorSeparateDefinition0
testInlineOperatorSeparateDefinition0
testInlinePureVirtualOperatorDeclaration0
testFunctionReturningConstPointer0
testMemberPointerWithAnonymousParameter0
testMemberPointerWithParameterByCopy0
testInnerTemplateClass0
testSingleLineCommentAtEndOfFile0
testPreProcessorDirective0
testPreProcessorDirectiveAtEndOfFile0
testPreProcessorOnSeveralLinesAtEndOfFile0
testCommentAtEndOfFile0
testEnumWithoutCommaAfterLastValue0
testEnumWithTwoValues0
testEnumWithCommaAfterLastValue0
testEnumWithTwoValuesWithCommaAfterLastValue0
testEmptyEnum0
testEmptyAnonymousEnum0
testVariableParenthesisInitialization0
testNamespaceAliasingDeclaration0
testBitFieldDeclaration0
testStaticConstMemberDataInPlaceInitialization0
testExplicitConstructorDeclaration0
testExplicitConstructorDefinition0
testPureVirtualDestructorDeclaration0
testMemberDataList0
testReturnParenthezizedExpression0
testReturnParenthezizedComplexExpression0
testSizeOfBaseType0
testSizeOfUserType0
testSizeOfUserTypeReference0
testSizeOfAnExpression0
testSizeOfFunctionCall0
testSizeOfAssignment0
testSizeOfCommaExpression0
testSizeOfWithoutParenthesis0
testGlobalScopeOverrideFunctionCall0
testStringJuxtaposition0
testInitializedArrayLastElementFollowedByComma0
testIfStatementWithAssignment0
testDestructorWithExceptionSpecificationDeclaration0
testDestructorWithExplicitVoidParameterDeclaration0
testMethodWithExceptionSpecificationDeclaration0
testTypeidOfUserTypeReference0
testTypeidOfExpression0
testTypeidOfCommaExpression0
testConditionWithFunctionCall0
testTypeidOfAssignmentExpression0
testTypeidOfThis0
testTypeidOfContentOfThis0
testCanRetrieveNameOfTypeidResult0
testMutableMember0.016
testVolatileMember0
testVolatileVariable0
testConstUnsignedIntVariable0
testVolatileConstUnsignedIntVariable0
testFriendClassDeclaration0
testFriendMemberClassDeclaration0
testVolatileMethodDeclaration0
testVolatileMethodDefinition0
testVolatilePointerTypeConversionOperatorDeclaration0
testVolatileConversionOperatorDeclaration0
testInfiniteForLoop0
testAnonymousEnumVariableDeclaration0
testAnonymousClassVariableDeclaration0
testAnonymousClassClassMember0
testForWithFunctionCallsWithSeveralParametersAsInitialization0
testTemplateFriendClassMemberDeclaration0
testTemplateClassMemberDeclaration0
testClassForwardDeclarationMember0
testFriendClassForwardDeclarationMember0
testTemplateMemberVariableOfTemplateType0
testClassForwardDeclaration0
testPureVirtualDestructorWithImplementation0
testPureVirtualMethodWithImplementation0
testPlacementNew0
testNewWithoutParameters0
testNewType0
testNewTypeWithParameters0
testAsmExpression0
testThrowWithoutAnException0.015
testThrowAnException0
testEmptyStatement0
testTemplateForwardDeclarationDoesNotRegisterTemplateTypeAsType0
testOneVariableArgumentFunctionDeclaration0
testVariableArgumentFunctionDeclaration0
testOneVariableArgumentFunctionDefinition0
testVariableArgumentFunctionDefinition0
testIntegerParameterInTemplateDeclaration0
testVoidDefaultTemplateParameterDeclaration0
testVoidPointerDefaultTemplateParameterDeclaration0
testHexadecimalEscapeSequenceInString0
testBackslashAtEndOfLineIsIgnored0
testBackslashAtEndOfLineInStringIsIgnored0
testCp1252NotAsciiCharacterInCommentIsValid0
testCp1252NotAsciiCharacterInMultiCommentIsValid0
testExternFunctionDefinitionIsValid0
testSemiColonMemberDeclarationIsValid0
testTemplateClassDestructorCallOnPointer0
testTemplateClassDestructorCallOnInstance0
testFunctionReturningPointerOnFunctionDeclaration0
testFunctionReturningPointerOnFunctionDefinition0
testFunctionWithCommentedParameterName0
testTMP0

SymbolTableTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0

AsciiResultOutputTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0

CcnTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0

FunctionNameExtractorTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0
testTypeNameBeingTheBeginningOfLabelIsSkipped0.25
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testNoNotificationGeneratesEmptyRootElement0.047
testLabelsNotificationGeneratesLabelsElement0.015
testItemNotificationsGenerateItemElement0
testAverageNotificationGeneratesAverageElement0
testSumNotificationGeneratesSumElement0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testConstructorDefinition0.015
testDestructorDefinition0
testEqualityOperatorDefinition0
testConversionOperatorDefinition0
testNotFunctionReturnsNull0
testFunctionDefinitionWithoutParameters0
testFunctionDefinitionWithIntegerParameter0
testFunctionDefinitionWithIntegerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerPointerParameter0
testFunctionDefinitionWithIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerReferencePointerConstParameter0
testFunctionDefinitionWithIntegerReferencePointerConstParameterWithoutParameterName0
testFunctionDefinitionWithConstPointerConstParameter0
testFunctionDefinitionWithConstPointerConstParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerParameter0
testFunctionDefinitionWithUnsignedIntegerParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerPointerParameter0
testFunctionDefinitionWithUnsignedIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithSeveralParameters0
testFunctionDefinitionWithSeveralParametersWithoutParameterNames0
testConstMethodDefinition0
testMethodDefinitionWithConstReferenceReturnType0
testConstructorDefinitionWithParameter0
testFunctionBodyDoesNotAlterFunctionSignature0
testArrayArgument0
testArrayArgumentWithoutParameterName0
testTemplateClassMethod0
testTemplateParameterFunction0.016
testTemplateParameterFunctionWithoutParameterName0
testPointerOnMemberParameterFunction0
testPointerOnFunctionParameterFunction0
testFunctionReturningPointerOnFunction0
testParenthesisOperatorDefinition0
testFunctionInAnonymousNamespace0
testMethodOfClassDefinedInFunction 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>

NcssTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0

MeasureTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0
testTypeNameBeingTheBeginningOfLabelIsSkipped0.25
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testNoNotificationGeneratesEmptyRootElement0.047
testLabelsNotificationGeneratesLabelsElement0.015
testItemNotificationsGenerateItemElement0
testAverageNotificationGeneratesAverageElement0
testSumNotificationGeneratesSumElement0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testConstructorDefinition0.015
testDestructorDefinition0
testEqualityOperatorDefinition0
testConversionOperatorDefinition0
testNotFunctionReturnsNull0
testFunctionDefinitionWithoutParameters0
testFunctionDefinitionWithIntegerParameter0
testFunctionDefinitionWithIntegerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerPointerParameter0
testFunctionDefinitionWithIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerReferencePointerConstParameter0
testFunctionDefinitionWithIntegerReferencePointerConstParameterWithoutParameterName0
testFunctionDefinitionWithConstPointerConstParameter0
testFunctionDefinitionWithConstPointerConstParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerParameter0
testFunctionDefinitionWithUnsignedIntegerParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerPointerParameter0
testFunctionDefinitionWithUnsignedIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithSeveralParameters0
testFunctionDefinitionWithSeveralParametersWithoutParameterNames0
testConstMethodDefinition0
testMethodDefinitionWithConstReferenceReturnType0
testConstructorDefinitionWithParameter0
testFunctionBodyDoesNotAlterFunctionSignature0
testArrayArgument0
testArrayArgumentWithoutParameterName0
testTemplateClassMethod0
testTemplateParameterFunction0.016
testTemplateParameterFunctionWithoutParameterName0
testPointerOnMemberParameterFunction0
testPointerOnFunctionParameterFunction0
testFunctionReturningPointerOnFunction0
testParenthesisOperatorDefinition0
testFunctionInAnonymousNamespace0
testMethodOfClassDefinedInFunction 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testConditionalExpression0
testSemiColumExternalDeclaration0
testTypedefType0
testTypedefTypeInNamespace0
testTypedefTemplateType0
testTypedefTemplateNamespacedType0
testTypedefTemplateTypeInNamespace0
testTypedefTemplateTypeOfTemplateType0
testTypedefTemplateTypeOfTemplateParameter0
testTemplateClassMemberTypeVariable0
testVariableType0
testVariableTypeInNamespace0
testVariableOfTemplateType0
testVariableTemplateNamespacedType0
testVariableTemplateTypeInNamespace0
testVariableTemplateNamespacedTypeInNamespace0.015
testTypedefTypename0
testTypenameQualifier0
testMutableQualifier0
testTemplateFunctionDeclaration0
testTemplateFunctionDefinition0
testTemplateMethodDeclaration0
testUserTypeDefaultTemplateParameterClassDefinition0
testBaseTypeDefaultTemplateParameterClassDefinition0
testTemplateSpecializedMethodDeclaration0
testTemplateSpecializedClassDefinition0
testTemplateSpecializedNamespacedClassDefinition0
testTemplateMethodDefinition0
testTemplateSpecializedClassDeclaration0
testTemplateSpecializedSubClassTemplateDeclaration0
testTemplateSpecializedSubClassDeclaration0
testTemplateClassInstanciation0
testTypedTemplateClassInstanciation0
testSpecializedTemplateClassInstanciation0
testTemplateSpecializedClassInstanciation0
testTemplateMemberInitializer0
testTemplateTypeClassDeclaration0
testSpecializedTemplateTypeClassDeclaration0
testSpecializedTemplateMemberPointerClassDeclaration0
testTemplateMethodOfTemplateClassSeparateDefinition0
testTemplateFunctionCall0.016
testTemplateConstructorDefinition0
testTemplateConstructorSeparateDefinition0
testTemplateMethodCallWithTemplateParameter0
testTemplateStaticMethodCallWithTemplateParameter0
testUnsupportedTemplateFunctionCallThrowsException0
testUnsupportedTemplateFunctionCall2ThrowsException0.016
testBuiltInTypeCast0
testUnsignedBuiltInTypeCast0
testSignedBuiltInTypeCast0
testUnsignedLongIntVariableDeclaration0
testUnsignedLongIntTypeCast0
testTypeCastAssignmentExpression0
testDestructorDefinitionWithoutClassDeclarationIsValid0
testTildeUnaryOperator0
testMethodCallWithinVariableInitialization0
testUsingSeveralNamespaces0
testUsingNestedNamespacesFullPath0
testUsingNestedNamespacesHalfPath0
testUsingNamespaceInFunction0
testUsingClass0
testMemberUsingClass0
testFunctionUsingClass0
testNamespaceAliasing0
testConstructorDefinitionThrowSpecification0.015
testNamespacedConstructorDefinition0
testConversionOperator0
testConversionOperatorOfTemplateClassSeparateDefinition0
testConstConversionOperatorSeparateDefinition0
testInlineOperatorSeparateDefinition0
testInlinePureVirtualOperatorDeclaration0
testFunctionReturningConstPointer0
testMemberPointerWithAnonymousParameter0
testMemberPointerWithParameterByCopy0
testInnerTemplateClass0
testSingleLineCommentAtEndOfFile0
testPreProcessorDirective0
testPreProcessorDirectiveAtEndOfFile0
testPreProcessorOnSeveralLinesAtEndOfFile0
testCommentAtEndOfFile0
testEnumWithoutCommaAfterLastValue0
testEnumWithTwoValues0
testEnumWithCommaAfterLastValue0
testEnumWithTwoValuesWithCommaAfterLastValue0
testEmptyEnum0
testEmptyAnonymousEnum0
testVariableParenthesisInitialization0
testNamespaceAliasingDeclaration0
testBitFieldDeclaration0
testStaticConstMemberDataInPlaceInitialization0
testExplicitConstructorDeclaration0
testExplicitConstructorDefinition0
testPureVirtualDestructorDeclaration0
testMemberDataList0
testReturnParenthezizedExpression0
testReturnParenthezizedComplexExpression0
testSizeOfBaseType0
testSizeOfUserType0
testSizeOfUserTypeReference0
testSizeOfAnExpression0
testSizeOfFunctionCall0
testSizeOfAssignment0
testSizeOfCommaExpression0
testSizeOfWithoutParenthesis0
testGlobalScopeOverrideFunctionCall0
testStringJuxtaposition0
testInitializedArrayLastElementFollowedByComma0
testIfStatementWithAssignment0
testDestructorWithExceptionSpecificationDeclaration0
testDestructorWithExplicitVoidParameterDeclaration0
testMethodWithExceptionSpecificationDeclaration0
testTypeidOfUserTypeReference0
testTypeidOfExpression0
testTypeidOfCommaExpression0
testConditionWithFunctionCall0
testTypeidOfAssignmentExpression0
testTypeidOfThis0
testTypeidOfContentOfThis0
testCanRetrieveNameOfTypeidResult0
testMutableMember0.016
testVolatileMember0
testVolatileVariable0
testConstUnsignedIntVariable0
testVolatileConstUnsignedIntVariable0
testFriendClassDeclaration0
testFriendMemberClassDeclaration0
testVolatileMethodDeclaration0
testVolatileMethodDefinition0
testVolatilePointerTypeConversionOperatorDeclaration0
testVolatileConversionOperatorDeclaration0
testInfiniteForLoop0
testAnonymousEnumVariableDeclaration0
testAnonymousClassVariableDeclaration0
testAnonymousClassClassMember0
testForWithFunctionCallsWithSeveralParametersAsInitialization0
testTemplateFriendClassMemberDeclaration0
testTemplateClassMemberDeclaration0
testClassForwardDeclarationMember0
testFriendClassForwardDeclarationMember0
testTemplateMemberVariableOfTemplateType0
testClassForwardDeclaration0
testPureVirtualDestructorWithImplementation0
testPureVirtualMethodWithImplementation0
testPlacementNew0
testNewWithoutParameters0
testNewType0
testNewTypeWithParameters0
testAsmExpression0
testThrowWithoutAnException0.015
testThrowAnException0
testEmptyStatement0
testTemplateForwardDeclarationDoesNotRegisterTemplateTypeAsType0
testOneVariableArgumentFunctionDeclaration0
testVariableArgumentFunctionDeclaration0
testOneVariableArgumentFunctionDefinition0
testVariableArgumentFunctionDefinition0
testIntegerParameterInTemplateDeclaration0
testVoidDefaultTemplateParameterDeclaration0
testVoidPointerDefaultTemplateParameterDeclaration0
testHexadecimalEscapeSequenceInString0
testBackslashAtEndOfLineIsIgnored0
testBackslashAtEndOfLineInStringIsIgnored0
testCp1252NotAsciiCharacterInCommentIsValid0
testCp1252NotAsciiCharacterInMultiCommentIsValid0
testExternFunctionDefinitionIsValid0
testSemiColonMemberDeclarationIsValid0
testTemplateClassDestructorCallOnPointer0
testTemplateClassDestructorCallOnInstance0
testFunctionReturningPointerOnFunctionDeclaration0
testFunctionReturningPointerOnFunctionDefinition0
testFunctionWithCommentedParameterName0
testTMP0
testMethodToRemoveJUnitWarningAboutMissingTests0
testMeasureComparedToItselfEqualsZero0
testMeasuresWithDifferentCountsComparedToOneAnotherEqualZero0
testDifferentsMeasuresWithSameCountComparedToOneAnotherEqualOne0

XmlResultOutputTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0
testTypeNameBeingTheBeginningOfLabelIsSkipped0.25
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testNoNotificationGeneratesEmptyRootElement0.047
testLabelsNotificationGeneratesLabelsElement0.015
testItemNotificationsGenerateItemElement0
testAverageNotificationGeneratesAverageElement0
testSumNotificationGeneratesSumElement0.016
testMethodToRemoveJUnitWarningAboutMissingTests0

EasyMockTestCase

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0
testFunctionWithEmptyBodyHasCcnValueOfOne0
testTwoFunctionsWithEmptyBodyHaveCcnValueOfTwo0
testIfStatementIncrementsCcnByOne0
testForStatementIncrementsCcnByOne0
testWhileStatementIncrementsCcnByOne0
testSwitchStatementIncrementsCcnByOnePerCase0
testSwitchStatementDoesNotIncrementCcnForDefault0
testCatchStatementIncrementsCcnByOne0.031
testDoStatementIncrementsCcnByOne0
testAndExpressionIncrementsCcnByOne0
testDoubleAndExpressionIncrementsCcnByTwo0
testOrExpressionIncrementsCcnByOne0
testDoubleOrExpressionIncrementsCcnByTwo0
testConditionalExpressionIncrementsCcnByOne0
testDoubleConditionalExpressionIncrementsCcnByTwo0
testExpressionWithAndOrAndConditionalIncrementsCcnByThree0
testCcnFromMethodOfClassDefinedOnStackAddsUp0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testFunctionDefinition0
testFunctionWithOneParameterDefinition0
testFunctionWithTwoParametersDefinition0
testFunctionWithInnerClassDefinition0
testFunctionDeclaration0
testFunctionWithPointerParameterDeclaration0
testFunctionWithPointerOnPointerParameterDeclaration0
testFunctionWithArrayParameterDeclaration0
testFunctionWithPointerOnFunctionParameterDeclaration0
testMethodDefinition0
testMethodDeclaration0
testMethodSeparateDefinition0
testConstructorDefinition0
testConstructorDeclaration0
testConstructorSeparateDefinition0
testDestructorDefinition0
testDestructorDeclaration0
testDestructorSeparateDefinition0
testEqualityOperatorDefinition0
testEqualityOperatorDeclaration0
testEqualityOperatorSeparateDefinition0
testConversionOperatorDefinition0
testConversionOperatorDeclaration0
testConversionOperatorSeparateDefinition0
testIdExpression0
testScopedIdExpression0
testNumericConstantExpression0
testStringConstantExpression0
testConcanatedStringsConstantExpression0
testLogicalAndExpression0.015
testLogicalOrExpression0
testConditionalExpression0
testAssignmentExpression0
testThrowExpression0
testThrowExpressionWithException0
testInclusiveOrExpression0
testExclusiveOrExpression0
testAndExpression0
testEqualToEqualityExpression0
testDifferentFromEqualityExpression0
testRelationalExpression0
testShiftExpression0
testAdditiveExpression0
testMultiplicativeExpression0
testPointerToMemberExpression0
testCastExpression0
testUnaryExpression0
testUnarySizeofExpression0
testFunctionCallExpression0
testIncrementPostfixExpression0
testDecrementPostfixExpression0
testThisIsPrimaryExpression0
testParenthizedExpressionIsPrimaryExpression0
testNewExpression0
testComplexNewExpression0
testDeleteExpression0
testTypeIdExpression0.016
testClassDefinition0
testClassDeclaration0
testEnumDefinition0
testClassVariableDefinition0
testAnonymousClassVariableDefinition0
testEnumVariableDefinition0
testAnonymousEnumVariableDefinition0
testVariableExternalDeclaration0
testVariableExternalDeclarationAndInitialization0
testClassMemberVariableDeclaration0
testClassDefinitionWithOneMethodDeclarationWithinFunction0
testNamespaceDefinition0
testUsingNamespace0
testUsingNamespaceType0
testLabelStatement0
testIfStatement0
testIfElseStatement0
testWhileStatement0
testDoWhileStatement0
testForStatement0
testSwitchStatement0
testGotoStatement0
testBreakStatement0
testContinueStatement0
testReturnStatement0
testReturnStatementWithExpression0
testThrowStatement0
testThrowStatementWithException0
testTryCatchBlocks0
testMultiLineCommentAtBeginningOfFile0
testSingleLineCommentAtBeginningOfFile0
testMultipleSingleLineCommentAtBeginningOfFile0
testResolveOutsideOfAnyScopeDoesNotAddAnyPrefix0
testExtendingWithNonExistingScopeIsNoOp0
testResolveInsideSimpleScopeAddsPrefix0
testResolveInsideComplexScopeAddsPrefix0
testOpenSeveralScopesAtTheSameTime0
testOpenSeveralScopesAtTheSameTimeAndCloseOne0
testResolveSubPathOutsideOfScopeAddsPrefix0
testResolveSearchesInExtendingScopes0
testResolveSearchesInExtendingSubScopes0
testTmp0
testTypeNameBeingTheBeginningOfLabelIsSkipped0.25
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testNoNotificationGeneratesEmptyRootElement0.047
testLabelsNotificationGeneratesLabelsElement0.015
testItemNotificationsGenerateItemElement0
testAverageNotificationGeneratesAverageElement0
testSumNotificationGeneratesSumElement0.016
testMethodToRemoveJUnitWarningAboutMissingTests0
testConstructorDefinition0.015
testDestructorDefinition0
testEqualityOperatorDefinition0
testConversionOperatorDefinition0
testNotFunctionReturnsNull0
testFunctionDefinitionWithoutParameters0
testFunctionDefinitionWithIntegerParameter0
testFunctionDefinitionWithIntegerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerPointerParameter0
testFunctionDefinitionWithIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithIntegerReferencePointerConstParameter0
testFunctionDefinitionWithIntegerReferencePointerConstParameterWithoutParameterName0
testFunctionDefinitionWithConstPointerConstParameter0
testFunctionDefinitionWithConstPointerConstParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerParameter0
testFunctionDefinitionWithUnsignedIntegerParameterWithoutParameterName0
testFunctionDefinitionWithUnsignedIntegerPointerParameter0
testFunctionDefinitionWithUnsignedIntegerPointerParameterWithoutParameterName0
testFunctionDefinitionWithSeveralParameters0
testFunctionDefinitionWithSeveralParametersWithoutParameterNames0
testConstMethodDefinition0
testMethodDefinitionWithConstReferenceReturnType0
testConstructorDefinitionWithParameter0
testFunctionBodyDoesNotAlterFunctionSignature0
testArrayArgument0
testArrayArgumentWithoutParameterName0
testTemplateClassMethod0
testTemplateParameterFunction0.016
testTemplateParameterFunctionWithoutParameterName0
testPointerOnMemberParameterFunction0
testPointerOnFunctionParameterFunction0
testFunctionReturningPointerOnFunction0
testParenthesisOperatorDefinition0
testFunctionInAnonymousNamespace0
testMethodOfClassDefinedInFunction 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally 0
null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testConditionalExpression0
testSemiColumExternalDeclaration0
testTypedefType0
testTypedefTypeInNamespace0
testTypedefTemplateType0
testTypedefTemplateNamespacedType0
testTypedefTemplateTypeInNamespace0
testTypedefTemplateTypeOfTemplateType0
testTypedefTemplateTypeOfTemplateParameter0
testTemplateClassMemberTypeVariable0
testVariableType0
testVariableTypeInNamespace0
testVariableOfTemplateType0
testVariableTemplateNamespacedType0
testVariableTemplateTypeInNamespace0
testVariableTemplateNamespacedTypeInNamespace0.015
testTypedefTypename0
testTypenameQualifier0
testMutableQualifier0
testTemplateFunctionDeclaration0
testTemplateFunctionDefinition0
testTemplateMethodDeclaration0
testUserTypeDefaultTemplateParameterClassDefinition0
testBaseTypeDefaultTemplateParameterClassDefinition0
testTemplateSpecializedMethodDeclaration0
testTemplateSpecializedClassDefinition0
testTemplateSpecializedNamespacedClassDefinition0
testTemplateMethodDefinition0
testTemplateSpecializedClassDeclaration0
testTemplateSpecializedSubClassTemplateDeclaration0
testTemplateSpecializedSubClassDeclaration0
testTemplateClassInstanciation0
testTypedTemplateClassInstanciation0
testSpecializedTemplateClassInstanciation0
testTemplateSpecializedClassInstanciation0
testTemplateMemberInitializer0
testTemplateTypeClassDeclaration0
testSpecializedTemplateTypeClassDeclaration0
testSpecializedTemplateMemberPointerClassDeclaration0
testTemplateMethodOfTemplateClassSeparateDefinition0
testTemplateFunctionCall0.016
testTemplateConstructorDefinition0
testTemplateConstructorSeparateDefinition0
testTemplateMethodCallWithTemplateParameter0
testTemplateStaticMethodCallWithTemplateParameter0
testUnsupportedTemplateFunctionCallThrowsException0
testUnsupportedTemplateFunctionCall2ThrowsException0.016
testBuiltInTypeCast0
testUnsignedBuiltInTypeCast0
testSignedBuiltInTypeCast0
testUnsignedLongIntVariableDeclaration0
testUnsignedLongIntTypeCast0
testTypeCastAssignmentExpression0
testDestructorDefinitionWithoutClassDeclarationIsValid0
testTildeUnaryOperator0
testMethodCallWithinVariableInitialization0
testUsingSeveralNamespaces0
testUsingNestedNamespacesFullPath0
testUsingNestedNamespacesHalfPath0
testUsingNamespaceInFunction0
testUsingClass0
testMemberUsingClass0
testFunctionUsingClass0
testNamespaceAliasing0
testConstructorDefinitionThrowSpecification0.015
testNamespacedConstructorDefinition0
testConversionOperator0
testConversionOperatorOfTemplateClassSeparateDefinition0
testConstConversionOperatorSeparateDefinition0
testInlineOperatorSeparateDefinition0
testInlinePureVirtualOperatorDeclaration0
testFunctionReturningConstPointer0
testMemberPointerWithAnonymousParameter0
testMemberPointerWithParameterByCopy0
testInnerTemplateClass0
testSingleLineCommentAtEndOfFile0
testPreProcessorDirective0
testPreProcessorDirectiveAtEndOfFile0
testPreProcessorOnSeveralLinesAtEndOfFile0
testCommentAtEndOfFile0
testEnumWithoutCommaAfterLastValue0
testEnumWithTwoValues0
testEnumWithCommaAfterLastValue0
testEnumWithTwoValuesWithCommaAfterLastValue0
testEmptyEnum0
testEmptyAnonymousEnum0
testVariableParenthesisInitialization0
testNamespaceAliasingDeclaration0
testBitFieldDeclaration0
testStaticConstMemberDataInPlaceInitialization0
testExplicitConstructorDeclaration0
testExplicitConstructorDefinition0
testPureVirtualDestructorDeclaration0
testMemberDataList0
testReturnParenthezizedExpression0
testReturnParenthezizedComplexExpression0
testSizeOfBaseType0
testSizeOfUserType0
testSizeOfUserTypeReference0
testSizeOfAnExpression0
testSizeOfFunctionCall0
testSizeOfAssignment0
testSizeOfCommaExpression0
testSizeOfWithoutParenthesis0
testGlobalScopeOverrideFunctionCall0
testStringJuxtaposition0
testInitializedArrayLastElementFollowedByComma0
testIfStatementWithAssignment0
testDestructorWithExceptionSpecificationDeclaration0
testDestructorWithExplicitVoidParameterDeclaration0
testMethodWithExceptionSpecificationDeclaration0
testTypeidOfUserTypeReference0
testTypeidOfExpression0
testTypeidOfCommaExpression0
testConditionWithFunctionCall0
testTypeidOfAssignmentExpression0
testTypeidOfThis0
testTypeidOfContentOfThis0
testCanRetrieveNameOfTypeidResult0
testMutableMember0.016
testVolatileMember0
testVolatileVariable0
testConstUnsignedIntVariable0
testVolatileConstUnsignedIntVariable0
testFriendClassDeclaration0
testFriendMemberClassDeclaration0
testVolatileMethodDeclaration0
testVolatileMethodDefinition0
testVolatilePointerTypeConversionOperatorDeclaration0
testVolatileConversionOperatorDeclaration0
testInfiniteForLoop0
testAnonymousEnumVariableDeclaration0
testAnonymousClassVariableDeclaration0
testAnonymousClassClassMember0
testForWithFunctionCallsWithSeveralParametersAsInitialization0
testTemplateFriendClassMemberDeclaration0
testTemplateClassMemberDeclaration0
testClassForwardDeclarationMember0
testFriendClassForwardDeclarationMember0
testTemplateMemberVariableOfTemplateType0
testClassForwardDeclaration0
testPureVirtualDestructorWithImplementation0
testPureVirtualMethodWithImplementation0
testPlacementNew0
testNewWithoutParameters0
testNewType0
testNewTypeWithParameters0
testAsmExpression0
testThrowWithoutAnException0.015
testThrowAnException0
testEmptyStatement0
testTemplateForwardDeclarationDoesNotRegisterTemplateTypeAsType0
testOneVariableArgumentFunctionDeclaration0
testVariableArgumentFunctionDeclaration0
testOneVariableArgumentFunctionDefinition0
testVariableArgumentFunctionDefinition0
testIntegerParameterInTemplateDeclaration0
testVoidDefaultTemplateParameterDeclaration0
testVoidPointerDefaultTemplateParameterDeclaration0
testHexadecimalEscapeSequenceInString0
testBackslashAtEndOfLineIsIgnored0
testBackslashAtEndOfLineInStringIsIgnored0
testCp1252NotAsciiCharacterInCommentIsValid0
testCp1252NotAsciiCharacterInMultiCommentIsValid0
testExternFunctionDefinitionIsValid0
testSemiColonMemberDeclarationIsValid0
testTemplateClassDestructorCallOnPointer0
testTemplateClassDestructorCallOnInstance0
testFunctionReturningPointerOnFunctionDeclaration0
testFunctionReturningPointerOnFunctionDefinition0
testFunctionWithCommentedParameterName0
testTMP0
testMethodToRemoveJUnitWarningAboutMissingTests0

EasyMockTestCaseTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0
testCreateMockFromInterfaceProvidesNonNullObject0
testCreateMockFromClassProvidesNonNullObject0.219
testCreateMockAndRunTestPasses0
testCreateMockWithExpectationAndRunTestFails0
testCreateMockWithExpectationAndRunTestPasses0

OptionsTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0

PreProcessorTest

testEmptyContentHasNcssOfZero0.485
testSingleSemiColonHasNcssOfZero0.015
testDeclarationStatementHasNcssValueOfOne0
testFunctionDeclarationHasNcssValueOfOne0
testFunctionDefinitionWithEmptyBodyHasNcssValueOfOne0
testConstructorInitializerIncrementsNcssByOne0
testSemiColonDoesNotIncrementNcss0
testDeclarationStatementWithinFunctionIncrementsNcssByOne0
testExpressionStatementIncrementsNcssByOne0
testIfStatementIncrementsNcssByOne0.016
testElseStatementIncrementsNcssByOne0
testWhileStatementIncrementsNcssByOne0
testDoStatementIncrementsNcssByOne0.016
testForStatementIncrementsNcssByOne0
testSwitchStatementIncrementsNcssByOne0
testCaseStatementIncrementsNcssByOne0
testDefaultStatementIncrementsNcssByOne0
testBreakStatementIncrementsNcssByOne0
testContinueStatementIncrementsNcssByOne0
testReturnStatementIncrementsNcssByOne0
testGotoStatementIncrementsNcssByOne0
testCatchStatementIncrementsNcssByOne0
testLabelIncrementsNcssByOne0.016
testNamespaceDefinitionIncrementsNcssByOne0
testUsingNamespaceIncrementsNcssByOne0
testClassDeclarationIncrementsNcssByOne0
testClassDeclarationWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithinFunctionIncrementsNcssByOne0
testClassDefinitionWithOneMethodDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionWithOneVariableDeclarationWithinFunctionIncrementsNcssByTwo0
testClassDefinitionIncrementsNcssByOne0
testMemberVariableWithinClassDefinitionIncrementsNcssByOne0
testMethodDeclarationWithinClassDefinitionIncrementsNcssByOne0
testConstructorDeclarationWithinClassDefinitionIncrementsNcssByOne0
testDestructorDeclarationWithinClassDefinitionIncrementsNcssByOne0.015
testMethodDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassDefinitionWithinClassDefinitionIncrementsNcssByOne0
testClassVariableDefinitionIncrementsNcssByOne0
testStructDeclarationIncrementsNcssByOne0
testUnionDeclarationIncrementsNcssByOne0
testEnumIncrementsNcssByOne0
testTypedefIncrementsNcssByOne0
testInitializerIncrementsNcssByOne0.016
testLabelIncrementNcssByOne0
testMethodToRemoveJUnitWarningAboutMissingTests0
testNotifyLabelsOutputsFormattedHeader0
testTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifyAllMeasurementsOutputsCountsAndItem0
testMeasurementTypeNameBeingTheBeginningOfLabelIsSkipped0
testNotifySumOutputsCountsAndLabel0.016
testNotifyAverageOutputsCountsAndLabel0
testAverageTypeNameBeingTheBeginningOfLabelIsSkipped0
testMethodToRemoveJUnitWarningAboutMissingTests0
testHasOptionIsTrueWhenOptionIsEnabled0
testHasOptionIsFalseWhenOptionNotEnabled0
testRetrieveOptionValue0
testRetrieveOptionProperty0
testRetrieveOptionPropertyValue0
testRetrieveOptionPropertyValueWithoutProperty0
testRetrieveSeveralOptionValues0
testNoMacroNoDefineDoesNotModifyTokens0
testEmptyNameIsInvalid0.063
testDefineNameMustBeMadeOfTokenOfTypeId0
testDefineNameMustBeMadeOfOneToken0
testDefineReplacesOccurenceWithinInputTokens0
testMacroWithoutContentReplacesOccurenceWithinInputTokens0
testMacroWithContentReplacesOccurenceWithinInputTokens0
testMacroWithExpressionContentReplacesOccurenceWithinInputTokens0
testMacroReplacesSeveralOccurencesWithinInputTokens0
testMacroNameWithoutParenthesisIsNoOp0
testRegisterSameMacroNameTwiceThrowsAnException0.016
testMacroWithNonIdTokenReplacesOccurenceWithinInputTokens0
testDefineWithNonIdTokenReplacesOccurenceWithinInputTokens0
testMacroWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testDefineWithSeveralNonIdTokensReplacesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesOccurenceWithinInputTokens0
testDefineWithEmptyValueRemovesOccurenceWithinInputTokens0
testMacroWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testDefineWithEmptyValueRemovesTwoConsecutiveOccurencesWithinInputTokens0
testInsertedTokensLinesAndColumnsAreThoseOfTheDefineNameToken0
testInsertedTokensLinesAndColumnsAreThoseOfTheMacroNameToken0

Failure Details

testMethodOfClassDefinedInFunction
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedInFunction
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedInFunction
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedInFunction
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>
testMethodOfClassDefinedLocally
junit.framework.ComparisonFailure: null expected:<My[Function::My]Class::MyMethod()> but was:<My[]Class::MyMethod()>