LexicalPreservingPrinterTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total5,071 of 5,0710%24 of 240%165165974974153153
nodeTextForModifiedMethod()3410%n/a11494911
nodeTextForMethod()3170%n/a11444411
checkNodeTextCreatedForSimplestClass()1180%n/a11191911
checkNodeTextCreatedAnnotationDeclaration()790%n/a119911
checkNodeTextCreatedForMethod()780%n/a119911
testIndentOfCodeBlocks()780%n/a11161611
printASimpleMethodAddingAStatement()710%n/a11161611
handleOverrideAnnotation()680%n/a115511
handleAddingMarkerAnnotation()680%n/a115511
checkNodeTextCreatedGenericType()670%n/a11111111
printASimpleMethodRemovingAStatement(String)660%n/a116611
addingStatementToAnAddedMethodInASimpleClassWithMoreFormatting()660%n/a11111111
checkNodeTextCreatedForMethodWithAnnotatedTypeArgument()650%n/a11101011
moveOrAddOverrideAnnotations()640%n/a115511
handleOverrideMarkerAnnotation()640%n/a115511
handleOverrideAnnotationAlternative()640%n/a115511
removedBlockCommentsPrinted()630%n/a115511
checkNodeTextCreatedForMethodParameterWithAnnotation()600%n/a11101011
printASimpleClassRemovingAMethod()600%n/a117711
moveOverrideAnnotations()600%n/a115511
addASecondStatementToExistingMethod()590%n/a11121211
checkNodeTextCreatedAnnotationMemberDeclaration()560%n/a11101011
checkNodeTextCreatedAnnotationMemberDeclarationWithArrayType()560%n/a11101011
removedLineCommentsPrinted()550%n/a115511
checkNodeTextCreatedAnnotationMemberDeclarationWithComment()530%n/a11101011
checkNodeTextCreatedForMethodParameter()520%n/a11101011
printASimpleCUWithoutChanges()510%n/a118811
printASimpleClassRemovingAField()500%n/a117711
checkNodeTextCreatedForField()490%n/a119911
addingStatementToAnAddedMethodInASimpleClassWithMoreFormattingFromStep3()490%n/a11111111
checkNodeTextCreatedForMethodWithTypeArgument()480%n/a11101011
checkNodeTextCreatedForPrimitiveType()470%n/a11111111
checkNodeTextCreatedForSimpleImport()470%n/a118811
checkNodeTextCreatedAnnotationMemberDeclarationArrayType()470%n/a11111111
testFixIndentOfMovedNode()470%n/a11171711
checkNodeTextCreatedForVariableDeclarator()430%n/a11101011
addedBlockCommentsPrinted()430%n/a115511
addedLineCommentsPrinted()430%n/a115511
checkNodeTextCreatedArrayCreationLevelWith()420%n/a11111111
theLexicalPreservationStringForAnAddedMethodShouldBeIndented()420%n/a116611
addingParameterToAnAddedMethodInASimpleClassWithMoreFormatting()410%n/a117711
invokeModifierVisitorIssue1297()410%n/a113311
findIndentationOfMethodWithStatements()400%n/a11121211
findIndentationForAnnotationMemberDeclarationWithoutComment()390%n/a117711
findIndentationForAnnotationMemberDeclarationWithComment()390%n/a117711
commentAddedAtTopLevel()390%n/a118811
checkNodeTextCreatedArrayCreationLevelWithoutExpression()380%n/a11111111
printASuperSimpleClassWithAFieldAdded()370%n/a117711
printUnionType()370%n/a11101011
testInvokeModifierVisitor()370%n/a113311
printASingleCatchType()360%n/a11101011
printLambdaIntersectionTypeAssignment()360%n/a114411
addMethodToASimpleClassWithMoreFormatting()360%n/a116611
issue1244()360%n/a115511
printParameterHavingUnionType()350%n/a11101011
testReplaceTextBlockLiteral()350%n/a11101011
testTextBlockSupport()310%n/a119911
handleUnexpectedToken()310%n/a11101011
findIndentationOfEmptyMethod()300%n/a119911
lambda$moveOrAddOverrideAnnotations$7(BodyDeclaration)300%60%44101011
invokeModifierVisitor()290%n/a113311
issue1321()290%n/a116611
printLambdaIntersectionTypeReturn()280%n/a114411
addingOrphanCommentToBlock()280%n/a116611
printASimpleMethodAddingAParameterToAMethodWithZeroParameters()270%n/a117711
printASimpleMethodAddingAParameterToAMethodWithOneParameter()270%n/a117711
printASimpleMethodRemovingAParameterToAMethodWithOneParameter()270%n/a117711
printASimpleMethodRemovingParameterOneFromMethodWithTwoParameters()270%n/a117711
printASimpleMethodRemovingParameterTwoFromMethodWithTwoParameters()270%n/a117711
testRemovingInlinedAnnotation()270%n/a117711
testRemovingInlinedAnnotation_alternate_case()270%n/a117711
testReplaceClassName()260%n/a117711
testReplaceStringLiteral()250%n/a118811
addingOrphanCommentToBlockInMethodDeclaration()250%n/a116611
addingOrphanCommentToBlockInMethodDeclaration2()250%n/a116611
addingOrphanCommentToType()240%n/a116611
lambda$moveOverrideAnnotations$4(MethodDeclaration)240%40%338811
addedImportShouldBePrependedWithEOL()230%n/a114411
handleDeprecatedAnnotationFinalClass()230%n/a115511
handleDeprecatedAnnotationAbstractClass()230%n/a115511
testReplaceIntLiteral()230%n/a117711
testArrayPreservation_WithSingleLanguageStyle()230%n/a116611
testArrayPreservation_WithMultipleLanguageStyle()230%n/a116611
testArrayPreservation_WithSingleCLanguageStyle()230%n/a116611
testArrayPreservation_WithMultipleCLanguageStyle()230%n/a116611
testArrayPreservation_WithSingleBracketWithoutSpace()230%n/a116611
testArrayPreservation_WithMultipleBracketWithoutSpace()230%n/a116611
testClassOrInterfacePreservationWithFullyQualifiedName_SingleType()230%n/a116611
testClassOrInterfacePreservationWithFullyQualifiedName_ArrayType()230%n/a116611
testClassOrInterfacePreservationWithFullyQualifiedName_MultipleVariablesDeclarationWithSameType()230%n/a116611
testClassOrInterfacePreservationWithFullyQualifiedName_MultipleVariablesDeclarationwithDifferentType()230%n/a116611
testReplaceStringLiteralWithinStatement()220%n/a116611
renameASimpleClassWithMoreFormatting()210%n/a114411
checkLPPIsAvailableOnNode()210%n/a117711
lambda$issue1244$19(ClassOrInterfaceDeclaration)200%20%225511
testReplaceLongLiteral()190%n/a116611
testReplaceBooleanLiteral()190%n/a116611
testReplaceDoubleLiteral()190%n/a116611
testReplaceCharLiteral()190%n/a116611
testReplaceCharLiteralUnicode()190%n/a116611
removedIndentationLineCommentsPrinted()190%n/a115511
removedIndentationBlockCommentsPrinted()190%n/a115511
removedIndentationJavaDocCommentsPrinted()190%n/a115511
printAModuleInfoSpecificKeywordUsedAsIdentifier1()180%n/a114411
printAModuleInfoSpecificKeywordUsedAsIdentifier2()180%n/a114411
checkLegacyLPPExecution()180%n/a116611
printASimpleImport()170%n/a115511
printAnotherImport()170%n/a115511
printAStaticImport()170%n/a115511
removedLineCommentsPrintedUnix()170%n/a115511
removedLineCommentsWithSameContent()170%n/a115511
lambda$handleAddingMarkerAnnotation$9(BodyDeclaration)160%40%335511
lambda$handleOverrideAnnotation$2(BodyDeclaration)160%40%335511
printASuperSimpleClassWithoutChanges()150%n/a114411
issue2001()150%n/a114411
checkLPPIsDefaultPrinter()140%n/a115511
preserveSpaceAsIsForASimpleClassWithMoreFormatting()120%n/a113311
printASuperSimpleCUWithoutChanges()110%n/a114411
checkAnnidatedTypeParametersPrinting()110%n/a115511
printASingleCatch()110%n/a114411
printAMultiCatch()110%n/a115511
printLambaWithUntypedParams()110%n/a114411
checkLPPIsNotDefaultPrinter()100%n/a114411
reactToSetPackageDeclarationOnCuStartingWithComment()90%n/a113311
lambda$checkNodeTextCreatedArrayCreationLevelWith$1(String)70%20%221111
lambda$checkNodeTextCreatedArrayCreationLevelWithoutExpression$0(String)70%20%221111
getTextForNode(Node)50%n/a111111
lambda$testReplaceTextBlockLiteral$27(TextBlockLiteralExpr)50%n/a112211
lambda$testReplaceCharLiteralUnicode$26(CharLiteralExpr)50%n/a112211
lambda$testReplaceCharLiteral$25(CharLiteralExpr)50%n/a112211
lambda$testReplaceDoubleLiteral$24(DoubleLiteralExpr)50%n/a112211
lambda$testReplaceBooleanLiteral$23(BooleanLiteralExpr)50%n/a112211
lambda$testReplaceLongLiteral$22(LongLiteralExpr)50%n/a112211
lambda$testReplaceClassName$21(ClassOrInterfaceDeclaration)50%n/a111111
lambda$testReplaceStringLiteralWithinStatement$20(StringLiteralExpr)50%n/a112211
lambda$handleDeprecatedAnnotationAbstractClass$18(TypeDeclaration)50%n/a111111
lambda$handleDeprecatedAnnotationFinalClass$17(TypeDeclaration)50%n/a111111
lambda$handleOverrideAnnotationAlternative$16(TypeDeclaration)50%n/a112211
lambda$handleOverrideAnnotationAlternative$14(MethodDeclaration)50%n/a111111
lambda$handleOverrideMarkerAnnotation$13(TypeDeclaration)50%n/a112211
lambda$handleOverrideMarkerAnnotation$11(MethodDeclaration)50%n/a111111
lambda$handleAddingMarkerAnnotation$10(TypeDeclaration)50%n/a111111
lambda$moveOrAddOverrideAnnotations$8(TypeDeclaration)50%n/a111111
lambda$moveOverrideAnnotations$6(TypeDeclaration)50%n/a112211
lambda$handleOverrideAnnotation$3(TypeDeclaration)50%n/a111111
printASimpleMethodRemovingAStatementCRLF()40%n/a112211
printASimpleMethodRemovingAStatementLF()40%n/a112211
printASimpleMethodRemovingAStatementCR()40%n/a112211
lambda$removedLineCommentsWithSameContent$28(Comment)40%n/a111111
lambda$handleOverrideAnnotationAlternative$15(BodyDeclaration)40%n/a111111
lambda$handleOverrideMarkerAnnotation$12(BodyDeclaration)40%n/a111111
lambda$moveOverrideAnnotations$5(BodyDeclaration)40%n/a111111
LexicalPreservingPrinterTest()30%n/a111111