mockito / mockito
Files Complexity Coverage
InOrderImpl.java 100.00% 100.00%
MockedConstructionImpl.java 75.00% 72.22%
MockedStaticImpl.java 73.33% 78.67%
MockitoCore.java 93.48% 93.18%
configuration/CaptorAnnotationProcessor.java 100.00% 100.00%
configuration/ClassPathLoader.java 100.00% 54.55%
configuration/DefaultInjectionEngine.java 100.00% 100.00%
configuration/GlobalConfiguration.java 100.00% 100.00%
configuration/IndependentAnnotationEngine.java 93.33% 85.37%
configuration/InjectingAnnotationEngine.java 93.33% 89.13%
configuration/MockAnnotationProcessor.java 92.86% 96.97%
configuration/SpyAnnotationEngine.java 96.00% 98.41%
configuration/injection/ConstructorInjection.java 100.00% 100.00%
configuration/injection/MockInjection.java 66.67% 96.15%
configuration/injection/MockInjectionStrategy.java 100.00% 100.00%
configuration/injection/PropertyAndSetterInjection.java 100.00% 100.00%
configuration/injection/SpyOnInjectedFieldsHandler.java 80.00% 84.21%
configuration/injection/filter/NameBasedCandidateFilter.java 100.00% 100.00%
configuration/injection/filter/OngoingInjector.java 100.00% 100.00%
configuration/injection/filter/TerminalMockCandidateFilter.java 100.00% 84.62%
configuration/injection/filter/TypeBasedCandidateFilter.java 100.00% 100.00%
configuration/injection/scanner/InjectMocksScanner.java 100.00% 100.00%
configuration/injection/scanner/MockScanner.java 92.86% 95.24%
configuration/plugins/DefaultMockitoPlugins.java 87.50% 90.63%
configuration/plugins/DefaultPluginSwitch.java 100.00% 100.00%
configuration/plugins/PluginFileReader.java 100.00% 100.00%
configuration/plugins/PluginFinder.java 100.00% 100.00%
configuration/plugins/PluginInitializer.java 80.00% 73.91%
configuration/plugins/PluginLoader.java 100.00% 100.00%
configuration/plugins/PluginRegistry.java 100.00% 100.00%
configuration/plugins/Plugins.java 88.89% 88.89%
creation/DelegatingMethod.java 58.82% 75.00%
creation/MockSettingsImpl.java 86.54% 87.63%
creation/SuspendMethod.java 71.43% 71.43%
creation/bytebuddy/ByteBuddyCrossClassLoaderSerializationSupport.java 100.00% 69.77%
creation/bytebuddy/ByteBuddyMockMaker.java 77.78% 81.82%
creation/bytebuddy/InlineByteBuddyMockMaker.java 60.00% 67.44%
creation/bytebuddy/InlineBytecodeGenerator.java 86.36% 92.75%
creation/bytebuddy/MockFeatures.java 100.00% 100.00%
creation/bytebuddy/MockMethodAdvice.java 69.70% 77.91%
creation/bytebuddy/MockMethodInterceptor.java 100.00% 79.31%
creation/bytebuddy/ModuleHandler.java 100.00% 22.82%
creation/bytebuddy/SubclassByteBuddyMockMaker.java 64.71% 68.66%
creation/bytebuddy/SubclassBytecodeGenerator.java 63.16% 83.47%
creation/bytebuddy/SubclassInjectionLoader.java 75.00% 57.45%
creation/bytebuddy/TypeCachingBytecodeGenerator.java 83.33% 79.41%
creation/bytebuddy/inject/MockMethodDispatcher.java 0.00% 0.00%
creation/instance/ConstructorInstantiator.java 94.74% 96.20%
creation/instance/DefaultInstantiatorProvider.java 100.00% 100.00%
creation/instance/InstantiationException.java 100.00% 100.00%
creation/instance/InstantiatorProvider2Adapter.java 100.00% 71.43%
creation/instance/InstantiatorProviderAdapter.java 100.00% 100.00%
creation/instance/ObjenesisInstantiator.java 100.00% 100.00%
creation/settings/CreationSettings.java 100.00% 100.00%
debugging/InvocationsPrinter.java 100.00% 100.00%
debugging/Localized.java 100.00% 100.00%
debugging/LocationImpl.java 100.00% 100.00%
debugging/LoggingListener.java 100.00% 100.00%
debugging/MockitoDebuggerImpl.java 0.00% 0.00%
debugging/VerboseMockInvocationLogger.java 92.31% 97.44%
debugging/WarningsCollector.java 0.00% 0.00%
debugging/WarningsFinder.java 85.71% 96.00%
debugging/WarningsPrinterImpl.java 0.00% 0.00%
exceptions/ExceptionIncludingMockitoWarnings.java 100.00% 100.00%
exceptions/Reporter.java 89.42% 92.81%
exceptions/stacktrace/ConditionalStackTraceFilter.java 100.00% 100.00%
exceptions/stacktrace/DefaultStackTraceCleaner.java 100.00% 100.00%
exceptions/stacktrace/DefaultStackTraceCleanerProvider.java 100.00% 100.00%
exceptions/stacktrace/StackTraceFilter.java 66.67% 80.95%
exceptions/util/ScenarioPrinter.java 100.00% 100.00%
framework/DefaultMockitoFramework.java 81.82% 78.95%
framework/DefaultMockitoSession.java 100.00% 87.50%
hamcrest/HamcrestArgumentMatcher.java 100.00% 100.00%
hamcrest/MatcherGenericTypeExtractor.java 50.00% 50.00%
handler/InvocationNotifierHandler.java 100.00% 100.00%
handler/MockHandlerFactory.java 50.00% 75.00%
handler/MockHandlerImpl.java 100.00% 100.00%
handler/NotifiedMethodInvocationReport.java 50.00% 66.67%
handler/NullResultGuardian.java 100.00% 100.00%
invocation/ArgumentsProcessor.java 66.67% 80.77%
invocation/DefaultInvocationFactory.java 100.00% 100.00%
invocation/InterceptedInvocation.java 73.53% 76.60%
invocation/InvocationComparator.java 100.00% 100.00%
invocation/InvocationMarker.java 100.00% 100.00%
invocation/InvocationMatcher.java 96.15% 98.00%
invocation/InvocationsFinder.java 100.00% 100.00%
invocation/MatcherApplicationStrategy.java 100.00% 100.00%
invocation/MatchersBinder.java 100.00% 100.00%
invocation/RealMethod.java 0 93.75%
invocation/SerializableMethod.java 48.00% 52.27%
invocation/StubInfoImpl.java 100.00% 100.00%
invocation/TypeSafeMatching.java 92.31% 87.50%
invocation/UnusedStubsFinder.java 0.00% 0.00%
invocation/finder/AllInvocationsFinder.java 80.00% 87.50%
invocation/finder/VerifiableInvocationsFinder.java 100.00% 100.00%
invocation/mockref/MockStrongReference.java 75.00% 75.00%
invocation/mockref/MockWeakReference.java 100.00% 100.00%
junit/ArgMismatchFinder.java 100.00% 100.00%
junit/DefaultStubbingLookupListener.java 100.00% 97.06%
junit/DefaultTestFinishedEvent.java 100.00% 100.00%
junit/ExceptionFactory.java 100.00% 100.00%
junit/JUnitRule.java 75.00% 87.50%
junit/JUnitSessionStore.java 100.00% 100.00%
junit/JUnitTestRule.java 75.00% 87.50%
junit/MismatchReportingTestListener.java 100.00% 100.00%
junit/NoOpTestListener.java 100.00% 100.00%
junit/StrictStubsRunnerTestListener.java 100.00% 100.00%
junit/StubbingArgMismatches.java 100.00% 100.00%
junit/StubbingHint.java 100.00% 100.00%
junit/UniversalTestListener.java 92.86% 94.59%
junit/UnnecessaryStubbingsReporter.java 100.00% 100.00%
junit/UnusedStubbings.java 72.73% 76.00%
junit/UnusedStubbingsFinder.java 100.00% 100.00%
junit/VerificationCollectorImpl.java 100.00% 97.67%
junit/util/JUnitFailureHacker.java 76.92% 65.71%
listeners/StubbingLookupNotifier.java 75.00% 94.74%
listeners/VerificationStartedNotifier.java 87.50% 97.30%
matchers/And.java 80.00% 83.33%
matchers/Any.java 100.00% 100.00%
matchers/ArrayEquals.java 61.29% 70.00%
matchers/CapturingMatcher.java 100.00% 100.00%
matchers/CompareEqual.java 100.00% 100.00%
matchers/CompareTo.java 100.00% 100.00%
matchers/Contains.java 100.00% 100.00%
matchers/EndsWith.java 100.00% 100.00%
matchers/Equality.java 88.24% 85.71%
matchers/Equals.java 83.33% 86.67%
matchers/EqualsWithDelta.java 100.00% 100.00%
matchers/Find.java 100.00% 100.00%
matchers/GreaterOrEqual.java 100.00% 100.00%
matchers/GreaterThan.java 100.00% 100.00%
matchers/InstanceOf.java 100.00% 100.00%
matchers/LessOrEqual.java 100.00% 100.00%
matchers/LessThan.java 100.00% 100.00%
matchers/LocalizedMatcher.java 100.00% 100.00%
matchers/Matches.java 83.33% 85.71%
matchers/Not.java 100.00% 100.00%
matchers/NotNull.java 100.00% 100.00%
matchers/Null.java 100.00% 100.00%
matchers/Or.java 100.00% 100.00%
matchers/Same.java 100.00% 100.00%
matchers/StartsWith.java 100.00% 100.00%
matchers/apachecommons/EqualsBuilder.java 67.41% 66.21%
matchers/apachecommons/ReflectionEquals.java 100.00% 100.00%
matchers/text/FormattedText.java 100.00% 100.00%
matchers/text/MatcherToString.java 83.33% 92.86%
matchers/text/MatchersPrinter.java 100.00% 100.00%
matchers/text/ValuePrinter.java 85.19% 84.85%
progress/ArgumentMatcherStorageImpl.java 100.00% 100.00%
progress/MockingProgressImpl.java 97.30% 97.73%
progress/SequenceNumber.java 66.67% 66.67%
progress/ThreadSafeMockingProgress.java 100.00% 100.00%
reporting/Discrepancy.java 100.00% 100.00%
reporting/Pluralizer.java 80.00% 80.00%
reporting/PrintSettings.java 100.00% 100.00%
reporting/SmartPrinter.java 100.00% 100.00%
runners/DefaultInternalRunner.java 100.00% 100.00%
runners/RunnerFactory.java 83.33% 78.95%
runners/StrictRunner.java 83.33% 94.12%
runners/util/FailureDetector.java 100.00% 100.00%
runners/util/RunnerProvider.java 66.67% 53.85%
runners/util/TestMethodsFinder.java 100.00% 100.00%
session/DefaultMockitoSessionBuilder.java 93.33% 96.15%
session/MockitoLoggerAdapter.java 100.00% 100.00%
session/MockitoSessionLoggerAdapter.java 100.00% 100.00%
stubbing/BaseStubbing.java 100.00% 93.75%
stubbing/ConsecutiveStubbing.java 100.00% 100.00%
stubbing/DefaultLenientStubber.java 100.00% 100.00%
stubbing/DoAnswerStyleStubbing.java 100.00% 100.00%
stubbing/InvocationContainerImpl.java 88.57% 95.16%
stubbing/OngoingStubbingImpl.java 100.00% 100.00%
stubbing/StrictnessSelector.java 80.00% 83.33%
stubbing/StubbedInvocationMatcher.java 100.00% 100.00%
stubbing/StubberImpl.java 95.00% 93.02%
stubbing/StubbingComparator.java 100.00% 100.00%
stubbing/UnusedStubbingReporting.java 75.00% 50.00%
stubbing/answers/AbstractThrowsException.java 100.00% 100.00%
stubbing/answers/AnswerFunctionalInterfaces.java 100.00% 100.00%
stubbing/answers/AnswersWithDelay.java 75.00% 88.89%
stubbing/answers/CallsRealMethods.java 100.00% 100.00%
stubbing/answers/ClonesArguments.java 100.00% 100.00%
stubbing/answers/DefaultAnswerValidator.java 75.00% 88.89%
stubbing/answers/DoesNothing.java 100.00% 100.00%
stubbing/answers/InvocationInfo.java 94.44% 96.30%
stubbing/answers/Returns.java 100.00% 100.00%
stubbing/answers/ReturnsArgumentAt.java 100.00% 100.00%
stubbing/answers/ReturnsElementsOf.java 100.00% 100.00%
stubbing/answers/ThrowsException.java 100.00% 100.00%
stubbing/answers/ThrowsExceptionForClassType.java 100.00% 100.00%
stubbing/defaultanswers/ForwardsInvocations.java 100.00% 100.00%
stubbing/defaultanswers/GloballyConfiguredAnswer.java 100.00% 100.00%
stubbing/defaultanswers/RetrieveGenericsForDefaultAnswers.java 91.30% 96.23%
stubbing/defaultanswers/ReturnsDeepStubs.java 94.44% 98.11%
stubbing/defaultanswers/ReturnsEmptyValues.java 96.97% 96.97%
stubbing/defaultanswers/ReturnsMocks.java 100.00% 100.00%
stubbing/defaultanswers/ReturnsMoreEmptyValues.java 100.00% 100.00%
stubbing/defaultanswers/ReturnsSmartNulls.java 100.00% 100.00%
stubbing/defaultanswers/TriesToReturnSelf.java 100.00% 100.00%
util/Checks.java 85.71% 92.31%
util/ConsoleMockitoLogger.java 100.00% 100.00%
util/DefaultMockingDetails.java 100.00% 100.00%
util/JavaEightUtil.java 90.00% 66.67%
util/MockCreationValidator.java 72.22% 72.00%
util/MockNameImpl.java 100.00% 100.00%
util/MockUtil.java 95.83% 97.44%
util/ObjectMethodsGuru.java 100.00% 100.00%
util/Platform.java 88.24% 89.19%
util/Primitives.java 77.78% 94.59%
util/StringUtil.java 100.00% 100.00%
util/Timer.java 72.73% 85.71%
util/collections/HashCodeAndEqualsMockWrapper.java 54.55% 62.50%
util/collections/HashCodeAndEqualsSafeSet.java 81.25% 88.24%
util/collections/IdentitySet.java 100.00% 100.00%
util/collections/Iterables.java 60.00% 66.67%
util/collections/ListUtil.java 83.33% 91.67%
util/collections/Sets.java 60.00% 50.00%
util/concurrent/DetachedThreadLocal.java 27.78% 38.46%
util/concurrent/WeakConcurrentMap.java 47.83% 39.36%
util/concurrent/WeakConcurrentSet.java 40.00% 35.48%
util/io/IOUtil.java 85.71% 69.23%
util/reflection/BeanPropertySetter.java 100.00% 82.76%
util/reflection/FieldInitializationReport.java 83.33% 88.89%
util/reflection/FieldInitializer.java 100.00% 86.55%
util/reflection/FieldReader.java 100.00% 77.78%
util/reflection/Fields.java 77.78% 83.33%
util/reflection/GenericMaster.java 100.00% 100.00%
util/reflection/GenericMetadataSupport.java 88.37% 85.91%
util/reflection/GenericTypeExtractor.java 84.62% 91.67%
util/reflection/InstanceField.java 42.11% 39.29%
util/reflection/InstrumentationMemberAccessor.java 83.33% 86.50%
util/reflection/LenientCopyTool.java 100.00% 100.00%
util/reflection/ModuleMemberAccessor.java 85.71% 90.91%
util/reflection/ReflectionMemberAccessor.java 100.00% 66.67%
util/reflection/SuperTypesLastSorter.java 100.00% 100.00%
verification/AtLeast.java 85.71% 93.75%
verification/AtMost.java 100.00% 100.00%
verification/Calls.java 80.00% 92.31%
verification/DefaultRegisteredInvocations.java 85.71% 95.45%
verification/Description.java 100.00% 72.73%
verification/InOrderContextImpl.java 100.00% 100.00%
verification/InOrderWrapper.java 100.00% 100.00%
verification/MockAwareVerificationMode.java 100.00% 100.00%
verification/NoInteractions.java 100.00% 100.00%
verification/NoMoreInteractions.java 100.00% 100.00%
verification/Only.java 100.00% 100.00%
verification/SingleRegisteredInvocation.java 71.43% 66.67%
verification/Times.java 87.50% 94.74%
verification/VerificationDataImpl.java 100.00% 100.00%
verification/VerificationEventImpl.java 100.00% 100.00%
verification/VerificationModeFactory.java 90.91% 90.91%
verification/VerificationOverTimeImpl.java 94.12% 92.31%
verification/VerificationWrapper.java 88.89% 93.33%
verification/VerificationWrapperInOrderWrapper.java 100.00% 100.00%
verification/api/VerificationDataInOrderImpl.java 100.00% 100.00%
verification/argumentmatching/ArgumentMatchingTool.java 100.00% 100.00%
verification/checkers/AtLeastDiscrepancy.java 100.00% 100.00%
verification/checkers/AtLeastXNumberOfInvocationsChecker.java 80.00% 93.75%
verification/checkers/MissingInvocationChecker.java 83.33% 86.96%
verification/checkers/NumberOfInvocationsChecker.java 100.00% 100.00%
Folder Totals (259 files) 85.27% 84.59%
Project Totals (325 files) 85.52% 84.91%
Loading