Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
91 0 0 0 100% 0.462

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.maven.shared.dependency.analyzer 13 0 0 0 100% 0.258
org.apache.maven.shared.dependency.analyzer.asm 78 0 0 0 100% 0.204

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

org.apache.maven.shared.dependency.analyzer

Class Tests Errors Failures Skipped Success Rate Time
CollectorClassFileVisitorTest 1 0 0 0 100% 0.002
ProjectDependencyAnalyzerExceptionTest 2 0 0 0 100% 0.006
ProjectDependencyAnalysisTest 2 0 0 0 100% 0.018
ClassFileVisitorUtilsTest 6 0 0 0 100% 0.062
DefaultClassAnalyzerTest 2 0 0 0 100% 0.17

org.apache.maven.shared.dependency.analyzer.asm

Class Tests Errors Failures Skipped Success Rate Time
ResultCollectorTest 4 0 0 0 100% 0.043
DependencyVisitorTest 73 0 0 0 100% 0.124
ASMDependencyAnalyzerTest 1 0 0 0 100% 0.037

Test Cases

[Summary] [Package List] [Test Cases]

CollectorClassFileVisitorTest

testVisitClass 0.001

ResultCollectorTest

testArrayCases 0.033
testInnerClassAsContainer 0.004
testJava11Invoke 0.002
testNoMethodHandle 0.001

DependencyVisitorTest

testVisitLdcInsnWithNonType 0.005
testVisitWithUnboundedClassTypeParameter 0.005
testVisitMethodWithPrimitiveArgument 0.005
testVisitMethodWithPrimitiveArrayReturnType 0.003
testVisitMethodWithExceptions 0.002
testVisitCode 0.001
testVisitInsn 0.001
testVisitMaxs 0.003
testVisitMethodWithObjectReturnType 0.001
testVisitMethodWithException 0.001
testVisitOuterClass 0.001
testVisitTypeInsn 0.001
testVisitLocalVariableWithGenericObject 0.001
testVisitJumpInsn 0.001
testVisitMethodWithObjectArrayArgument 0.002
testVisitMultiANewArrayInsnWithPrimitive 0.001
testVisitLocalVariableWithObjectArray 0.001
testVisitMethodWithGenericArgument 0.001
testVisitLocalVariableWithPrimitive 0.001
testVisitLdcInsnWithObjectType 0.002
testVisitIincInsn 0.001
testVisitAnnotation 0.001
testVisitTryCatchBlockForFinally 0.001
testVisitMethodInsnWithObjectArguments 0
testVisitVarInsn 0.001
testVisitWithGenericInterface 0.001
testVisitAnnotationDefault 0
testVisitMethodInsnWithPrimitiveArrayArgument 0
testVisitFieldInsnWithPrimitive 0.001
testVisitMethodInsnWithObjectArrayArgument 0.001
testVisitLookupSwitchInsn 0
testVisitMethodWithObjectArrayReturnType 0.001
testVisitMethodWithPrimitiveReturnType 0.001
testVisitMethodWithObjectArguments 0.001
testVisitMethodInsnWithObjectArgument 0.001
testVisitAnnotationWithRuntimeVisibility 0.001
testVisitMethodInsn 0.001
testVisitLocalVariableWithObject 0.001
testVisitTableSwitchInsn 0.001
testVisitWithDefaultSuperclass 0.001
testVisitWithSuperclass 0.001
testVisitMethodInsnWithPrimitiveArrayReturnType 0.001
testVisitParameterAnnotation 0.001
testVisitLdcInsnWithPrimitiveType 0.001
testVisitInnerClassAnonymous 0.001
testVisitWithInterfaces 0.001
testVisitMethodInsnWithObjectReturnType 0.001
testVisitLineNumber 0
testVisitLocalVariableWithGenericObjectArray 0.001
testVisitMultiANewArrayInsnWithObject 0.001
testVisitTryCatchBlock 0.001
testVisitWithBoundedClassTypeParameter 0
testVisitMethodInsnWithPrimitiveReturnType 0.002
testVisitMethodWithObjectArgument 0.001
testVisitFieldGeneric 0
testVisitOuterClassInMethod 0
testVisitWithInterfaceBound 0.001
testVisitIntInsn 0.001
testVisitFieldInsnWithObject 0.001
testVisitWithInterface 0.001
testVisitAttribute 0.001
testVisitLocalVariableWithPrimitiveArray 0.001
testVisitMethodInsnWithPrimitiveArgument 0.001
testVisitMethodWithPrimitiveArrayArgument 0.001
testVisitFieldArray 0.001
testVisitMethod 0
testVisitField 0
testVisitFrame 0
testVisitLabel 0.001
testVisitMethodInsnWithObjectArrayReturnType 0
testVisitWithBoundedClassTypeParameters 0.001
testVisitSource 0.001
testVisitInnerClass 0

ASMDependencyAnalyzerTest

test 0.036

ProjectDependencyAnalyzerExceptionTest

testConstructorWithThrowable 0.001
testConstructor 0.002

ProjectDependencyAnalysisTest

ignoreNonCompileShouldFilterOnlyUnusedDeclare 0.015
testConstructor 0.001

ClassFileVisitorUtilsTest

testAcceptDir 0.024
testAcceptJar 0.011
testAcceptWithUnsupportedScheme 0.004
testAcceptDirWithNonClassFile 0.008
testAcceptJarWithNonClassEntry 0.007
testAcceptWithFile 0.003

DefaultClassAnalyzerTest

testAnalyzeBadJar 0.136
testAnalyzeWithJar 0.012