Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
98 0 0 0 100% 30.204

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 24 0 0 0 100% 30.087
org.apache.maven.shared.dependency.analyzer.asm 74 0 0 0 100% 0.117

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
DefaultProjectDependencyAnalyzerTest 12 0 0 0 100% 30.011
ProjectDependencyAnalyzerExceptionTest 2 0 0 0 100% 0.001
ProjectDependencyAnalysisTest 1 0 0 0 100% 0
ClassFileVisitorUtilsTest 6 0 0 0 100% 0.017
DefaultClassAnalyzerTest 2 0 0 0 100% 0.058

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

Class Tests Errors Failures Skipped Success Rate Time
DependencyVisitorTest 73 0 0 0 100% 0.039
ASMDependencyAnalyzerTest 1 0 0 0 100% 0.078

Test Cases

[Summary] [Package List] [Test Cases]

CollectorClassFileVisitorTest

testVisitClass 0

DefaultProjectDependencyAnalyzerTest

testJarWithXmlTransitiveDependency 2.563
testJarWithNoDependencies 2.447
testJarWithNonTestScopedTestDependency 2.713
testPom 1.413
testForceDeclaredDependenciesUsage 2.808
testJarWithTestDependency 2.922
testTypeUseAnnotationDependencyOnLocalVariable 2.517
testJarWithCompileDependency 2.521
testJava8methodRefs 2.486
testInlinedStaticReference 2.385
testTypeUseAnnotationDependency 2.688
testMultimoduleProject 2.547

DependencyVisitorTest

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

ASMDependencyAnalyzerTest

test 0.048

ProjectDependencyAnalyzerExceptionTest

testConstructorWithThrowable 0
testConstructor 0

ProjectDependencyAnalysisTest

testConstructor 0

ClassFileVisitorUtilsTest

testAcceptDir 0.011
testAcceptJar 0.002
testAcceptWithUnsupportedScheme 0
testAcceptDirWithNonClassFile 0.003
testAcceptJarWithNonClassEntry 0.001
testAcceptWithFile 0

DefaultClassAnalyzerTest

testAnalyzeBadJar 0.028
testAnalyzeWithJar 0.002