SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.3

Threshold is medium

Effort is max

Summary

Classes Bugs Errors Missing Classes
2196 2655 0 9

Files

Class Bugs
mockit.AssertionErrorMessagesTest 14
mockit.BaseTest 1
mockit.CapturingImplementationsTest 16
mockit.CapturingImplementationsTest$1 1
mockit.CapturingImplementationsTest$13 2
mockit.CapturingImplementationsTest$2 1
mockit.CapturingImplementationsTest$5 1
mockit.CapturingImplementationsTest$7 1
mockit.CapturingImplementationsTest$8 2
mockit.CapturingImplementationsTest$ServiceLocator 2
mockit.CapturingInstancesTest 2
mockit.CapturingInstancesTest$1 1
mockit.CapturingInstancesTest$2 1
mockit.CapturingInstancesTest$TestedUnit$3 1
mockit.CascadingFieldTest 16
mockit.CascadingFieldTest$1 2
mockit.CascadingFieldTest$6 2
mockit.CascadingFieldTest$7 1
mockit.CascadingFieldTest$8 1
mockit.CascadingFieldTest$8$1 1
mockit.CascadingFieldTest$9$1 1
mockit.CascadingFieldTest$Bar 1
mockit.CascadingFieldTest$BazCreatorAndConsumer 3
mockit.CascadingFieldTest$Foo 1
mockit.CascadingParametersTest 37
mockit.CascadingParametersTest$1 1
mockit.CascadingParametersTest$10 2
mockit.CascadingParametersTest$11 1
mockit.CascadingParametersTest$12 1
mockit.CascadingParametersTest$13 1
mockit.CascadingParametersTest$14 1
mockit.CascadingParametersTest$15 1
mockit.CascadingParametersTest$16 1
mockit.CascadingParametersTest$17 1
mockit.CascadingParametersTest$18 2
mockit.CascadingParametersTest$19 1
mockit.CascadingParametersTest$2 5
mockit.CascadingParametersTest$20 1
mockit.CascadingParametersTest$21 2
mockit.CascadingParametersTest$22 1
mockit.CascadingParametersTest$23 1
mockit.CascadingParametersTest$24 1
mockit.CascadingParametersTest$25 2
mockit.CascadingParametersTest$26 1
mockit.CascadingParametersTest$3 1
mockit.CascadingParametersTest$4 2
mockit.CascadingParametersTest$5 1
mockit.CascadingParametersTest$6 1
mockit.CascadingParametersTest$9 2
mockit.CascadingParametersTest$Bar 1
mockit.CascadingParametersTest$CustomException 1
mockit.CascadingParametersTest$Foo 1
mockit.CascadingParametersTest$SocketFactory 2
mockit.CascadingWithGenericsTest 5
mockit.CascadingWithGenericsTest$2 1
mockit.CascadingWithGenericsTest$5 1
mockit.CascadingWithGenericsTest$Bar 1
mockit.CascadingWithGenericsTest$Factory 1
mockit.CascadingWithGenericsTest$SubClass 1
mockit.CascadingWithGenericsTest$TypeWithUnusedTypeParameterInGenericMethod 1
mockit.ClassInitializationTest 1
mockit.ClassInitializationTest$AnotherDependent 2
mockit.ClassInitializationTest$Dependent 2
mockit.ClassLoadingAndJREMocksTest 11
mockit.ClassLoadingAndJREMocksTest$1 1
mockit.ClassLoadingAndJREMocksTest$2 1
mockit.ClassLoadingAndJREMocksTest$3 1
mockit.ClassLoadingAndJREMocksTest$4 2
mockit.ClassLoadingAndJREMocksTest$5 1
mockit.ClassLoadingAndJREMocksTest$6 1
mockit.ClassLoadingAndJREMocksTest$7 1
mockit.ClassWithObjectOverrides 2
mockit.CovariantReturnTypesTest 6
mockit.CovariantReturnTypesTest$5 1
mockit.DelegateInvocationProceedTest 16
mockit.DelegateInvocationProceedTest$1$1 1
mockit.DelegateInvocationProceedTest$10 2
mockit.DelegateInvocationProceedTest$10$1 1
mockit.DelegateInvocationProceedTest$11 3
mockit.DelegateInvocationProceedTest$11$1 1
mockit.DelegateInvocationProceedTest$11$2 1
mockit.DelegateInvocationProceedTest$12$1 1
mockit.DelegateInvocationProceedTest$13 2
mockit.DelegateInvocationProceedTest$2$1 1
mockit.DelegateInvocationProceedTest$3 4
mockit.DelegateInvocationProceedTest$3$1 1
mockit.DelegateInvocationProceedTest$3$2 1
mockit.DelegateInvocationProceedTest$4$1 2
mockit.DelegateInvocationProceedTest$5 4
mockit.DelegateInvocationProceedTest$5$1 1
mockit.DelegateInvocationProceedTest$5$2 1
mockit.DelegateInvocationProceedTest$6 2
mockit.DelegateInvocationProceedTest$6$1 1
mockit.DelegateInvocationProceedTest$7 2
mockit.DelegateInvocationProceedTest$7$1 1
mockit.DelegateInvocationProceedTest$8 2
mockit.DelegateInvocationProceedTest$8$1 1
mockit.DelegateInvocationProceedTest$8$2 1
mockit.DelegateInvocationProceedTest$9 1
mockit.DelegateInvocationProceedTest$9$1 1
mockit.DelegateInvocationTest 14
mockit.DelegateInvocationTest$1 1
mockit.DelegateInvocationTest$1$1 1
mockit.DelegateInvocationTest$10 2
mockit.DelegateInvocationTest$10$1 1
mockit.DelegateInvocationTest$2 2
mockit.DelegateInvocationTest$3 1
mockit.DelegateInvocationTest$3$1 3
mockit.DelegateInvocationTest$4 1
mockit.DelegateInvocationTest$4$1 2
mockit.DelegateInvocationTest$5 1
mockit.DelegateInvocationTest$5$1 2
mockit.DelegateInvocationTest$6 1
mockit.DelegateInvocationTest$6$1 1
mockit.DelegateInvocationTest$7 1
mockit.DelegateInvocationTest$7$1 2
mockit.DelegateInvocationTest$8 1
mockit.DelegateInvocationTest$8$1 1
mockit.DelegateInvocationTest$8$2 1
mockit.DelegateInvocationTest$8$3 1
mockit.DelegateInvocationTest$9 1
mockit.DelegateInvocationTest$9$1 1
mockit.DelegateTest 46
mockit.DelegateTest$1 1
mockit.DelegateTest$1$1 1
mockit.DelegateTest$1$2 2
mockit.DelegateTest$10$1 1
mockit.DelegateTest$11 1
mockit.DelegateTest$11$1 1
mockit.DelegateTest$12$1 1
mockit.DelegateTest$13 1
mockit.DelegateTest$13$1 1
mockit.DelegateTest$14 1
mockit.DelegateTest$14$1 2
mockit.DelegateTest$15 1
mockit.DelegateTest$15$1 1
mockit.DelegateTest$16 1
mockit.DelegateTest$16$1 1
mockit.DelegateTest$17 1
mockit.DelegateTest$17$1 1
mockit.DelegateTest$18 1
mockit.DelegateTest$18$1 1
mockit.DelegateTest$19 1
mockit.DelegateTest$19$1 2
mockit.DelegateTest$2 1
mockit.DelegateTest$2$1 1
mockit.DelegateTest$2$2 1
mockit.DelegateTest$20 1
mockit.DelegateTest$21 1
mockit.DelegateTest$21$1 1
mockit.DelegateTest$22 1
mockit.DelegateTest$22$1 1
mockit.DelegateTest$23 2
mockit.DelegateTest$23$1 1
mockit.DelegateTest$24 2
mockit.DelegateTest$24$1 1
mockit.DelegateTest$25 2
mockit.DelegateTest$25$1 1
mockit.DelegateTest$26 2
mockit.DelegateTest$26$1 1
mockit.DelegateTest$27 1
mockit.DelegateTest$27$1 1
mockit.DelegateTest$29 1
mockit.DelegateTest$29$1 1
mockit.DelegateTest$3$1 1
mockit.DelegateTest$3$2 1
mockit.DelegateTest$30 1
mockit.DelegateTest$30$1 1
mockit.DelegateTest$31 1
mockit.DelegateTest$31$1 1
mockit.DelegateTest$32 1
mockit.DelegateTest$32$1 1
mockit.DelegateTest$33 1
mockit.DelegateTest$33$1 1
mockit.DelegateTest$4 1
mockit.DelegateTest$4$1 1
mockit.DelegateTest$5 2
mockit.DelegateTest$6 2
mockit.DelegateTest$6$1 1
mockit.DelegateTest$7 2
mockit.DelegateTest$8 1
mockit.DelegateTest$8$1 1
mockit.DelegateTest$9 1
mockit.DelegateTest$Collaborator 1
mockit.DynamicMockingInBeforeMethodTest 2
mockit.DynamicMockingInBeforeMethodTest$1 2
mockit.DynamicMockingInBeforeMethodTest$2 1
mockit.DynamicOnInstanceMockingTest 18
mockit.DynamicOnInstanceMockingTest$1 1
mockit.DynamicOnInstanceMockingTest$10 2
mockit.DynamicOnInstanceMockingTest$12 1
mockit.DynamicOnInstanceMockingTest$2 1
mockit.DynamicOnInstanceMockingTest$3 1
mockit.DynamicOnInstanceMockingTest$4 3
mockit.DynamicOnInstanceMockingTest$5 2
mockit.DynamicOnInstanceMockingTest$7 1
mockit.DynamicOnInstanceMockingTest$8 1
mockit.DynamicOnInstanceMockingTest$9 1
mockit.ExpectationsForConstructorsTest 15
mockit.ExpectationsForConstructorsTest$1 4
mockit.ExpectationsForConstructorsTest$2 2
mockit.ExpectationsForConstructorsTest$3 2
mockit.ExpectationsForConstructorsTest$4 2
mockit.ExpectationsTest 29
mockit.ExpectationsTest$11 1
mockit.ExpectationsTest$12 1
mockit.ExpectationsTest$13 1
mockit.ExpectationsTest$14 1
mockit.ExpectationsTest$14$1 1
mockit.ExpectationsTest$19 1
mockit.ExpectationsTest$22 1
mockit.ExpectationsTest$24 1
mockit.ExpectationsTest$3 1
mockit.ExpectationsTest$4 1
mockit.ExpectationsTest$Dependency 3
mockit.ExpectationsUsingMockedTest 5
mockit.ExpectationsUsingMockedTest$2 2
mockit.ExpectationsUsingMockedTest$3 1
mockit.ExpectationsUsingMockedTest$4 1
mockit.ExpectationsUsingMockedTest$5 1
mockit.ExpectationsUsingResultFieldTest 48
mockit.ExpectationsUsingResultFieldTest$1 2
mockit.ExpectationsUsingResultFieldTest$10 2
mockit.ExpectationsUsingResultFieldTest$11 1
mockit.ExpectationsUsingResultFieldTest$12 1
mockit.ExpectationsUsingResultFieldTest$13 4
mockit.ExpectationsUsingResultFieldTest$14 1
mockit.ExpectationsUsingResultFieldTest$15 3
mockit.ExpectationsUsingResultFieldTest$16 2
mockit.ExpectationsUsingResultFieldTest$17 1
mockit.ExpectationsUsingResultFieldTest$18 2
mockit.ExpectationsUsingResultFieldTest$19 7
mockit.ExpectationsUsingResultFieldTest$20 2
mockit.ExpectationsUsingResultFieldTest$21 2
mockit.ExpectationsUsingResultFieldTest$24 2
mockit.ExpectationsUsingResultFieldTest$27 2
mockit.ExpectationsUsingResultFieldTest$28 1
mockit.ExpectationsUsingResultFieldTest$29 1
mockit.ExpectationsUsingResultFieldTest$30 1
mockit.ExpectationsUsingResultFieldTest$31 2
mockit.ExpectationsUsingResultFieldTest$32 8
mockit.ExpectationsUsingResultFieldTest$4 2
mockit.ExpectationsUsingResultFieldTest$5 2
mockit.ExpectationsUsingResultFieldTest$6 3
mockit.ExpectationsUsingResultFieldTest$7 1
mockit.ExpectationsUsingResultFieldTest$8 4
mockit.ExpectationsUsingResultFieldTest$9 1
mockit.ExpectationsUsingResultFieldTest$Collaborator 1
mockit.ExpectationsUsingReturnTypeConversionTest 22
mockit.ExpectationsUsingReturnTypeConversionTest$1 1
mockit.ExpectationsUsingReturnTypeConversionTest$10 5
mockit.ExpectationsUsingReturnTypeConversionTest$11 1
mockit.ExpectationsUsingReturnTypeConversionTest$12 1
mockit.ExpectationsUsingReturnTypeConversionTest$13 1
mockit.ExpectationsUsingReturnTypeConversionTest$14 1
mockit.ExpectationsUsingReturnTypeConversionTest$2 2
mockit.ExpectationsUsingReturnTypeConversionTest$3 1
mockit.ExpectationsUsingReturnTypeConversionTest$4 1
mockit.ExpectationsUsingReturnTypeConversionTest$5 1
mockit.ExpectationsUsingReturnTypeConversionTest$6 13
mockit.ExpectationsUsingReturnTypeConversionTest$7 11
mockit.ExpectationsUsingReturnTypeConversionTest$8 10
mockit.ExpectationsUsingReturnTypeConversionTest$9 6
mockit.ExpectationsWithArgMatchersTest 21
mockit.ExpectationsWithArgMatchersTest$10 2
mockit.ExpectationsWithArgMatchersTest$11 1
mockit.ExpectationsWithArgMatchersTest$12 2
mockit.ExpectationsWithArgMatchersTest$14 1
mockit.ExpectationsWithArgMatchersTest$17$1 1
mockit.ExpectationsWithArgMatchersTest$2 1
mockit.ExpectationsWithArgMatchersTest$4 3
mockit.ExpectationsWithArgMatchersTest$5 1
mockit.ExpectationsWithArgMatchersTest$5$1 1
mockit.ExpectationsWithDuplicateRecordingsTest 13
mockit.ExpectationsWithDuplicateRecordingsTest$1 3
mockit.ExpectationsWithDuplicateRecordingsTest$10 1
mockit.ExpectationsWithDuplicateRecordingsTest$11 1
mockit.ExpectationsWithDuplicateRecordingsTest$12 1
mockit.ExpectationsWithDuplicateRecordingsTest$13 1
mockit.ExpectationsWithDuplicateRecordingsTest$14 1
mockit.ExpectationsWithDuplicateRecordingsTest$2 1
mockit.ExpectationsWithDuplicateRecordingsTest$3 4
mockit.ExpectationsWithDuplicateRecordingsTest$4 4
mockit.ExpectationsWithDuplicateRecordingsTest$5 3
mockit.ExpectationsWithDuplicateRecordingsTest$6 6
mockit.ExpectationsWithDuplicateRecordingsTest$7 1
mockit.ExpectationsWithDuplicateRecordingsTest$8 4
mockit.ExpectationsWithDuplicateRecordingsTest$9 10
mockit.ExpectationsWithDuplicateRecordingsTest$9$1 1
mockit.ExpectationsWithDuplicateRecordingsTest$9$2 1
mockit.ExpectationsWithDuplicateRecordingsTest$9$3 1
mockit.ExpectationsWithDuplicateRecordingsTest$9$4 1
mockit.ExpectationsWithDuplicateRecordingsTest$9$5 1
mockit.ExpectationsWithDuplicateRecordingsTest$9$6 1
mockit.ExpectationsWithDuplicateRecordingsTest$Blah 1
mockit.ExpectationsWithInvocationCountsTest 20
mockit.ExpectationsWithSomeArgMatchersRecordedTest 25
mockit.ExpectationsWithSomeArgMatchersRecordedTest$1 4
mockit.ExpectationsWithSomeArgMatchersRecordedTest$11 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$12 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$13 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$15 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$17 2
mockit.ExpectationsWithSomeArgMatchersRecordedTest$18 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$5 2
mockit.ExpectationsWithSomeArgMatchersRecordedTest$7 1
mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator 14
mockit.ExpectationsWithValuesToReturnTest 16
mockit.ExpectationsWithValuesToReturnTest$1 17
mockit.ExpectationsWithValuesToReturnTest$10 1
mockit.ExpectationsWithValuesToReturnTest$11 2
mockit.ExpectationsWithValuesToReturnTest$12 10
mockit.ExpectationsWithValuesToReturnTest$13 2
mockit.ExpectationsWithValuesToReturnTest$14 2
mockit.ExpectationsWithValuesToReturnTest$2 6
mockit.ExpectationsWithValuesToReturnTest$3 13
mockit.ExpectationsWithValuesToReturnTest$4 5
mockit.ExpectationsWithValuesToReturnTest$5 1
mockit.ExpectationsWithValuesToReturnTest$6 1
mockit.ExpectationsWithValuesToReturnTest$7 1
mockit.ExpectationsWithValuesToReturnTest$8 3
mockit.ExpectationsWithValuesToReturnTest$9 2
mockit.ExpectationsWithValuesToReturnTest$Collaborator 1
mockit.ExpectationsWithVarArgsMatchersTest 41
mockit.ExpectationsWithVarArgsMatchersTest$1 1
mockit.ExpectationsWithVarArgsMatchersTest$10 2
mockit.ExpectationsWithVarArgsMatchersTest$11 2
mockit.ExpectationsWithVarArgsMatchersTest$12 1
mockit.ExpectationsWithVarArgsMatchersTest$15 3
mockit.ExpectationsWithVarArgsMatchersTest$17 1
mockit.ExpectationsWithVarArgsMatchersTest$18 2
mockit.ExpectationsWithVarArgsMatchersTest$19 1
mockit.ExpectationsWithVarArgsMatchersTest$4 1
mockit.ExpectationsWithVarArgsMatchersTest$5 2
mockit.ExpectationsWithVarArgsMatchersTest$6 7
mockit.ExpectationsWithVarArgsMatchersTest$7 1
mockit.ExpectationsWithVarArgsMatchersTest$8 1
mockit.ExpectationsWithVarArgsMatchersTest$9 1
mockit.FakeClassInstantiationPerSetupTest 7
mockit.FakeClassInstantiationPerSetupTest$FakeURL 3
mockit.FakeForGenericsTest 10
mockit.FakeForGenericsTest$1 1
mockit.FakeForGenericsTest$2 3
mockit.FakeForGenericsTest$3 2
mockit.FakeForGenericsTest$4 1
mockit.FakeForGenericsTest$5 1
mockit.FakeForGenericsTest$6 1
mockit.FakeForGenericsTest$7 1
mockit.FakeForGenericsTest$8 3
mockit.FakeForGenericsTest$NonGenericClassWithGenericMethods 2
mockit.FakeInvocationProceedTest 12
mockit.FakeInvocationProceedTest$1 1
mockit.FakeInvocationProceedTest$10 1
mockit.FakeInvocationProceedTest$1FakeWhichModifiesArguments 1
mockit.FakeInvocationProceedTest$2 3
mockit.FakeInvocationProceedTest$3 2
mockit.FakeInvocationProceedTest$4 1
mockit.FakeInvocationProceedTest$5 1
mockit.FakeInvocationProceedTest$6 1
mockit.FakeInvocationTest 10
mockit.FakeInvocationTest$1 1
mockit.FakeInvocationTest$2 1
mockit.FakeInvocationTest$3 1
mockit.FakeInvocationTest$4 1
mockit.FakeInvocationTest$Collaborator 1
mockit.FakeLoginContextTest 4
mockit.FakeLoginContextTest$1 1
mockit.FakeLoginContextTest$2 3
mockit.FakeLoginContextTest$ProceedingFakeLoginContext 1
mockit.FakedClassWithSuperClassTest 2
mockit.FakedClassWithSuperClassTest$3 1
mockit.FakingBaseTypesTest 15
mockit.FakingBaseTypesTest$1 1
mockit.FakingBaseTypesTest$10 1
mockit.FakingBaseTypesTest$11 1
mockit.FakingBaseTypesTest$2 1
mockit.FakingBaseTypesTest$3 1
mockit.FakingBaseTypesTest$6 2
mockit.FakingEverythingTest 6
mockit.FakingEverythingTest$1 1
mockit.FakingEverythingTest$2 1
mockit.FakingTest 20
mockit.FakingTest$10 1
mockit.FakingTest$11 1
mockit.FakingTest$12 1
mockit.FakingTest$1Fake1 1
mockit.FakingTest$2 1
mockit.FakingTest$3 1
mockit.FakingTest$5 2
mockit.FakingTest$6 1
mockit.FakingTest$8 1
mockit.FakingTest$FakeWithActionOnTearDown 1
mockit.FinalMockFieldsTest 6
mockit.FinalMockFieldsTest$1 1
mockit.FinalMockFieldsTest$3 1
mockit.FinalMockFieldsTest$4 2
mockit.FullVerificationsTest 30
mockit.FullVerificationsTest$2 1
mockit.FullVerificationsTest$4 1
mockit.GenericMockedTypesTest 7
mockit.GenericMockedTypesTest$1 1
mockit.GenericMockedTypesTest$3 1
mockit.GenericMockedTypesTest$5 1
mockit.InjectableFieldTest 4
mockit.InjectableFieldTest$1 2
mockit.InjectableFieldTest$3 1
mockit.InjectableFieldTest$4 2
mockit.InjectableFieldTest$Foo 1
mockit.InjectableParameterTest 2
mockit.InstanceSpecificMockingTest 10
mockit.InstanceSpecificMockingTest$1 3
mockit.InstanceSpecificMockingTest$2 1
mockit.InstanceSpecificMockingTest$5 3
mockit.InstanceSpecificMockingTest$7 1
mockit.InstanceSpecificMockingTest$Collaborator 2
mockit.Invocation 2
mockit.InvocationBlocksWithTimesFieldsTest 36
mockit.InvocationBlocksWithTimesFieldsTest$15 1
mockit.InvocationBlocksWithTimesFieldsTest$19 1
mockit.Invocations 4
mockit.IterableDITest 2
mockit.JREMockingTest 8
mockit.JREMockingTest$1 1
mockit.JREMockingTest$2 1
mockit.JREMockingTest$3 1
mockit.JREMockingTest$5 1
mockit.JREMockingTest$6 1
mockit.JUnit4ParametersTest 2
mockit.JUnit4ParametersTest$1 2
mockit.MisusedFakingAPITest 6
mockit.MisusedFakingAPITest$1 1
mockit.MisusedFakingAPITest$2 1
mockit.MisusedFakingAPITest$3 1
mockit.MisusedMockingAPITest 20
mockit.MisusedMockingAPITest$1 1
mockit.MisusedMockingAPITest$2 1
mockit.MisusedMockingAPITest$4 1
mockit.MisusedMockingAPITest$5 1
mockit.MisusedMockingAPITest$6 2
mockit.MisusedMockingAPITest$7 3
mockit.MisusedMockingAPITest$8 3
mockit.MisusedMockingAPITest$9 3
mockit.MisusedMockingAPITest$Blah 1
mockit.MockAnnotationsTest 27
mockit.MockAnnotationsTest$1 1
mockit.MockAnnotationsTest$10 1
mockit.MockAnnotationsTest$11 1
mockit.MockAnnotationsTest$12 1
mockit.MockAnnotationsTest$2 2
mockit.MockAnnotationsTest$4 1
mockit.MockAnnotationsTest$5 1
mockit.MockAnnotationsTest$7 1
mockit.MockAnnotationsTest$8 1
mockit.MockAnnotationsTest$9 1
mockit.MockAnnotationsTest$ClassWithStaticInitializers 1
mockit.MockAnnotationsTest$Collaborator 1
mockit.MockAnnotationsTest$MockFloat 1
mockit.MockAnnotationsTest$SubCollaborator 1
mockit.MockInstanceMatchingTest 23
mockit.MockInstanceMatchingTest$1 1
mockit.MockInstanceMatchingTest$10 2
mockit.MockInstanceMatchingTest$11 1
mockit.MockInstanceMatchingTest$12 1
mockit.MockInstanceMatchingTest$15 1
mockit.MockInstanceMatchingTest$16 1
mockit.MockInstanceMatchingTest$17 1
mockit.MockInstanceMatchingTest$2 1
mockit.MockInstanceMatchingTest$4 1
mockit.MockInstanceMatchingTest$6 1
mockit.MockInvocationProceedTest 10
mockit.MockInvocationProceedTest$1 1
mockit.MockInvocationProceedTest$2 3
mockit.MockInvocationProceedTest$3 2
mockit.MockInvocationProceedTest$4 1
mockit.MockInvocationProceedTest$5 1
mockit.MockInvocationProceedTest$9 1
mockit.MockInvocationTest 5
mockit.MockInvocationTest$1 1
mockit.MockInvocationTest$2 1
mockit.MockInvocationTest$3 2
mockit.MockInvocationTest$Collaborator 1
mockit.MockLoginContextTest 3
mockit.MockLoginContextTest$1 1
mockit.MockLoginContextTest$MockLoginContextWithStubs 1
mockit.MockLoginContextTest$ProceedingMockLoginContext 2
mockit.MockUp 3
mockit.MockUpForGenericsTest 11
mockit.MockUpForGenericsTest$1 1
mockit.MockUpForGenericsTest$10 1
mockit.MockUpForGenericsTest$11 1
mockit.MockUpForGenericsTest$2 3
mockit.MockUpForGenericsTest$3 2
mockit.MockUpForGenericsTest$4 1
mockit.MockUpForGenericsTest$5 1
mockit.MockUpForGenericsTest$6 1
mockit.MockUpForGenericsTest$7 1
mockit.MockUpForGenericsTest$8 3
mockit.MockUpForGenericsTest$9 1
mockit.MockUpForGenericsTest$NonGenericClassWithGenericMethods 2
mockit.MockUpForSingleClassInstanceTest 4
mockit.MockUpForSingleClassInstanceTest$1 1
mockit.MockUpForSingleClassInstanceTest$1AClassMockUp 2
mockit.MockUpForSingleClassInstanceTest$2 1
mockit.MockUpForSingleClassInstanceTest$3 1
mockit.MockUpForSingleClassInstanceTest$4 1
mockit.MockUpForSingleClassInstanceTest$5 1
mockit.MockUpForSingleClassInstanceTest$6 3
mockit.MockUpForSingleClassInstanceTest$7 2
mockit.MockUpForSingleClassInstanceTest$8 2
mockit.MockUpForSingleClassInstanceTest$9 2
mockit.MockUpForSingleInterfaceInstanceTest$1 1
mockit.MockUpForSingleInterfaceInstanceTest$1AnInterfaceMockUp 2
mockit.MockUpForSingleInterfaceInstanceTest$1InterfaceMockUp 1
mockit.MockUpForSingleInterfaceInstanceTest$2 1
mockit.MockUpForSingleInterfaceInstanceTest$2AnInterfaceMockUp 1
mockit.MockUpForSingleInterfaceInstanceTest$4 1
mockit.MockedAnnotationsTest 4
mockit.MockedAnnotationsTest$1 1
mockit.MockedAnnotationsTest$4 1
mockit.MockedClassWithSuperClassTest 6
mockit.MockedClassWithSuperClassTest$3 1
mockit.MockedClassWithSuperClassTest$6 1
mockit.MockedClassWithSuperClassTest$7 1
mockit.MockedClassWithSuperClassTest$8 1
mockit.MockedEnumsTest 10
mockit.MockedEnumsTest$1 2
mockit.MockedEnumsTest$2 1
mockit.MockedEnumsTest$4 1
mockit.MockedEnumsTest$5 1
mockit.MockedEnumsTest$6 1
mockit.MockedEnumsTest$7 2
mockit.MockedEnumsTest$Foo 1
mockit.MockedParametersWithCapturingTest 1
mockit.MockingMultipleInterfacesTest 4
mockit.MockingNewInstancesWithVaryingBehaviorTest 6
mockit.MockingNewInstancesWithVaryingBehaviorTest$2 1
mockit.MockingNewInstancesWithVaryingBehaviorTest$4 1
mockit.MockingNewInstancesWithVaryingBehaviorTest$5 4
mockit.MockingNewInstancesWithVaryingBehaviorTest$6 1
mockit.MoreFakingTest 13
mockit.MoreFakingTest$1 2
mockit.MoreFakingTest$4 1
mockit.MoreFakingTest$5 1
mockit.MoreFakingTest$6 1
mockit.MoreFakingTest$8 1
mockit.MoreFakingTest$Collaborator 1
mockit.MoreFakingTest$SubCollaborator 1
mockit.MultiThreadedExpectationsTest 8
mockit.MultiThreadedExpectationsTest$10 2
mockit.MultiThreadedExpectationsTest$2 1
mockit.MultiThreadedExpectationsTest$3 1
mockit.MultiThreadedExpectationsTest$4 1
mockit.MultiThreadedExpectationsTest$5 1
mockit.MultiThreadedExpectationsTest$6 1
mockit.MultiThreadedExpectationsTest$8 1
mockit.MultiThreadedExpectationsTest$9 1
mockit.MultipleMockedTypesTest 10
mockit.MultipleMockedTypesTest$1 1
mockit.MultipleMockedTypesTest$10 1
mockit.MultipleMockedTypesTest$2 1
mockit.MultipleMockedTypesTest$3 1
mockit.MultipleMockedTypesTest$5 1
mockit.MultipleMockedTypesTest$6 1
mockit.MultipleMockedTypesTest$7 1
mockit.MultipleMockedTypesTest$8 1
mockit.MultipleMockedTypesTest$TestedUnit 1
mockit.NaturalOrderingTest 6
mockit.NaturalOrderingTest$1 2
mockit.NaturalOrderingTest$2 1
mockit.NaturalOrderingTest$ComparableClass 1
mockit.ObjectOverridesAndInjectableMocksTest 5
mockit.ObjectOverridesAndInjectableMocksTest$1 1
mockit.ObjectOverridesAndInjectableMocksTest$BaseClass 3
mockit.ObjectOverridesTest 19
mockit.ObjectOverridesTest$1 6
mockit.ObjectOverridesTest$2 2
mockit.ObjectOverridesTest$3 3
mockit.ObjectOverridesTest$4 2
mockit.ObjectOverridesTest$5 3
mockit.ObjectOverridesTest$6 1
mockit.ObjectOverridesTest$7 5
mockit.ObjectOverridesTest$8 1
mockit.ObjectOverridesTest$9 1
mockit.ObjectOverridesTest$ClassWithEqualsOverride 3
mockit.PartialMockingTest 26
mockit.PartialMockingTest$10 1
mockit.PartialMockingTest$11 2
mockit.PartialMockingTest$12 2
mockit.PartialMockingTest$14 3
mockit.PartialMockingTest$15 2
mockit.PartialMockingTest$17 2
mockit.PartialMockingTest$18 1
mockit.PartialMockingTest$19 2
mockit.PartialMockingTest$20 1
mockit.PartialMockingTest$21 1
mockit.PartialMockingTest$22 1
mockit.PartialMockingTest$24 1
mockit.PartialMockingTest$7 1
mockit.PartialMockingTest$8 1
mockit.PartialMockingTest$9 2
mockit.PartialMockingTest$BaseClass 1
mockit.PartialMockingTest$Collaborator 2
mockit.PartialMockingTest$TestedClass 1
mockit.ReentrantDelegateTest 3
mockit.ReentrantDelegateTest$1 1
mockit.ReentrantDelegateTest$1$1 1
mockit.ReentrantDelegateTest$2 1
mockit.ReentrantDelegateTest$2$1 1
mockit.ReentrantDelegateTest$3 1
mockit.ReentrantDelegateTest$3$1 1
mockit.ReentrantFakeTest 25
mockit.ReentrantFakeTest$1 2
mockit.ReentrantFakeTest$2 2
mockit.ReentrantFakeTest$3 1
mockit.ReentrantFakeTest$5 1
mockit.ReentrantFakeTest$6 1
mockit.ReentrantFakeTest$7 1
mockit.ReentrantFakeTest$8 1
mockit.ReentrantFakeTest$9 1
mockit.ReentrantFakeTest$FakeClassWithReentrantFakeForRecursiveMethod 1
mockit.ReentrantFakeTest$RealClass 1
mockit.RestrictedFullVerificationsTest 49
mockit.RestrictedFullVerificationsTest$1 2
mockit.RestrictedFullVerificationsTest$10 2
mockit.RestrictedFullVerificationsTest$11 1
mockit.RestrictedFullVerificationsTest$12 1
mockit.RestrictedFullVerificationsTest$13 2
mockit.RestrictedFullVerificationsTest$14 1
mockit.RestrictedFullVerificationsTest$15 1
mockit.RestrictedFullVerificationsTest$16 1
mockit.RestrictedFullVerificationsTest$17 2
mockit.RestrictedFullVerificationsTest$19 1
mockit.RestrictedFullVerificationsTest$2 2
mockit.RestrictedFullVerificationsTest$3 1
mockit.RestrictedFullVerificationsTest$4 1
mockit.RestrictedFullVerificationsTest$5 1
mockit.RestrictedFullVerificationsTest$6 1
mockit.RestrictedFullVerificationsTest$7 1
mockit.RestrictedFullVerificationsTest$8 1
mockit.RestrictedFullVerificationsTest$9 1
mockit.RestrictedFullVerificationsTest$Dependency 1
mockit.StandardDI2Test$TestedClass 1
mockit.StandardDITest 8
mockit.StandardDITest$Collaborator 1
mockit.StandardDITest$TestedClass 4
mockit.StandardDITest$TestedClassWithVarargsParameterForProviders 3
mockit.TargetSubclass 1
mockit.TestedAbstractClassTest 6
mockit.TestedAbstractClassTest$3 1
mockit.TestedAndMockedTest 4
mockit.TestedAndMockedTest$1 1
mockit.TestedAndMockedTest$ClassToBeTested 3
mockit.TestedClassInjectedFromMockParametersTest 1
mockit.TestedClassInjectedFromMockParametersTest$TestedClass 4
mockit.TestedClassWithConstructorAndFieldDI2Test$ClassWithConstructorHavingReferenceTypeParameterAndDoubleSizedLocalVar 1
mockit.TestedClassWithConstructorAndFieldDI2Test$TestedClass 3
mockit.TestedClassWithConstructorAndFieldDITest 4
mockit.TestedClassWithConstructorAndFieldDITest$1 1
mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass 2
mockit.TestedClassWithConstructorDI1Test 9
mockit.TestedClassWithConstructorDI1Test$1 1
mockit.TestedClassWithConstructorDI1Test$2 1
mockit.TestedClassWithConstructorDI1Test$4 1
mockit.TestedClassWithConstructorDI1Test$6 1
mockit.TestedClassWithConstructorDI1Test$TestedClass 1
mockit.TestedClassWithConstructorDI2Test 3
mockit.TestedClassWithConstructorDI2Test$1 1
mockit.TestedClassWithConstructorDI2Test$2 1
mockit.TestedClassWithConstructorDI2Test$TestedClass 3
mockit.TestedClassWithConstructorDI3Test 2
mockit.TestedClassWithConstructorDI3Test$1 1
mockit.TestedClassWithConstructorDI3Test$2 1
mockit.TestedClassWithConstructorDI4Test 3
mockit.TestedClassWithConstructorDI4Test$1 1
mockit.TestedClassWithConstructorDI4Test$2 1
mockit.TestedClassWithConstructorDI4Test$TestedClass 7
mockit.TestedClassWithFieldDITest 5
mockit.TestedClassWithFieldDITest$1 1
mockit.TestedClassWithFullAnnotatedDITest$TestedClass 2
mockit.TestedClassWithFullConstructorAndFieldDITest 7
mockit.TestedClassWithFullConstructorAndFieldDITest$ClassWithMultipleConstructors 1
mockit.TestedClassWithFullConstructorDITest 1
mockit.TestedClassWithFullDITest 11
mockit.TestedClassWithFullMixedFieldDITest 3
mockit.TestedClassWithFullStandardDITest 4
mockit.TestedClassWithFullStandardDITest$1 1
mockit.TestedClassWithFullStandardDITest$CommonDependency 2
mockit.TestedClassWithFullStandardDITest$FirstLevelDependency 3
mockit.TestedClassWithFullStandardDITest$SecondLevelDependency 1
mockit.TestedClassWithFullStandardDITest$TestedClass 3
mockit.TestedClassWithGenericSubtypesTest 4
mockit.TestedClassWithGenericsTest 7
mockit.TestedClassWithGenericsTest$ClassWithFieldOfGenericTypeContainingGenericArray 2
mockit.TestedClassWithGenericsTest$GenericClass 1
mockit.TestedClassWithGenericsTest$TestedClassWithConstructorParameterOfGenericType 1
mockit.TestedClassWithNoDITest 4
mockit.TestedClassWithNoDITest$1 1
mockit.TestedClassWithNoDITest$2 1
mockit.TestedClassWithNoDITest$4 1
mockit.TestedClassWithNoPublicConstructorTest$TestedClassWithPrivateConstructor 1
mockit.TestedClassWithQualifiedDependencyTest$Dependency1 2
mockit.TestedClassWithQualifiedDependencyTest$Dependency2 2
mockit.TestedClassWithQualifiedDependencyTest$TestedClass 6
mockit.TestedFieldExtractionTest 2
mockit.TestedFieldExtractionTest$TestedClassWithInitializedFieldsOfVariousTypes 1
mockit.TestedFieldWithFailedConstructorDITest$ClassWithOneParameter 1
mockit.TestedMethodsTest 5
mockit.TestedParametersTest 4
mockit.VerificationsInOrderTest 26
mockit.VerificationsTest 18
mockit.VerificationsTest$13$1 1
mockit.VerificationsTest$15$1 1
mockit.VerificationsWithSomeArgumentMatchersTest 15
mockit.VerificationsWithSomeArgumentMatchersTest$1 2
mockit.VerificationsWithSomeArgumentMatchersTest$5 2
mockit.VerificationsWithSomeArgumentMatchersTest$7 1
mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator 14
mockit.WithCaptureTest 38
mockit.WithCaptureTest$1 1
mockit.WithCaptureTest$10 1
mockit.WithCaptureTest$18 1
mockit.WithCaptureTest$19 1
mockit.WithCaptureTest$20 1
mockit.WithCaptureTest$23 1
mockit.WithCaptureTest$25 2
mockit.asm.AnnotatedReader 2
mockit.asm.BaseWriter 2
mockit.asm.annotations.AnnotationReader 2
mockit.asm.annotations.AnnotationVisitor 3
mockit.asm.classes.ClassReader 8
mockit.asm.classes.ClassWriter 2
mockit.asm.classes.ConstantPoolCopying 1
mockit.asm.constantPool.ConstantPoolGeneration 2
mockit.asm.constantPool.Item 1
mockit.asm.constantPool.ModuleItem 1
mockit.asm.constantPool.PackageItem 1
mockit.asm.constantPool.StringItem 1
mockit.asm.controlFlow.CFGAnalysis 6
mockit.asm.controlFlow.Edge 2
mockit.asm.controlFlow.Frame 10
mockit.asm.controlFlow.Label 4
mockit.asm.controlFlow.StackMapTableWriter 4
mockit.asm.exceptionHandling.ExceptionHandler 1
mockit.asm.exceptionHandling.ExceptionHandling 1
mockit.asm.fields.FieldReader 4
mockit.asm.jvmConstants.JVMInstruction 2
mockit.asm.metadata.ClassMetadataReader 4
mockit.asm.methods.LocalVariableTableWriter 1
mockit.asm.methods.MethodReader 8
mockit.asm.types.JavaType 1
mockit.asm.types.PrimitiveType 8
mockit.asm.types.ReferenceType 6
mockit.asm.util.ByteVector 1
mockit.asm.util.BytecodeReader 3
mockit.coverage.CallPoint 3
mockit.coverage.CoverageCheck 5
mockit.coverage.CoverageCheck$Threshold 1
mockit.coverage.OutputFileGenerator 4
mockit.coverage.TestRun 1
mockit.coverage.data.CoverageData 7
mockit.coverage.data.FileCoverageData 4
mockit.coverage.dataItems.FieldData 2
mockit.coverage.dataItems.InstanceFieldData 4
mockit.coverage.dataItems.PerFileDataCoverage 2
mockit.coverage.dataItems.StaticFieldData 4
mockit.coverage.lines.BranchCoverageData 1
mockit.coverage.lines.LineCoverageData 2
mockit.coverage.lines.LineSegmentData 2
mockit.coverage.lines.PerFileLineCoverage 2
mockit.coverage.modification.CFGTracking 5
mockit.coverage.modification.ClassModification 1
mockit.coverage.modification.ClassesNotLoaded 1
mockit.coverage.reporting.CoverageReport 1
mockit.coverage.reporting.dataCoverage.DataCoverageOutput 4
mockit.coverage.reporting.lineCoverage.LineCoverageOutput 2
mockit.coverage.reporting.packages.IndexPage 2
mockit.coverage.reporting.parsing.LineElement 9
mockit.coverage.reporting.parsing.LineElement$1 1
mockit.coverage.reporting.parsing.LineParser 3
mockit.coverage.testRedundancy.JUnitListener 1
mockit.coverage.testRedundancy.TestCoverage 1
mockit.integration.TestRunnerDecorator 1
mockit.integration.junit4.BaseJUnit4DecoratorTest 2
mockit.integration.junit4.FakeFrameworkMethod 2
mockit.integration.junit4.JUnit4DecoratorTest 2
mockit.integration.junit4.JUnit4ViolatedExpectationsTest 5
mockit.integration.junit4.SecondJUnit4DecoratorTest 1
mockit.integration.junit4.TestSuiteWithBeforeClass 1
mockit.integration.junit4.TestSuiteWithBeforeClass$1 1
mockit.integration.junit4.ThirdJUnit4DecoratorTest 1
mockit.integration.junit5.JMockitExtension 1
mockit.integration.junit5.JMockitExtension$ParamValueInitContext 1
mockit.integration.springframework.SpringIntegrationTest 1
mockit.integration.testng.TestNGRunnerDecorator 1
mockit.internal.BaseInvocation 2
mockit.internal.ClassFile 4
mockit.internal.ClassIdentification 1
mockit.internal.ClassLoadingBridge 2
mockit.internal.capturing.CaptureTransformer 1
mockit.internal.classGeneration.BaseSubclassGenerator 1
mockit.internal.classGeneration.ImplementationClass 2
mockit.internal.expectations.ActiveInvocations 1
mockit.internal.expectations.BaseVerificationPhase 1
mockit.internal.expectations.EquivalentInstances 1
mockit.internal.expectations.Expectation 1
mockit.internal.expectations.RecordAndReplayExecution 2
mockit.internal.expectations.RecordPhase 2
mockit.internal.expectations.TestOnlyPhase 1
mockit.internal.expectations.UnorderedVerificationPhase 1
mockit.internal.expectations.argumentMatching.CaptureMatcher 1
mockit.internal.expectations.argumentMatching.LenientEqualityMatcher 1
mockit.internal.expectations.invocation.ArgumentValuesAndMatchers 2
mockit.internal.expectations.invocation.DelegateInvocation 1
mockit.internal.expectations.invocation.DelegatedResult 3
mockit.internal.expectations.invocation.ExpectedInvocation 2
mockit.internal.expectations.invocation.InvocationArguments 1
mockit.internal.expectations.invocation.InvocationResults 2
mockit.internal.expectations.invocation.ReturnTypeConversion 8
mockit.internal.expectations.mocking.CaptureOfNewInstancesForFields 1
mockit.internal.expectations.mocking.FieldTypeRedefinitions 2
mockit.internal.expectations.mocking.InstanceFactory 1
mockit.internal.expectations.mocking.InterfaceImplementationGenerator 1
mockit.internal.expectations.mocking.MockedClassModifier 1
mockit.internal.expectations.mocking.ParameterTypeRedefinitions 2
mockit.internal.expectations.mocking.TypeRedefinitions 1
mockit.internal.expectations.state.ExecutingTest 9
mockit.internal.expectations.state.MockedTypeCascade 2
mockit.internal.expectations.transformation.ArgumentCapturing 2
mockit.internal.expectations.transformation.ExpectationsTransformer 1
mockit.internal.expectations.transformation.InvocationBlockModifier 1
mockit.internal.faking.FakeBridge 2
mockit.internal.faking.FakeClassSetup 1
mockit.internal.faking.FakeClasses 7
mockit.internal.faking.FakeClasses$SavePoint 1
mockit.internal.faking.FakeMethods 1
mockit.internal.faking.FakeMethods$FakeMethod 2
mockit.internal.faking.FakeState 2
mockit.internal.faking.FakedImplementationClass 1
mockit.internal.injection.BeanExporter 1
mockit.internal.injection.InjectionPoint 1
mockit.internal.injection.InjectionProvider 1
mockit.internal.injection.InjectionProviders 2
mockit.internal.injection.InjectionState 1
mockit.internal.injection.LifecycleMethods 2
mockit.internal.injection.TestedClass 5
mockit.internal.injection.TestedObjectCreation 2
mockit.internal.injection.TestedParameters 1
mockit.internal.injection.constructor.ConstructorInjection 1
mockit.internal.injection.constructor.ConstructorSearch 3
mockit.internal.injection.field.FieldToInject 1
mockit.internal.injection.full.FullInjection 4
mockit.internal.injection.full.JPADependencies 2
mockit.internal.injection.full.ServletDependencies 1
mockit.internal.injection.full.ServletDependencies$2 1
mockit.internal.injection.full.TestDataSource 6
mockit.internal.reflection.AnnotationReflection 3
mockit.internal.reflection.ConstructorReflection 7
mockit.internal.reflection.FieldReflection 4
mockit.internal.reflection.GenericTypeReflection 1
mockit.internal.reflection.GenericTypeReflection$GenericSignature 3
mockit.internal.reflection.MethodReflection 8
mockit.internal.reflection.MockInvocationHandler 1
mockit.internal.reflection.ThrowOfCheckedException 1
mockit.internal.startup.JMockitInitialization 3
mockit.internal.startup.Startup 6
mockit.internal.state.CachedClassfiles 1
mockit.internal.state.MockFixture 3
mockit.internal.state.ParameterNames 1
mockit.internal.state.TestRun 6
mockit.internal.util.ClassLoad 7
mockit.internal.util.DefaultValues 4
mockit.internal.util.MethodFormatter 3
mockit.internal.util.ObjectMethods 1
mockit.internal.util.StackTrace 1
mockit.internal.util.TestMethod 1
mockit.internal.util.TypeConversion 3
mockit.internal.util.Utilities 1
otherTests.BaseClass 1
otherTests.DeencapsulationTest 1
otherTests.DeencapsulationTest$Subclass 1
otherTests.JUnit4Test 9
otherTests.JUnit4Test$1 3
otherTests.JUnit4Test$3 1
otherTests.JUnit4Test$3$1 1
otherTests.JUnit4Test$4 1
otherTests.JUnit4Test$AnotherClass 2
otherTests.SubclassTest 6
otherTests.SubclassTest$1 1
otherTests.SubclassTest$SubClass 1
otherTests.SubclassTest$SuperClass 1
otherTests.multicast.Message 1
otherTests.multicast.Message$MessageDispatcher 3
otherTests.multicast.MessageTest 3
otherTests.multicast.MessageTest$1 1
otherTests.multicast.MessageTest$TaskExecution 1
otherTests.testng.BaseTestNGDecoratorTest 1
otherTests.testng.DynamicMockingInBeforeMethodTest 2
otherTests.testng.DynamicMockingInBeforeMethodTest$1 2
otherTests.testng.DynamicMockingInBeforeMethodTest$2 1
otherTests.testng.TestNGCascadingInSetupTest 1
otherTests.testng.TestNGCascadingInSetupTest$1 1
otherTests.testng.TestNGCascadingTest 1
otherTests.testng.TestNGCascadingTest$1 1
otherTests.testng.TestNGDecoratorTest 2
otherTests.testng.TestNGExpectationsTest 6
otherTests.testng.TestNGExpectationsTest$1 2
otherTests.testng.TestNGExpectationsTest$2 1
otherTests.testng.TestNGExpectationsTest$3 1
otherTests.testng.TestNGExpectationsTest$4 2
otherTests.testng.TestNGExpectationsTest$5 1
otherTests.testng.TestNGExpectationsTest$6 2
otherTests.testng.TestNGSharedMockFieldTest 3
otherTests.testng.TestNGSharedMockFieldTest$1 1
otherTests.testng.TestNGSharedMockFieldTest$2 1
otherTests.testng.TestNGSharedMockFieldTest$3 1
otherTests.testng.TestNGViolatedExpectationsTest 9
otherTests.testng.TestNGViolatedExpectationsTest$3 2
otherTests.testng.TestedAndInjectablesTest 6
otherTests.testng.TestedAndInjectablesTest$2 1
otherTests.testng.TestedAndInjectablesTest$3 1
otherTests.testng.TestedAndInjectablesTest$SUT 2

mockit.AssertionErrorMessagesTest

Bug Category Details Line Priority
Method mockit.AssertionErrorMessagesTest.lambda$missingInvocationForExpectationUsingMatcherForDifferentParameterType$9() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 290 Medium
Method mockit.AssertionErrorMessagesTest.lambda$missingInvocationForExpectationVerifiedInOrder$7() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 254 Medium
Method mockit.AssertionErrorMessagesTest.lambda$missingInvocationForFullyVerifiedExpectations$8() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 272 Medium
Method mockit.AssertionErrorMessagesTest.lambda$missingInvocationForVerifiedExpectation$5() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 215 Medium
Method mockit.AssertionErrorMessagesTest.lambda$missingInvocationForVerifiedExpectationWhichGetsNonMatchingInvocationsAtReplayTime$6() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 234 Medium
Method mockit.AssertionErrorMessagesTest.lambda$unexpectedInvocationForExpectationsVerifiedInOrder$4() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium
Method mockit.AssertionErrorMessagesTest.lambda$unexpectedInvocationForVerifiedExpectation$3() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 120 Medium
Method mockit.AssertionErrorMessagesTest.lambda$unexpectedInvocationWhereExpectingAnotherForRecordedExpectations$1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 84 Medium
Method mockit.AssertionErrorMessagesTest.missingInvocationForRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 174 Medium
Method mockit.AssertionErrorMessagesTest.missingInvocationForRecordedExpectationWhichGetsNonMatchingInvocationsAtReplayTime() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 192 Medium
Method mockit.AssertionErrorMessagesTest.unexpectedInvocationForRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 61 Medium
Method mockit.AssertionErrorMessagesTest.unexpectedInvocationForRecordedExpectationWithMaximumInvocationCountOfZero() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 100 Medium
Method mockit.AssertionErrorMessagesTest.unexpectedInvocationOnMethodWithNoParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 155 Medium
Method mockit.AssertionErrorMessagesTest.unexpectedInvocationOnMethodWithNoParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 165 Medium

mockit.BaseTest

Bug Category Details Line Priority

mockit.CapturingImplementationsTest

Bug Category Details Line Priority
mockit.CapturingImplementationsTest.<static initializer for CapturingImplementationsTest>() creates a mockit.CapturingImplementationsTest$4 classloader, which should be performed within a doPrivileged block MALICIOUS_CODE DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED 222 Medium
Null passed for non-null parameter of java.util.concurrent.ExecutorService.submit(Runnable) in mockit.CapturingImplementationsTest.captureClassesFromTheJavaConcurrencyAPI(ExecutorService) CORRECTNESS NP_NONNULL_PARAM_VIOLATION 403 High
Method mockit.CapturingImplementationsTest.instantiateCustomLoadedClass() uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 243 Medium
Exceptional return value of java.util.concurrent.ExecutorService.submit(Callable) ignored in mockit.CapturingImplementationsTest.captureClassesFromTheJavaConcurrencyAPI(ExecutorService) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 406 Medium
Return value of CapturingImplementationsTest$Base.doSomethingReturn(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 529 Medium
Method mockit.CapturingImplementationsTest.captureClassPreviouslyLoadedByClassLoaderOtherThanContext(CapturingImplementationsTest$Service2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 255 Medium
Method mockit.CapturingImplementationsTest.captureClassesFromTheSAXParserAPI(SAXParser) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 376 Medium
Method mockit.CapturingImplementationsTest.captureDynamicallyGeneratedProxyClass(CapturingImplementationsTest$Service3) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 303 Medium
Method mockit.CapturingImplementationsTest.captureImplementationUsingMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 127 Medium
Method mockit.CapturingImplementationsTest.captureImplementationUsingMockParameter(CapturingImplementationsTest$Service2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 170 Medium
Method mockit.CapturingImplementationsTest.captureImplementationsOfGenericType(CapturingImplementationsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 518 Medium
Method mockit.CapturingImplementationsTest.captureLibraryClassImplementingInterfaceFromAnotherLibrary(ServletContextListener) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 663 Medium
Method mockit.CapturingImplementationsTest.captureMethodWithGenericReturnTypes(CapturingImplementationsTest$BaseGenericReturnTypes) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 708 Medium
Method mockit.CapturingImplementationsTest.captureR(CapturingImplementationsTest$BaseR) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 756 Medium
Method mockit.CapturingImplementationsTest.verifyInvocationToBaseInterfaceMethodOnCapturedImplementationOfSubInterface(CapturingImplementationsTest$SubItf) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 611 Medium
Method mockit.CapturingImplementationsTest.verifyInvocationToMethodFromBaseClassOnCapturedSubclassOfIntermediateSubclass(CapturingImplementationsTest$Sub) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 573 Medium

mockit.CapturingImplementationsTest$1

Bug Category Details Line Priority
Return value of CapturingImplementationsTest$Service1.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 129 Medium

mockit.CapturingImplementationsTest$13

Bug Category Details Line Priority
Return value of CapturingImplementationsTest$BaseGenericReturnTypes.methodOne() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 710 Medium
Return value of CapturingImplementationsTest$BaseGenericReturnTypes.methodTwo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 714 Medium

mockit.CapturingImplementationsTest$2

Bug Category Details Line Priority
Return value of CapturingImplementationsTest$Service2.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 172 Medium

mockit.CapturingImplementationsTest$5

Bug Category Details Line Priority
Return value of CapturingImplementationsTest$Service2.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 257 Medium

mockit.CapturingImplementationsTest$7

Bug Category Details Line Priority
Method new mockit.CapturingImplementationsTest$7(CapturingImplementationsTest, SAXParser) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 379 Medium

mockit.CapturingImplementationsTest$8

Bug Category Details Line Priority
Return value of CapturingImplementationsTest$Base.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 520 Medium
Return value of CapturingImplementationsTest$Base.doSomethingReturn(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 522 Medium

mockit.CapturingImplementationsTest$ServiceLocator

Bug Category Details Line Priority
Static or private method mockit.CapturingImplementationsTest$ServiceLocator.getInstance(Class) has unused parameters STYLE UP_UNUSED_PARAMETER 74-81 Medium
Method mockit.CapturingImplementationsTest$ServiceLocator.getInstance(Class) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 81 Medium

mockit.CapturingInstancesTest

Bug Category Details Line Priority
Method mockit.CapturingInstancesTest.captureAllInternallyCreatedInstances(Observable, Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 115 Medium
Method mockit.CapturingInstancesTest.captureAllInternallyCreatedInstances(Observable, Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 130 Medium

mockit.CapturingInstancesTest$1

Bug Category Details Line Priority
Return value of CapturingInstancesTest$Service1.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 117 Medium

mockit.CapturingInstancesTest$2

Bug Category Details Line Priority
Exception thrown in class mockit.CapturingInstancesTest$2 at new mockit.CapturingInstancesTest$2(CapturingInstancesTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 132 Medium

mockit.CapturingInstancesTest$TestedUnit$3

Bug Category Details Line Priority
Exception thrown in class mockit.CapturingInstancesTest$TestedUnit$3 at new mockit.CapturingInstancesTest$TestedUnit$3(CapturingInstancesTest$TestedUnit, boolean) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 77 Medium

mockit.CascadingFieldTest

Bug Category Details Line Priority
Return value of CascadingFieldTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 413 Medium
Return value of CascadingFieldTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 412 Medium
Method mockit.CascadingFieldTest.callMethodOnNonCascadedInstanceFromCustomArgumentMatcherWithCascadedInstanceAlsoCreated() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 509 Medium
Method mockit.CascadingFieldTest.cascadeGenericMethodOfConcreteSubclassWhichExtendsGenericClass(CascadingFieldTest$ConcreteSubclass1) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 566 Medium
Method mockit.CascadingFieldTest.cascadeGenericMethodOfConcreteSubclassWhichExtendsGenericClass(CascadingFieldTest$ConcreteSubclass1) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 580 Medium
Method mockit.CascadingFieldTest.cascadeGenericMethodOfSubclassWhichExtendsGenericClassWithUpperBoundOnlyInVerificationBlock(CascadingFieldTest$ConcreteSubclass2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 646 Medium
Method mockit.CascadingFieldTest.cascadeGenericMethodOfSubclassWhichExtendsGenericClassWithUpperBoundUsingClass(CascadingFieldTest$ActionHolder) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 683 Medium
Method mockit.CascadingFieldTest.cascadeGenericMethodOfSubclassWhichExtendsGenericClassWithUpperBoundUsingInterface(CascadingFieldTest$ConcreteSubclass2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 629 Medium
Method mockit.CascadingFieldTest.cascadeOneLevel() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 318 Medium
Method mockit.CascadingFieldTest.cascadingInstanceAccessedFromDelegateMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 454 Medium
Method mockit.CascadingFieldTest.cascadingMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 439 Medium
Method mockit.CascadingFieldTest.recordAmbiguousExpectationWithMultipleCascadingCandidatesFollowedByExpectationRecordedOnFirstCandidate(CascadingFieldTest$Bar, CascadingFieldTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 405 Medium
Method mockit.CascadingFieldTest.recordAmbiguousExpectationsOnInstanceMethodProducingTheSameCascadedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 362 Medium
Method mockit.CascadingFieldTest.recordAmbiguousExpectationsOnStaticMethodProducingTheSameCascadedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 380 Medium
Method mockit.CascadingFieldTest.recordCommonExpectations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 259 Medium
Method mockit.CascadingFieldTest.recordUnambiguousExpectationsProducingDifferentCascadedInstances(CascadingFieldTest$Foo, CascadingFieldTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 344 Medium

mockit.CascadingFieldTest$1

Bug Category Details Line Priority
Method new mockit.CascadingFieldTest$1(CascadingFieldTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 264 Medium
Return value of CascadingFieldTest$Bar.isDone() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 263 Medium

mockit.CascadingFieldTest$6

Bug Category Details Line Priority
Return value of CascadingFieldTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 408 Medium
Return value of CascadingFieldTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 407 Medium

mockit.CascadingFieldTest$7

Bug Category Details Line Priority
Return value of CascadingFieldTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 441 Medium

mockit.CascadingFieldTest$8

Bug Category Details Line Priority
Return value of CascadingFieldTest$Foo.getIntValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 456 Medium

mockit.CascadingFieldTest$8$1

Bug Category Details Line Priority
Uncallable method mockit.CascadingFieldTest$8$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 460 Medium

mockit.CascadingFieldTest$9$1

Bug Category Details Line Priority
Uncallable method mockit.CascadingFieldTest$9$1.matches(CascadingFieldTest$Baz) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 514 Medium

mockit.CascadingFieldTest$Bar

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingFieldTest$Bar at new mockit.CascadingFieldTest$Bar() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 114 Medium

mockit.CascadingFieldTest$BazCreatorAndConsumer

Bug Category Details Line Priority
Method mockit.CascadingFieldTest$BazCreatorAndConsumer.consume(CascadingFieldTest$Baz) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 494 Medium
Return value of Object.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 494 Medium
Method mockit.CascadingFieldTest$BazCreatorAndConsumer.consume(CascadingFieldTest$Baz) calls toString() on an instance of a class that hasn't overridden toString() STYLE SPP_NON_USEFUL_TOSTRING 494 Medium

mockit.CascadingFieldTest$Foo

Bug Category Details Line Priority
Method mockit.CascadingFieldTest$Foo.getBooleanValue() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 74 Medium

mockit.CascadingParametersTest

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 467 Medium
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 388 Medium
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 949 Medium
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 918 Medium
Return value of CascadingParametersTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 272 Medium
Method mockit.CascadingParametersTest.cascadeOnJREClasses(ProcessBuilder) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 531 Medium
Method mockit.CascadingParametersTest.cascadeOneLevelAndVerifyInvocationOnLastMockOnly(CascadingParametersTest$Foo, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 469 Medium
Method mockit.CascadingParametersTest.cascadeOneLevelDuringRecord(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 352 Medium
Method mockit.CascadingParametersTest.cascadeOneLevelDuringVerify(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 398 Medium
Method mockit.CascadingParametersTest.cascadeOneLevelDuringVerify(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 407 Medium
Method mockit.CascadingParametersTest.cascadeOneLevelWithArgumentMatchers(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 676 Medium
Method mockit.CascadingParametersTest.cascadeTwoLevelsAndVerifyInvocationOnLastMockOnly(CascadingParametersTest$Foo, CascadingParametersTest$Baz) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 511 Medium
Method mockit.CascadingParametersTest.cascadeTwoLevelsDuringRecord(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 434 Medium
Method mockit.CascadingParametersTest.cascadeTwoLevelsWithInvocationRecordedOnLastMockOnly(CascadingParametersTest$Foo, CascadingParametersTest$Baz) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 486 Medium
Method mockit.CascadingParametersTest.cascadedEnum(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 969 Medium
Method mockit.CascadingParametersTest.cascadedEnumReturningConsecutiveValuesThroughResultField(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 987 Medium
Method mockit.CascadingParametersTest.cascadedEnumReturningConsecutiveValuesThroughReturnsMethod(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1009 Medium
Method mockit.CascadingParametersTest.createOSProcessToCopyTempFiles(ProcessBuilder) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 586 Medium
Method mockit.CascadingParametersTest.lambda$overrideTwoCascadedMocksOfTheSameTypeButReplayInDifferentOrder$0(CascadingParametersTest$Foo, CascadingParametersTest$Bar, CascadingParametersTest$Foo, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 938 Medium
Method mockit.CascadingParametersTest.lambda$overrideTwoCascadedMocksOfTheSameTypeButReplayInDifferentOrder$0(CascadingParametersTest$Foo, CascadingParametersTest$Bar, CascadingParametersTest$Foo, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 952 Medium
Method mockit.CascadingParametersTest.overrideLastCascadedObjectWithNonMockedInstance(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1032 Medium
Method mockit.CascadingParametersTest.overrideTwoCascadedMocksOfTheSameType(CascadingParametersTest$Foo, CascadingParametersTest$Foo, CascadingParametersTest$Bar, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 905 Medium
Method mockit.CascadingParametersTest.recordAndVerifyExpectationsOnCascadedMocks(Socket, SocketChannel, InetSocketAddress) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 626 Medium
Method mockit.CascadingParametersTest.recordAndVerifyOnTwoCascadingMocksOfTheSameType(CascadingParametersTest$SocketFactory, CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 727 Medium
Method mockit.CascadingParametersTest.recordAndVerifyOnTwoCascadingMocksOfTheSameType(CascadingParametersTest$SocketFactory, CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 739 Medium
Method mockit.CascadingParametersTest.recordAndVerifyOneLevelDeep(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 700 Medium
Method mockit.CascadingParametersTest.recordAndVerifySameInvocationOnMocksReturnedFromInvocationsWithDifferentArguments(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 759 Medium
Method mockit.CascadingParametersTest.recordAndVerifySameInvocationOnMocksReturnedFromInvocationsWithDifferentArguments(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 777 Medium
Method mockit.CascadingParametersTest.recordAndVerifyWithMixedCascadeLevels(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 813 Medium
Method mockit.CascadingParametersTest.recordAndVerifyWithMixedCascadeLevels(CascadingParametersTest$SocketFactory) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 826 Medium
Method mockit.CascadingParametersTest.recordExpectationOnCascadedMock(CascadingParametersTest$Foo, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 878 Medium
Method mockit.CascadingParametersTest.replaceCascadedInstanceWithFirstOneOfTwoInjectableInstances(CascadingParametersTest$Foo, CascadingParametersTest$Bar, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 328 Medium
Method mockit.CascadingParametersTest.verifyThatStaticMethodsAndConstructorsAreMockedWhenCascadedMockIsMockedNormally(CascadingParametersTest$Foo, CascadingParametersTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 297 Medium
Method mockit.CascadingParametersTest.verifyThatStaticMethodsAndConstructorsAreNotMockedWhenCascading(CascadingParametersTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 277 Medium
Write to static field mockit.CascadingParametersTest.cascadedBar1 from instance method mockit.CascadingParametersTest.cascadeOneLevelDuringReplay(CascadingParametersTest$Foo) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 227 High
Write to static field mockit.CascadingParametersTest.cascadedBar2 from instance method mockit.CascadingParametersTest.cascadeOneLevelDuringReplay(CascadingParametersTest$Foo) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 230 Medium
Unencrypted socket to mockit.CascadingParametersTest (instead of SSLSocket) SECURITY UNENCRYPTED_SOCKET 613 Medium

mockit.CascadingParametersTest$1

Bug Category Details Line Priority
Return value of CascadingParametersTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 330 Medium

mockit.CascadingParametersTest$10

Bug Category Details Line Priority
This usage of java/lang/ProcessBuilder.command([Ljava/lang/String;)Ljava/lang/ProcessBuilder; can be vulnerable to Command Injection SECURITY COMMAND_INJECTION 588 Medium
Exception thrown in class mockit.CascadingParametersTest$10 at new mockit.CascadingParametersTest$10(CascadingParametersTest, ProcessBuilder) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 588 Medium

mockit.CascadingParametersTest$11

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$11 at new mockit.CascadingParametersTest$11(CascadingParametersTest, SocketChannel) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 628 Medium

mockit.CascadingParametersTest$12

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$12 at new mockit.CascadingParametersTest$12(CascadingParametersTest, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 678 Medium

mockit.CascadingParametersTest$13

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$13 at new mockit.CascadingParametersTest$13(CascadingParametersTest, CascadingParametersTest$SocketFactory, OutputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 702 Medium

mockit.CascadingParametersTest$14

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$14 at new mockit.CascadingParametersTest$14(CascadingParametersTest, CascadingParametersTest$SocketFactory, OutputStream, CascadingParametersTest$SocketFactory, OutputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 729 Medium

mockit.CascadingParametersTest$15

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$15 at new mockit.CascadingParametersTest$15(CascadingParametersTest, CascadingParametersTest$SocketFactory, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 741 Medium

mockit.CascadingParametersTest$16

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$16 at new mockit.CascadingParametersTest$16(CascadingParametersTest, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 763 Medium

mockit.CascadingParametersTest$17

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$17 at new mockit.CascadingParametersTest$17(CascadingParametersTest, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 781 Medium

mockit.CascadingParametersTest$18

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$18 at new mockit.CascadingParametersTest$18(CascadingParametersTest, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 815 Medium
Method new mockit.CascadingParametersTest$18(CascadingParametersTest, CascadingParametersTest$SocketFactory) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 816 Medium

mockit.CascadingParametersTest$19

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$19 at new mockit.CascadingParametersTest$19(CascadingParametersTest, CascadingParametersTest$SocketFactory) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 828 Medium

mockit.CascadingParametersTest$2

Bug Category Details Line Priority
Method new mockit.CascadingParametersTest$2(CascadingParametersTest, CascadingParametersTest$Foo, List) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 361 Medium
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 356 Medium
Return value of CascadingParametersTest$Foo.getBooleanValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 360 Medium
Return value of CascadingParametersTest$Foo.getIntValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 362 Medium
Return value of CascadingParametersTest$Foo.getList() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 364 Medium

mockit.CascadingParametersTest$20

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 880 Medium

mockit.CascadingParametersTest$21

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 911 Medium
Return value of CascadingParametersTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 907 Medium

mockit.CascadingParametersTest$22

Bug Category Details Line Priority
Return value of CascadingParametersTest$Foo.getBar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 940 Medium

mockit.CascadingParametersTest$23

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 954 Medium

mockit.CascadingParametersTest$24

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.getEnum() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 971 Medium

mockit.CascadingParametersTest$25

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.getEnum() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 989 Medium
Double assignment of field CascadingParametersTest$25.result in new mockit.CascadingParametersTest$25(CascadingParametersTest, CascadingParametersTest$Foo) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 991 Medium

mockit.CascadingParametersTest$26

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.getEnum() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1011 Medium

mockit.CascadingParametersTest$3

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 400 Medium

mockit.CascadingParametersTest$4

Bug Category Details Line Priority
Return value of CascadingParametersTest$Foo.getBooleanValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 410 Medium
Return value of CascadingParametersTest$Foo.getIntValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 409 Medium

mockit.CascadingParametersTest$5

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 436 Medium

mockit.CascadingParametersTest$6

Bug Category Details Line Priority
Return value of CascadingParametersTest$Bar.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 471 Medium

mockit.CascadingParametersTest$9

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$9 at new mockit.CascadingParametersTest$9(CascadingParametersTest, ProcessBuilder) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 536 Medium
Method new mockit.CascadingParametersTest$9(CascadingParametersTest, ProcessBuilder) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 538 Medium

mockit.CascadingParametersTest$Bar

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingParametersTest$Bar at new mockit.CascadingParametersTest$Bar() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 125 Medium

mockit.CascadingParametersTest$CustomException

Bug Category Details Line Priority
Class mockit.CascadingParametersTest$CustomException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 1244 Medium

mockit.CascadingParametersTest$Foo

Bug Category Details Line Priority
Method mockit.CascadingParametersTest$Foo.getBooleanValue() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 94 Medium

mockit.CascadingParametersTest$SocketFactory

Bug Category Details Line Priority
Unencrypted socket to mockit.CascadingParametersTest$SocketFactory (instead of SSLSocket) SECURITY UNENCRYPTED_SOCKET 644 Medium
Unencrypted socket to mockit.CascadingParametersTest$SocketFactory (instead of SSLSocket) SECURITY UNENCRYPTED_SOCKET 661 Medium

mockit.CascadingWithGenericsTest

Bug Category Details Line Priority
Method mockit.CascadingWithGenericsTest.cascadeFromGenericMethodWhoseReturnTypeComesFromParameterOnOwnerType(CascadingWithGenericsTest$Foo, CascadingWithGenericsTest$Baz) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 466 Medium
Method mockit.CascadingWithGenericsTest.cascadeFromMethodReturningATypeVariable(CascadingWithGenericsTest$GenericInterfaceWithBoundedTypeParameter) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 551 Medium
Method mockit.CascadingWithGenericsTest.cascadeFromMethodReturningInnerInstanceOfGenericClass(CascadingWithGenericsTest$Client) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 748 Medium
Method mockit.CascadingWithGenericsTest.cascadeOnMethodReturningAParameterizedClassWithAGenericMethod(CascadingWithGenericsTest$A) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 309 Medium
Method mockit.CascadingWithGenericsTest.cascadeTwoLevelsDuringRecord(CascadingWithGenericsTest$Foo) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 215 Medium

mockit.CascadingWithGenericsTest$2

Bug Category Details Line Priority
Return value of CascadingWithGenericsTest$B.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 311 Medium

mockit.CascadingWithGenericsTest$5

Bug Category Details Line Priority
Return value of CascadingWithGenericsTest$Client.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 750 Medium

mockit.CascadingWithGenericsTest$Bar

Bug Category Details Line Priority
Exception thrown in class mockit.CascadingWithGenericsTest$Bar at new mockit.CascadingWithGenericsTest$Bar() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 134 Medium

mockit.CascadingWithGenericsTest$Factory

Bug Category Details Line Priority
Static or private method mockit.CascadingWithGenericsTest$Factory.bar(Class) has unused parameters STYLE UP_UNUSED_PARAMETER 387 Medium

mockit.CascadingWithGenericsTest$SubClass

Bug Category Details Line Priority
Class mockit.CascadingWithGenericsTest$SubClass implements interface by relying on unknowing superclass methods STYLE SCII_SPOILED_CHILD_INTERFACE_IMPLEMENTOR 829 Medium

mockit.CascadingWithGenericsTest$TypeWithUnusedTypeParameterInGenericMethod

Bug Category Details Line Priority
Method mockit.CascadingWithGenericsTest$TypeWithUnusedTypeParameterInGenericMethod.foo() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 578 Medium

mockit.ClassInitializationTest

Bug Category Details Line Priority
Method mockit.ClassInitializationTest.usingExpectations(ClassInitializationTest$ClassWhichFailsAtInitialization) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 30 Medium

mockit.ClassInitializationTest$AnotherDependent

Bug Category Details Line Priority
Method mockit.ClassInitializationTest$AnotherDependent.<static initializer for AnotherDependent>() ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 215 Medium
Return value of Object.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 215 Medium

mockit.ClassInitializationTest$Dependent

Bug Category Details Line Priority
Method mockit.ClassInitializationTest$Dependent.<static initializer for Dependent>() ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 203 Medium
Return value of Object.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 203 Medium

mockit.ClassLoadingAndJREMocksTest

Bug Category Details Line Priority
Return value of new ClassLoadingAndJREMocksTest$Foo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 50 Medium
Method mockit.ClassLoadingAndJREMocksTest.fakeFile() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 39 Medium
Method mockit.ClassLoadingAndJREMocksTest.fakeFile() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 50 Medium
Method mockit.ClassLoadingAndJREMocksTest.fakeFileSafelyUsingProceed() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 85 Medium
Method mockit.ClassLoadingAndJREMocksTest.fakeFileSafelyUsingReentrantFakeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 59 Medium
Method mockit.ClassLoadingAndJREMocksTest.fakeURLUsingInjectableURLConnection(URLConnection) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 254 Medium
Method mockit.ClassLoadingAndJREMocksTest.mockURLAndHttpURLConnectionWithDynamicMock(HttpURLConnection) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 156 Medium
Method mockit.ClassLoadingAndJREMocksTest.mockURLAndHttpURLConnectionWithDynamicMock(HttpURLConnection) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 173 Medium
Method mockit.ClassLoadingAndJREMocksTest.recordURLConnectionToReturnContent(URLConnection) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 233 Medium
This web server request could be used by an attacker to expose internal services and filesystem. SECURITY URLCONNECTION_SSRF_FD 138 Medium
This web server request could be used by an attacker to expose internal services and filesystem. SECURITY URLCONNECTION_SSRF_FD 120 Medium

mockit.ClassLoadingAndJREMocksTest$1

Bug Category Details Line Priority
Uncallable method mockit.ClassLoadingAndJREMocksTest$1.exists() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 46 High

mockit.ClassLoadingAndJREMocksTest$2

Bug Category Details Line Priority
Uncallable method mockit.ClassLoadingAndJREMocksTest$2.exists(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 62-63 High

mockit.ClassLoadingAndJREMocksTest$3

Bug Category Details Line Priority
Uncallable method mockit.ClassLoadingAndJREMocksTest$3.exists(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 88-89 High

mockit.ClassLoadingAndJREMocksTest$4

Bug Category Details Line Priority
Exception thrown in class mockit.ClassLoadingAndJREMocksTest$4 at new mockit.ClassLoadingAndJREMocksTest$4(ClassLoadingAndJREMocksTest, Object[], URL, HttpURLConnection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 158 Medium
This web server request could be used by an attacker to expose internal services and filesystem. SECURITY URLCONNECTION_SSRF_FD 158 Medium

mockit.ClassLoadingAndJREMocksTest$5

Bug Category Details Line Priority
Exception thrown in class mockit.ClassLoadingAndJREMocksTest$5 at new mockit.ClassLoadingAndJREMocksTest$5(ClassLoadingAndJREMocksTest, HttpURLConnection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 176 Medium

mockit.ClassLoadingAndJREMocksTest$6

Bug Category Details Line Priority
Exception thrown in class mockit.ClassLoadingAndJREMocksTest$6 at new mockit.ClassLoadingAndJREMocksTest$6(ClassLoadingAndJREMocksTest, URLConnection) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 235 Medium

mockit.ClassLoadingAndJREMocksTest$7

Bug Category Details Line Priority
Uncallable method mockit.ClassLoadingAndJREMocksTest$7.openConnection() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 261 High

mockit.ClassWithObjectOverrides

Bug Category Details Line Priority
Non derivable method mockit.ClassWithObjectOverrides.finalize() declares throwing an exception that isn't thrown CORRECTNESS BED_BOGUS_EXCEPTION_DECLARATION 39 Medium
Method mockit.ClassWithObjectOverrides.equals(Object) calls equals(Object o) on a StringBuilder or StringBuffer CORRECTNESS SPP_EQUALS_ON_STRING_BUILDER 23 Medium

mockit.CovariantReturnTypesTest

Bug Category Details Line Priority
Method mockit.CovariantReturnTypesTest.abstractMethodImplementationUsingRecordedExpectation(CovariantReturnTypesTest$AbstractBaseClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 124 Medium
Method mockit.CovariantReturnTypesTest.concreteMethodImplementationUsingRecordedExpectation(CovariantReturnTypesTest$ConcreteClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 102 Medium
Method mockit.CovariantReturnTypesTest.methodInClassHierarchyUsingRecordedExpectation(CovariantReturnTypesTest$SubClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 50 Medium
Method mockit.CovariantReturnTypesTest.methodInSubInterfaceReplayedThroughSuperInterfaceUsingRecordedExpectation(CovariantReturnTypesTest$SubInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 230 Medium
Method mockit.CovariantReturnTypesTest.methodInSubInterfaceUsingRecordedExpectations(CovariantReturnTypesTest$SubInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 204 Medium
Method mockit.CovariantReturnTypesTest.methodInSuperInterfaceWithVaryingReturnValuesUsingRecordedExpectation(CovariantReturnTypesTest$SuperInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 178 Medium

mockit.CovariantReturnTypesTest$5

Bug Category Details Line Priority
Double assignment of field CovariantReturnTypesTest$5.result in new mockit.CovariantReturnTypesTest$5(CovariantReturnTypesTest, CovariantReturnTypesTest$SuperInterface, Object) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 182 Medium

mockit.DelegateInvocationProceedTest

Bug Category Details Line Priority
Do not catch NullPointerException like in mockit.DelegateInvocationProceedTest.throwExceptionFromProceedIntoJREMethod(AbstractExecutorService, DelegateInvocationProceedTest$ClassToBeMocked) STYLE DCN_NULLPOINTER_EXCEPTION 503 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoRealMethodWithModifiedArguments() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 294 Medium
Null passed for non-null parameter of DelegateInvocationProceedTest$ClassToBeMocked.anotherMethodToBeMocked(String, boolean, List) in mockit.DelegateInvocationProceedTest.proceedConditionallyFromDelegateMethod() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 252 Medium
Method mockit.DelegateInvocationProceedTest.proceedConditionallyFromDelegateMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 234 Medium
Method mockit.DelegateInvocationProceedTest.proceedConditionallyFromDelegateMethodIntoConstructor(DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 330 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoConstructor(DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 305 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoJREConstructor(ProcessBuilder) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 358 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoMethodInheritedFromBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 392 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoOverridingMethodThatCallsSuperWhichAlsoHasAProceedingDelegate(DelegateInvocationProceedTest$BaseClassToBeMocked, DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 448 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoOverridingMethodWhichCallsSuper(DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 419 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodIntoRealMethodWithModifiedArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 272 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodOnInjectableMockedClass(DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 174 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodOnRegularMockedClass(DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 151 Medium
Method mockit.DelegateInvocationProceedTest.proceedFromDelegateMethodWithParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 199 Medium
Method mockit.DelegateInvocationProceedTest.throwExceptionFromProceedIntoJREMethod(AbstractExecutorService, DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 488 Medium
Method mockit.DelegateInvocationProceedTest.throwExceptionFromProceedIntoJREMethod(AbstractExecutorService, DelegateInvocationProceedTest$ClassToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 504 Medium

mockit.DelegateInvocationProceedTest$1$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$1$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 157 Medium

mockit.DelegateInvocationProceedTest$10

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationProceedTest$10 at new mockit.DelegateInvocationProceedTest$10(DelegateInvocationProceedTest, DelegateInvocationProceedTest$ClassToBeMocked) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 421 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 421 Medium

mockit.DelegateInvocationProceedTest$10$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$10$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 425 Medium

mockit.DelegateInvocationProceedTest$11

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationProceedTest$11 at new mockit.DelegateInvocationProceedTest$11(DelegateInvocationProceedTest, DelegateInvocationProceedTest$BaseClassToBeMocked, DelegateInvocationProceedTest$ClassToBeMocked) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 450 Medium
Return value of DelegateInvocationProceedTest$BaseClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 450 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 460 Medium

mockit.DelegateInvocationProceedTest$11$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$11$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 455-456 Medium

mockit.DelegateInvocationProceedTest$11$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$11$2.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 464 Medium

mockit.DelegateInvocationProceedTest$12$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$12$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 494-495 Medium

mockit.DelegateInvocationProceedTest$13

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationProceedTest$13 at new mockit.DelegateInvocationProceedTest$13(DelegateInvocationProceedTest, DelegateInvocationProceedTest$ClassToBeMocked) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 506 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 506 Medium

mockit.DelegateInvocationProceedTest$2$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$2$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 180 Medium

mockit.DelegateInvocationProceedTest$3

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationProceedTest$3 at new mockit.DelegateInvocationProceedTest$3(DelegateInvocationProceedTest, Object[], DelegateInvocationProceedTest$ClassToBeMocked) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 201 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 201 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 210 Medium
Method new mockit.DelegateInvocationProceedTest$3(DelegateInvocationProceedTest, Object[], DelegateInvocationProceedTest$ClassToBeMocked) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 210 Medium

mockit.DelegateInvocationProceedTest$3$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$3$1.delegate(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 205-206 Medium

mockit.DelegateInvocationProceedTest$3$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$3$2.delegate(Invocation, int, Object[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 215-216 Medium

mockit.DelegateInvocationProceedTest$4$1

Bug Category Details Line Priority
mockit.DelegateInvocationProceedTest$4$1.delegate(Invocation, String, boolean, List): 4th parameter 'ints' could be declared as java.util.Collection instead STYLE OCP_OVERLY_CONCRETE_COLLECTION_PARAMETER 240 Medium
Uncallable method mockit.DelegateInvocationProceedTest$4$1.delegate(Invocation, String, boolean, List) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 240-245 Medium

mockit.DelegateInvocationProceedTest$5

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationProceedTest$5 at new mockit.DelegateInvocationProceedTest$5(DelegateInvocationProceedTest, Object[], DelegateInvocationProceedTest$ClassToBeMocked) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 274 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 274 Medium
Return value of DelegateInvocationProceedTest$ClassToBeMocked.methodToBeMocked(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 282 Medium
Method new mockit.DelegateInvocationProceedTest$5(DelegateInvocationProceedTest, Object[], DelegateInvocationProceedTest$ClassToBeMocked) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 282 Medium

mockit.DelegateInvocationProceedTest$5$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$5$1.delegate1(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 278 Medium

mockit.DelegateInvocationProceedTest$5$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$5$2.delegate2(Invocation, int, Object[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 286-287 Medium

mockit.DelegateInvocationProceedTest$6

Bug Category Details Line Priority
Return value of new DelegateInvocationProceedTest$ClassToBeMocked() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 307 Medium
Method new mockit.DelegateInvocationProceedTest$6(DelegateInvocationProceedTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 307 Medium

mockit.DelegateInvocationProceedTest$6$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$6$1.init(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 311-313 Medium

mockit.DelegateInvocationProceedTest$7

Bug Category Details Line Priority
Return value of new DelegateInvocationProceedTest$ClassToBeMocked(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 332 Medium
Method new mockit.DelegateInvocationProceedTest$7(DelegateInvocationProceedTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 332 Medium

mockit.DelegateInvocationProceedTest$7$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$7$1.init(Invocation, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 336-341 Medium

mockit.DelegateInvocationProceedTest$8

Bug Category Details Line Priority
This usage of java/lang/ProcessBuilder.<init>([Ljava/lang/String;)V can be vulnerable to Command Injection SECURITY COMMAND_INJECTION 360 Medium
Return value of ProcessBuilder.command() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 368 Medium

mockit.DelegateInvocationProceedTest$8$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$8$1.init(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 364-365 Medium

mockit.DelegateInvocationProceedTest$8$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$8$2.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 372 Medium

mockit.DelegateInvocationProceedTest$9

Bug Category Details Line Priority
Return value of DelegateInvocationProceedTest$BaseClassToBeMocked.baseMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 394 Medium

mockit.DelegateInvocationProceedTest$9$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationProceedTest$9$1.baseMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 398 Medium

mockit.DelegateInvocationTest

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateInvocationTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateInvocationTest.delegateReceivingNullArguments(DelegateInvocationTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 200 Medium
Return value of DelegateInvocationTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 345 Medium
Return value of new DelegateInvocationTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 165 Medium
Method mockit.DelegateInvocationTest.consecutiveDelegatesForTheSameExpectation(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 317 Medium
Method mockit.DelegateInvocationTest.delegateClassWithMultipleMethodsAndInexactButValidMatch(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 240 Medium
Method mockit.DelegateInvocationTest.delegateForConstructorWithContext(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 158 Medium
Method mockit.DelegateInvocationTest.delegateForConstructorWithContext(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 165 Medium
Method mockit.DelegateInvocationTest.delegateMethodWithInvocationForInterface(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 363 Medium
Method mockit.DelegateInvocationTest.delegateMethodWithNoParametersForExpectationWithParameters(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 268 Medium
Method mockit.DelegateInvocationTest.delegateReceivingNullArguments(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 178 Medium
Method mockit.DelegateInvocationTest.delegateWithAnotherMethodOnTheDelegateClass(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 211 Medium
Method mockit.DelegateInvocationTest.delegateWithContextObject(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 106 Medium
Method mockit.DelegateInvocationTest.delegateWithDifferentMethodName(DelegateInvocationTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 291 Medium
Method mockit.DelegateInvocationTest.useOfContextParametersForJREMethods() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 390 Medium

mockit.DelegateInvocationTest$1

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 108 Medium

mockit.DelegateInvocationTest$1$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$1$1.staticMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 112-115 Medium

mockit.DelegateInvocationTest$10

Bug Category Details Line Priority
This usage of java/lang/Runtime.exec(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Process; can be vulnerable to Command Injection SECURITY COMMAND_INJECTION 392 Medium
Exception thrown in class mockit.DelegateInvocationTest$10 at new mockit.DelegateInvocationTest$10(DelegateInvocationTest, Object[], Runtime) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 392 Medium

mockit.DelegateInvocationTest$10$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$10$1.exec(Invocation, String, String[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 397-401 Medium

mockit.DelegateInvocationTest$2

Bug Category Details Line Priority
Return value of new DelegateInvocationTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 160 Medium
Method new mockit.DelegateInvocationTest$2(DelegateInvocationTest, DelegateInvocationTest$ConstructorDelegate) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 160 Medium

mockit.DelegateInvocationTest$3

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateInvocationTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateInvocationTest$3(DelegateInvocationTest, DelegateInvocationTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 180 Medium

mockit.DelegateInvocationTest$3$1

Bug Category Details Line Priority
Method mockit.DelegateInvocationTest$3$1.doSomething(Invocation, Boolean, int[], String) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 193 Medium
Method mockit.DelegateInvocationTest$3$1.doSomething(Invocation, Boolean, int[], String) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 194 Medium
Uncallable method mockit.DelegateInvocationTest$3$1.doSomething(Invocation, Boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 184-195 Medium

mockit.DelegateInvocationTest$4

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 213 Medium

mockit.DelegateInvocationTest$4$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$4$1.getValue(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 217 Medium
Static or private method mockit.DelegateInvocationTest$4$1.otherMethod(Invocation) has unused parameters STYLE UP_UNUSED_PARAMETER 222-223 Medium

mockit.DelegateInvocationTest$5

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.staticMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 242 Medium

mockit.DelegateInvocationTest$5$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$5$1.staticMethod(Invocation, Number) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 251 Medium
Static or private method mockit.DelegateInvocationTest$5$1.otherMethod(int) has unused parameters STYLE UP_UNUSED_PARAMETER 246-247 Medium

mockit.DelegateInvocationTest$6

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.publicMethod(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 270 Medium

mockit.DelegateInvocationTest$6$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$6$1.nonMatchingDelegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 274 Medium

mockit.DelegateInvocationTest$7

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.publicMethod(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 293 Medium

mockit.DelegateInvocationTest$7$1

Bug Category Details Line Priority
Suspicious comparison of Boolean references in mockit.DelegateInvocationTest$7$1.differentName(Invocation, boolean) BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 299 Medium
Uncallable method mockit.DelegateInvocationTest$7$1.differentName(Invocation, boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 297-300 Medium

mockit.DelegateInvocationTest$8

Bug Category Details Line Priority
Return value of DelegateInvocationTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 319 Medium

mockit.DelegateInvocationTest$8$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$8$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 323-324 Medium

mockit.DelegateInvocationTest$8$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$8$2.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 329 Medium

mockit.DelegateInvocationTest$8$3

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$8$3.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 334-335 Medium

mockit.DelegateInvocationTest$9

Bug Category Details Line Priority
Exception thrown in class mockit.DelegateInvocationTest$9 at new mockit.DelegateInvocationTest$9(DelegateInvocationTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 365 Medium

mockit.DelegateInvocationTest$9$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateInvocationTest$9$1.delegate(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 369 Medium

mockit.DelegateTest

Bug Category Details Line Priority
Found reliance on default encoding in mockit.DelegateTest.returnByteArrayFromDelegateMethod(DelegateTest$Collaborator): String.getBytes() I18N DM_DEFAULT_ENCODING 989 High
Method mockit.DelegateTest.returnByteArrayFromDelegateMethod(DelegateTest$Collaborator) encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 989 Medium
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateTest.delegateReceivingNullArguments(DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 561 Medium
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateTest.delegateWithSingleMethodHavingADifferentName(DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 611 Medium
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateTest.delegateWithSingleMethodHavingNoParameters(DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 633 Medium
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateTest.delegateWithTwoMethods(DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 587 Medium
Return value of new DelegateTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 369 Medium
Return value of new DelegateTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 322 Medium
Return value of DelegateTest$Collaborator.getFoo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 894 Medium
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 947 Medium
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 974 Medium
Method mockit.DelegateTest.attemptToUseConstructorDelegateWithPrivateMethodsOnly(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 389 Medium
Method mockit.DelegateTest.consecutiveResultsThroughDelegatesHavingDifferentValues(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 224 Medium
Method mockit.DelegateTest.consecutiveReturnValuesThroughDelegatesUsingSingleReturnsWithVarargs(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 256 Medium
Method mockit.DelegateTest.constructorDelegateWithMultipleMethods(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 354 Medium
Method mockit.DelegateTest.constructorDelegateWithMultipleMethods(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 369 Medium
Method mockit.DelegateTest.constructorDelegateWithMultipleMethods(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 372 Medium
Method mockit.DelegateTest.constructorDelegateWithSingleMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 315 Medium
Method mockit.DelegateTest.constructorDelegateWithSingleMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 322 Medium
Method mockit.DelegateTest.convertValueReturnedFromDelegateWhenReturnsTypesDiffer(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 911 Medium
Method mockit.DelegateTest.delegateCallingMockedMethodLaterVerified(DelegateTest$Collaborator, Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 883 Medium
Method mockit.DelegateTest.delegateCallingMockedMethodLaterVerified(DelegateTest$Collaborator, Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 896 Medium
Method mockit.DelegateTest.delegateCausingConcurrentMockInvocation(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 730 Medium
Method mockit.DelegateTest.delegateForFinalMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 502 Medium
Method mockit.DelegateTest.delegateForMethodWithCompatibleButDistinctParameterType(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 524 Medium
Method mockit.DelegateTest.delegateForNativeMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 479 Medium
Method mockit.DelegateTest.delegateForStaticMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 411 Medium
Method mockit.DelegateTest.delegateReceivingNullArguments(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 549 Medium
Method mockit.DelegateTest.delegateWhichCallsAnotherMockedMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 780 Medium
Method mockit.DelegateTest.delegateWhichCallsAnotherMockedMethodProducingACascadedInstance(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 854 Medium
Method mockit.DelegateTest.delegateWhichCallsAnotherMockedMethod_injectableMocking(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 829 Medium
Method mockit.DelegateTest.delegateWhichCallsAnotherMockedMethod_partialMockingOfInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 804 Medium
Method mockit.DelegateTest.delegateWhichCallsTheSameMockedMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 755 Medium
Method mockit.DelegateTest.delegateWithOneMethodHavingDifferentParameters(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 669 Medium
Method mockit.DelegateTest.delegateWithSingleMethodHavingADifferentName(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 598 Medium
Method mockit.DelegateTest.delegateWithSingleMethodHavingNoParameters(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 622 Medium
Method mockit.DelegateTest.delegateWithSingleMethodHavingNoParametersExceptForInvocationContext(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 647 Medium
Method mockit.DelegateTest.delegateWithStaticMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 433 Medium
Method mockit.DelegateTest.delegateWithTwoMethods(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 573 Medium
Method mockit.DelegateTest.delegateWithTwoNonPrivateMethods(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 699 Medium
Method mockit.DelegateTest.resultFromDelegate(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 191 Medium
Method mockit.DelegateTest.resultWithMultipleReturnValuesThroughSingleDelegate(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 287 Medium
Method mockit.DelegateTest.returnByteArrayFromDelegateMethod(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 990 Medium
Method mockit.DelegateTest.returnInconvertibleValueFromDelegateWhenReturnsTypesDiffer(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 935 Medium
Method mockit.DelegateTest.returnValueOfCorrectTypeFromDelegateMethodReturningASupertype(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1014 Medium
Method mockit.DelegateTest.returnVoidFromDelegateMethodForRecordedMethodHavingPrimitiveReturnType(DelegateTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 963 Medium

mockit.DelegateTest$1

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 193 Medium

mockit.DelegateTest$1$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$1$1.getValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 196 Medium

mockit.DelegateTest$1$2

Bug Category Details Line Priority
Method mockit.DelegateTest$1$2.doSomething(boolean, int[], String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 203 Medium
Uncallable method mockit.DelegateTest$1$2.doSomething(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 203-206 Medium

mockit.DelegateTest$10$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$10$1.nativeMethod(boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 484-485 Medium

mockit.DelegateTest$11

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.finalMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 504 Medium

mockit.DelegateTest$11$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$11$1.finalMethod() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 507 Medium

mockit.DelegateTest$12$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$12$1.delegate(Collection) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 529-530 Medium

mockit.DelegateTest$13

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$13(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 551 Medium

mockit.DelegateTest$13$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$13$1.delegate(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 555 Medium

mockit.DelegateTest$14

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$14(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 575 Medium

mockit.DelegateTest$14$1

Bug Category Details Line Priority
Private or static method mockit.DelegateTest$14$1.someOther() only returns one constant value STYLE MRC_METHOD_RETURNS_CONSTANT 578 Medium
Uncallable method mockit.DelegateTest$14$1.doSomething(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 582 Medium

mockit.DelegateTest$15

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$15(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 600 Medium

mockit.DelegateTest$15$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$15$1.onReplay(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 603-606 Medium

mockit.DelegateTest$16

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$16(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 624 Medium

mockit.DelegateTest$16$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$16$1.onReplay() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 627 Medium

mockit.DelegateTest$17

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$17(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 649 Medium

mockit.DelegateTest$17$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$17$1.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 652-653 Medium

mockit.DelegateTest$18

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$18(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 671 Medium

mockit.DelegateTest$18$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$18$1.delegate(boolean, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 674 Medium

mockit.DelegateTest$19

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in new mockit.DelegateTest$19(DelegateTest, DelegateTest$Collaborator) CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 701 Medium

mockit.DelegateTest$19$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$19$1.doSomethingElse(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 708 Medium
Uncallable method mockit.DelegateTest$19$1.someOther() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 704 Medium

mockit.DelegateTest$2

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 226 Medium

mockit.DelegateTest$2$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$2$1.getValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 229 Medium

mockit.DelegateTest$2$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$2$2.getValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 234 Medium

mockit.DelegateTest$20

Bug Category Details Line Priority
Null passed for non-null parameter of DelegateTest$Collaborator.doSomething(boolean, int[], String) in mockit.DelegateTest$20.run() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 726 Medium

mockit.DelegateTest$21

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 732 Medium

mockit.DelegateTest$21$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$21$1.executeInAnotherThread() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 736-738 Medium

mockit.DelegateTest$22

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 757 Medium

mockit.DelegateTest$22$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$22$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 763 Medium

mockit.DelegateTest$23

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.finalMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 789 Medium
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 782 Medium

mockit.DelegateTest$23$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$23$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 785 Medium

mockit.DelegateTest$24

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.finalMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 813 Medium
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 806 Medium

mockit.DelegateTest$24$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$24$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 809 Medium

mockit.DelegateTest$25

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.finalMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 838 Medium
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 831 Medium

mockit.DelegateTest$25$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$25$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 834 Medium

mockit.DelegateTest$26

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 859 Medium
Return value of DelegateTest$Foo.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 856 Medium

mockit.DelegateTest$26$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$26$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 862 Medium

mockit.DelegateTest$27

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getFoo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 885 Medium

mockit.DelegateTest$27$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$27$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 888-889 Medium

mockit.DelegateTest$29

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 913 Medium

mockit.DelegateTest$29$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$29$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 916 Medium

mockit.DelegateTest$3$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$3$1.execute(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 261-262 Medium

mockit.DelegateTest$3$2

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$3$2.execute(boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 266-267 Medium

mockit.DelegateTest$30

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 937 Medium

mockit.DelegateTest$30$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$30$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 940 Medium

mockit.DelegateTest$31

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 965 Medium

mockit.DelegateTest$31$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$31$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 968 Medium

mockit.DelegateTest$32

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 992 Medium

mockit.DelegateTest$32$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$32$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 995 Medium

mockit.DelegateTest$33

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getFoo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1016 Medium

mockit.DelegateTest$33$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$33$1.delegate() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 1019 Medium

mockit.DelegateTest$4

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 289 Medium

mockit.DelegateTest$4$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$4$1.getValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 294 Medium

mockit.DelegateTest$5

Bug Category Details Line Priority
Return value of new DelegateTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 317 Medium
Method new mockit.DelegateTest$5(DelegateTest, DelegateTest$ConstructorDelegate) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 317 Medium

mockit.DelegateTest$6

Bug Category Details Line Priority
Return value of new DelegateTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 356 Medium
Method new mockit.DelegateTest$6(DelegateTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 356 Medium

mockit.DelegateTest$6$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$6$1.init(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 359-361 Medium

mockit.DelegateTest$7

Bug Category Details Line Priority
Return value of new DelegateTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 391 Medium
Method new mockit.DelegateTest$7(DelegateTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 391 Medium

mockit.DelegateTest$8

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 413 Medium

mockit.DelegateTest$8$1

Bug Category Details Line Priority
Uncallable method mockit.DelegateTest$8$1.staticMethod() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 416 Medium

mockit.DelegateTest$9

Bug Category Details Line Priority
Return value of DelegateTest$Collaborator.staticMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 435 Medium

mockit.DelegateTest$Collaborator

Bug Category Details Line Priority
mockit.DelegateTest$Collaborator.addElements(List): 1st parameter 'elements' could be declared as java.util.Collection instead STYLE OCP_OVERLY_CONCRETE_COLLECTION_PARAMETER 143 Medium

mockit.DynamicMockingInBeforeMethodTest

Bug Category Details Line Priority
Method mockit.DynamicMockingInBeforeMethodTest.recordExpectationsOnDynamicallyMockedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 41 Medium
Method mockit.DynamicMockingInBeforeMethodTest.verifyThatDynamicallyMockedClassIsStillMocked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 57 Medium

mockit.DynamicMockingInBeforeMethodTest$1

Bug Category Details Line Priority
Method new mockit.DynamicMockingInBeforeMethodTest$1(DynamicMockingInBeforeMethodTest, Object[]) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 44 Medium
Return value of DynamicMockingInBeforeMethodTest$MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 43 Medium

mockit.DynamicMockingInBeforeMethodTest$2

Bug Category Details Line Priority
Return value of DynamicMockingInBeforeMethodTest$MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 59 Medium

mockit.DynamicOnInstanceMockingTest

Bug Category Details Line Priority
Method mockit.DynamicOnInstanceMockingTest.createCascadedMockFromPartiallyMockedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 263 Medium
Method mockit.DynamicOnInstanceMockingTest.lambda$verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolvedButMissingAnInvocation$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 373 Medium
Method mockit.DynamicOnInstanceMockingTest.lambda$verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolvedButMissingAnInvocation$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 379 Medium
Method mockit.DynamicOnInstanceMockingTest.mockingOneInstanceAndMatchingInvocationsOnlyOnThatInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 87 Medium
Method mockit.DynamicOnInstanceMockingTest.mockingOneInstanceButRecordingOnAnother() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 130 Medium
Method mockit.DynamicOnInstanceMockingTest.mockingTwoInstancesAndMatchingInvocationsOnEachOne() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 108 Medium
Method mockit.DynamicOnInstanceMockingTest.recordDuplicateInvocationOnTwoDynamicMocksOfDifferentTypesButSharedBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 205 Medium
Method mockit.DynamicOnInstanceMockingTest.useAvailableMockedInstanceAsCascadeFromPartiallyMockedInstance(DynamicOnInstanceMockingTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 283 Medium
Method mockit.DynamicOnInstanceMockingTest.useAvailableMockedSubclassInstanceAsCascadeFromPartiallyMockedInstance(DynamicOnInstanceMockingTest$Bar) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 311 Medium
Method mockit.DynamicOnInstanceMockingTest.useItselfAsCascadeFromPartiallyMockedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 330 Medium
Method mockit.DynamicOnInstanceMockingTest.verifyMethodInvocationCountOnMockedAndNonMockedInstances() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 228 Medium
Method mockit.DynamicOnInstanceMockingTest.verifyMethodInvocationCountOnMockedAndNonMockedInstances() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 244 Medium
Method mockit.DynamicOnInstanceMockingTest.verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolved() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 397 Medium
Method mockit.DynamicOnInstanceMockingTest.verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolved() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 406 Medium
Method mockit.DynamicOnInstanceMockingTest.verifySingleInvocationToMockedInstanceWithAdditionalInvocationToSameMethodOnAnotherInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 349 Medium
Method mockit.DynamicOnInstanceMockingTest.verifySingleInvocationToMockedInstanceWithAdditionalInvocationToSameMethodOnAnotherInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 356 Medium
Useless object created in method mockit.DynamicOnInstanceMockingTest.lambda$verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolvedButMissingAnInvocation$0() STYLE UC_USELESS_OBJECT_STACK 377 Medium
Useless object created in method mockit.DynamicOnInstanceMockingTest.verifyOrderedInvocationsToDynamicallyMockedInstanceWithAnotherInstanceInvolved() STYLE UC_USELESS_OBJECT_STACK 404 Medium

mockit.DynamicOnInstanceMockingTest$1

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 89 Medium

mockit.DynamicOnInstanceMockingTest$10

Bug Category Details Line Priority
Method new mockit.DynamicOnInstanceMockingTest$10(DynamicOnInstanceMockingTest, Object[], DynamicOnInstanceMockingTest$Foo) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 333 Medium
Return value of DynamicOnInstanceMockingTest$Foo.doIt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 332 Medium

mockit.DynamicOnInstanceMockingTest$12

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 358 Medium

mockit.DynamicOnInstanceMockingTest$2

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 110 Medium

mockit.DynamicOnInstanceMockingTest$3

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 133 Medium

mockit.DynamicOnInstanceMockingTest$4

Bug Category Details Line Priority
Method new mockit.DynamicOnInstanceMockingTest$4(DynamicOnInstanceMockingTest, Object[], DynamicOnInstanceMockingTest$Foo, DynamicOnInstanceMockingTest$SubFoo) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 208 Medium
Method new mockit.DynamicOnInstanceMockingTest$4(DynamicOnInstanceMockingTest, Object[], DynamicOnInstanceMockingTest$Foo, DynamicOnInstanceMockingTest$SubFoo) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 210 Medium
Return value of DynamicOnInstanceMockingTest$Foo.doIt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 207 Medium

mockit.DynamicOnInstanceMockingTest$5

Bug Category Details Line Priority
Method new mockit.DynamicOnInstanceMockingTest$5(DynamicOnInstanceMockingTest, Object[], DynamicOnInstanceMockingTest$Foo) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 231 Medium
Return value of DynamicOnInstanceMockingTest$Foo.doIt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 230 Medium

mockit.DynamicOnInstanceMockingTest$7

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$AnotherDependency.getName() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 265 Medium

mockit.DynamicOnInstanceMockingTest$8

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$AnotherDependency.getName() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 285 Medium

mockit.DynamicOnInstanceMockingTest$9

Bug Category Details Line Priority
Return value of DynamicOnInstanceMockingTest$AnotherDependency.getName() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 313 Medium

mockit.ExpectationsForConstructorsTest

Bug Category Details Line Priority
Return value of new ExpectationsForConstructorsTest$D(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 154 Medium
Return value of new ExpectationsForConstructorsTest$Collaborator2() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 260 Medium
Return value of new ExpectationsForConstructorsTest$Base() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 183 Medium
Return value of new ExpectationsForConstructorsTest$Derived() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 201 Medium
Return value of new ExpectationsForConstructorsTest$Derived() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 212 Medium
Method mockit.ExpectationsForConstructorsTest.mockAllConstructors(ExpectationsForConstructorsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 71 Medium
Method mockit.ExpectationsForConstructorsTest.mockClassHierarchyWhereFirstConstructorInBaseClassIsPrivate(ExpectationsForConstructorsTest$B) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 128 Medium
Method mockit.ExpectationsForConstructorsTest.mockClassHierarchyWhereFirstConstructorInBaseClassOnAnotherPackageIsPackagePrivate(ExpectationsForConstructorsTest$D) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 154 Medium
Method mockit.ExpectationsForConstructorsTest.mockConstructorWhichCallsTwoOthersOfTheSameClass(ExpectationsForConstructorsTest$Collaborator2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 260 Medium
Method mockit.ExpectationsForConstructorsTest.recordAndReplayBaseConstructorInvocation(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 177 Medium
Method mockit.ExpectationsForConstructorsTest.recordAndReplayBaseConstructorInvocation(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 183 Medium
Method mockit.ExpectationsForConstructorsTest.recordExpectationOnBaseConstructorAndReplayWithCallToSuper(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 194 Medium
Method mockit.ExpectationsForConstructorsTest.recordExpectationOnBaseConstructorAndReplayWithCallToSuper(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 201 Medium
Method mockit.ExpectationsForConstructorsTest.verifyExpectationOnBaseConstructorReplayedWithCallToSuper(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 212 Medium
Method mockit.ExpectationsForConstructorsTest.verifyExpectationOnBaseConstructorReplayedWithCallToSuper(ExpectationsForConstructorsTest$Base) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 214 Medium

mockit.ExpectationsForConstructorsTest$1

Bug Category Details Line Priority
Return value of new ExpectationsForConstructorsTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 73 Medium
Return value of new ExpectationsForConstructorsTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 74 Medium
Method new mockit.ExpectationsForConstructorsTest$1(ExpectationsForConstructorsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 73 Medium
Method new mockit.ExpectationsForConstructorsTest$1(ExpectationsForConstructorsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 74 Medium

mockit.ExpectationsForConstructorsTest$2

Bug Category Details Line Priority
Return value of new ExpectationsForConstructorsTest$Base() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 179 Medium
Method new mockit.ExpectationsForConstructorsTest$2(ExpectationsForConstructorsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 179 Medium

mockit.ExpectationsForConstructorsTest$3

Bug Category Details Line Priority
Return value of new ExpectationsForConstructorsTest$Base() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 196 Medium
Method new mockit.ExpectationsForConstructorsTest$3(ExpectationsForConstructorsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 196 Medium

mockit.ExpectationsForConstructorsTest$4

Bug Category Details Line Priority
Return value of new ExpectationsForConstructorsTest$Base() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 216 Medium
Method new mockit.ExpectationsForConstructorsTest$4(ExpectationsForConstructorsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 216 Medium

mockit.ExpectationsTest

Bug Category Details Line Priority
Null passed for non-null parameter of ExpectationsTest$Dependency.doSomething(Integer, boolean) in mockit.ExpectationsTest.expectationsRecordedOnSameMethodWithMatcherInOneAndFixedArgumentInAnother() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 207 Medium
Return value of ExpectationsTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 546 Medium
Return value of ExpectationsTest$Dependency.staticMethod(Object, Exception) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 341 Medium
Return value of ExpectationsTest$Collaborator.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 570 Medium
Return value of ExpectationsTest$Collaborator.doInternal() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 515 Medium
Method mockit.ExpectationsTest.expectNothingOnMockedTypeButExerciseItDuringReplay(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 487 Medium
Method mockit.ExpectationsTest.expectNothingOnMockedTypeButExerciseItDuringReplay(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 496 Medium
Method mockit.ExpectationsTest.expectOnlyOneInvocationButExerciseOthersDuringReplay(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 465 Medium
Method mockit.ExpectationsTest.expectOnlyOneInvocationButExerciseOthersDuringReplay(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 474 Medium
Method mockit.ExpectationsTest.expectationsRecordedOnSameMethodWithMatcherInOneAndFixedArgumentInAnother() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 197 Medium
Method mockit.ExpectationsTest.expectationsRecordedOnSameMethodWithSameMatchersButDifferentArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 178 Medium
Method mockit.ExpectationsTest.failureFromUnexpectedInvocationInAnotherThread(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 539 Medium
Method mockit.ExpectationsTest.failureFromUnexpectedInvocationInAnotherThread(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 550 Medium
Method mockit.ExpectationsTest.recordInvocationThatWillNotOccur() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 161 Medium
Method mockit.ExpectationsTest.recordInvocationWithExactExpectedNumberOfInvocationsButFailToSatisfy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 217 Medium
Method mockit.ExpectationsTest.recordInvocationWithMaximumExpectedNumberOfInvocationsButFailToSatisfy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 245 Medium
Method mockit.ExpectationsTest.recordInvocationWithMinimumExpectedNumberOfInvocationsButFailToSatisfy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 230 Medium
Method mockit.ExpectationsTest.recordInvocationsWithExpectedInvocationCounts() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 261 Medium
Method mockit.ExpectationsTest.recordInvocationsWithMinInvocationCountLargerThanWillOccur() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 281 Medium
Method mockit.ExpectationsTest.recordSimpleInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 145 Medium
Method mockit.ExpectationsTest.recordWithArgumentMatcherAndIndividualInvocationCounts() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 296 Medium
Method mockit.ExpectationsTest.recordWithMaxInvocationCountFollowedByReturnValue() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 317 Medium
Method mockit.ExpectationsTest.recordWithMaxInvocationCountFollowedByReturnValueButReplayOneTimeBeyondMax() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 333 Medium
Method mockit.ExpectationsTest.recordWithMinInvocationCountFollowedByReturnValueUsingDelegate() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 366 Medium
Method mockit.ExpectationsTest.recordWithReturnValueFollowedByExpectedInvocationCount() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 350 Medium
Method mockit.ExpectationsTest.recordingExpectationOnMethodWithOneArgumentButReplayingWithAnotherShouldProduceUsefulErrorMessage(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 564 Medium
Method mockit.ExpectationsTest.recordingExpectationOnMethodWithOneArgumentButReplayingWithAnotherShouldProduceUsefulErrorMessage(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 577 Medium
Method mockit.ExpectationsTest.replayWithUnexpectedStaticMethodInvocation(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 509 Medium
Method mockit.ExpectationsTest.replayWithUnexpectedStaticMethodInvocation(ExpectationsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 517 Medium

mockit.ExpectationsTest$11

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.staticMethod(Object, Exception) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 319 Medium

mockit.ExpectationsTest$12

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.staticMethod(Object, Exception) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 335 Medium

mockit.ExpectationsTest$13

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.staticMethod(Object, Exception) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 352 Medium

mockit.ExpectationsTest$14

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.staticMethod(Object, Exception) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 368 Medium

mockit.ExpectationsTest$14$1

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsTest$14$1.staticMethod(Object, Exception) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 372 Medium

mockit.ExpectationsTest$19

Bug Category Details Line Priority
Return value of ExpectationsTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 511 Medium

mockit.ExpectationsTest$22

Bug Category Details Line Priority
Return value of ExpectationsTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 541 Medium

mockit.ExpectationsTest$24

Bug Category Details Line Priority
Return value of ExpectationsTest$Collaborator.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 566 Medium

mockit.ExpectationsTest$3

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.doSomething(Integer, boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 180 Medium

mockit.ExpectationsTest$4

Bug Category Details Line Priority
Return value of ExpectationsTest$Dependency.doSomething(Integer, boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 199 Medium

mockit.ExpectationsTest$Dependency

Bug Category Details Line Priority
Static or private method mockit.ExpectationsTest$Dependency.staticMethod(Object, Exception) has unused parameters STYLE UP_UNUSED_PARAMETER 119 Medium
Static or private method mockit.ExpectationsTest$Dependency.staticMethod(Object, Exception) has unused parameters STYLE UP_UNUSED_PARAMETER 119 Medium
Unread field: mockit.ExpectationsTest$Dependency.value PERFORMANCE URF_UNREAD_FIELD 42 Medium

mockit.ExpectationsUsingMockedTest

Bug Category Details Line Priority
Method mockit.ExpectationsUsingMockedTest.mockFieldForAbstractClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 94 Medium
Method mockit.ExpectationsUsingMockedTest.mockInnerClass(ExpectationsUsingMockedTest$InnerClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 221 Medium
Method mockit.ExpectationsUsingMockedTest.multipleMockParametersOfSameMockedType(ExpectationsUsingMockedTest$Dependency, ExpectationsUsingMockedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 74 Medium
Method mockit.ExpectationsUsingMockedTest.recordExpectationOnBaseMethodHavingASyntheticBridgeMethodInSubclass(ExpectationsUsingMockedTest$GenericSubclass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 316 Medium
Method mockit.ExpectationsUsingMockedTest.recordMethodFromAbstractBaseClassAndReplayOnSubclass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 247 Medium

mockit.ExpectationsUsingMockedTest$2

Bug Category Details Line Priority
Method new mockit.ExpectationsUsingMockedTest$2(ExpectationsUsingMockedTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 97 Medium
Return value of ExpectationsUsingMockedTest$AbstractBase.add(Integer) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 96 Medium

mockit.ExpectationsUsingMockedTest$3

Bug Category Details Line Priority
Return value of ExpectationsUsingMockedTest$InnerClass.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 223 Medium

mockit.ExpectationsUsingMockedTest$4

Bug Category Details Line Priority
Return value of ExpectationsUsingMockedTest$AbstractBase.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 249 Medium

mockit.ExpectationsUsingMockedTest$5

Bug Category Details Line Priority
Return value of ExpectationsUsingMockedTest$GenericSubclass.base() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 318 Medium

mockit.ExpectationsUsingResultFieldTest

Bug Category Details Line Priority
Method mockit.ExpectationsUsingResultFieldTest.returnIterableOrIteratorFromRecordedArray(ExpectationsUsingResultFieldTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 1062 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnIterableOrIteratorFromRecordedArray(ExpectationsUsingResultFieldTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 1063 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnMapFromRecordedTwoDimensionalArray(ExpectationsUsingResultFieldTest$Collaborator, ExpectationsUsingResultFieldTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 1123 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesInSequenceUsingCollection() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 719 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1048 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1028 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getArrayOfGenericElements(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1376 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1308 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getBooleanArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 966 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIntArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 976 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getStringArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 971 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1000 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1005 Medium
Return value of new ExpectationsUsingResultFieldTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1228 Medium
Method mockit.ExpectationsUsingResultFieldTest.attemptToReturnValueOfTypeListFromMethodReturningIterator(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1039 Medium
Method mockit.ExpectationsUsingResultFieldTest.attemptToReturnValueOfTypeSetFromMethodReturningIterator(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1019 Medium
Method mockit.ExpectationsUsingResultFieldTest.createAppropriateContainerFromSingleRecordedValueOfTheElementType(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1415 Medium
Method mockit.ExpectationsUsingResultFieldTest.createArrayFromSingleRecordedValueOfTheElementType(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1390 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordArraysOfGenericElementTypes(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1362 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordConsecutiveReturnValuesForVoidMethod(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1259 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordExceptionFollowedByNullReturnValueForVoidMethod(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1334 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordNullReturnValueForConstructor(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1149 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordNullReturnValueForVoidMethod(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1167 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordNullReturnValueForVoidMethodAndThenAThrownError(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1185 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordReturnValueForConstructor(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1282 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordReturnValueForVoidMethod(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1243 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordReturnValuesMixedWithThrowablesForNonVoidMethod(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1298 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordThrownError(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 563 Medium
Method mockit.ExpectationsUsingResultFieldTest.recordThrownException(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 543 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnIterableOrIteratorFromRecordedArray(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1065 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnMapFromRecordedTwoDimensionalArray(ExpectationsUsingResultFieldTest$Collaborator, ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1125 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsEmptyArrayForMethodWithReturnTypeOfObject(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 864 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsExpectedValues(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 520 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleExpectedValues(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 581 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleExpectedValuesWithMoreInvocationsAllowed(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 603 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesFromGenericMethod(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 885 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesFromMethodWithReturnTypeOfObject(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 837 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesInSequenceUsingArray(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 779 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesInSequenceUsingCollection() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 723 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesInSequenceUsingIterable(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 817 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsMultipleValuesInSequenceUsingIterator() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 754 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsSpecifiedCollectionsForMethodsThatReturnCollections() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 909 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsSpecifiedIteratorForMethodThatReturnsIterator() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 936 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsValueOfIncompatibleTypeForMethodReturningArray(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 954 Medium
Method mockit.ExpectationsUsingResultFieldTest.returnsValueOfIncompatibleTypeForMethodReturningCollection(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 990 Medium
Method mockit.ExpectationsUsingResultFieldTest.throwExceptionFromSecondInvocationOfConstructor(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1212 Medium
Method mockit.ExpectationsUsingResultFieldTest.throwExceptionFromSecondInvocationOfConstructor(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1223 Medium
Method mockit.ExpectationsUsingResultFieldTest.throwExceptionFromSecondInvocationOfConstructor(ExpectationsUsingResultFieldTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1228 Medium

mockit.ExpectationsUsingResultFieldTest$1

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.doInternal() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 524 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 522 Medium

mockit.ExpectationsUsingResultFieldTest$10

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getObject() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 839 Medium
Double assignment of field ExpectationsUsingResultFieldTest$10.result in new mockit.ExpectationsUsingResultFieldTest$10(ExpectationsUsingResultFieldTest, ExpectationsUsingResultFieldTest$Collaborator) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 843 Medium

mockit.ExpectationsUsingResultFieldTest$11

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getObject() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 866 Medium

mockit.ExpectationsUsingResultFieldTest$12

Bug Category Details Line Priority
Exception thrown in class mockit.ExpectationsUsingResultFieldTest$12 at new mockit.ExpectationsUsingResultFieldTest$12(ExpectationsUsingResultFieldTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 887 Medium

mockit.ExpectationsUsingResultFieldTest$13

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 911 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 913 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 915 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSortedSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 917 Medium

mockit.ExpectationsUsingResultFieldTest$14

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 938 Medium

mockit.ExpectationsUsingResultFieldTest$15

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getBooleanArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 956 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIntArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 960 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getStringArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 958 Medium

mockit.ExpectationsUsingResultFieldTest$16

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 992 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 994 Medium

mockit.ExpectationsUsingResultFieldTest$17

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1021 Medium

mockit.ExpectationsUsingResultFieldTest$18

Bug Category Details Line Priority
Method new mockit.ExpectationsUsingResultFieldTest$18(ExpectationsUsingResultFieldTest, ExpectationsUsingResultFieldTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 1042 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1041 Medium

mockit.ExpectationsUsingResultFieldTest$19

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1067 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterable() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1075 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1077 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1069 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getListIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1079 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1071 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSortedSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1073 Medium

mockit.ExpectationsUsingResultFieldTest$20

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getMapItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1127 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSortedMapItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1129 Medium

mockit.ExpectationsUsingResultFieldTest$21

Bug Category Details Line Priority
Return value of new ExpectationsUsingResultFieldTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1151 Medium
Method new mockit.ExpectationsUsingResultFieldTest$21(ExpectationsUsingResultFieldTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1151 Medium

mockit.ExpectationsUsingResultFieldTest$24

Bug Category Details Line Priority
Return value of new ExpectationsUsingResultFieldTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1214 Medium
Method new mockit.ExpectationsUsingResultFieldTest$24(ExpectationsUsingResultFieldTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1214 Medium

mockit.ExpectationsUsingResultFieldTest$27

Bug Category Details Line Priority
Return value of new ExpectationsUsingResultFieldTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1284 Medium
Method new mockit.ExpectationsUsingResultFieldTest$27(ExpectationsUsingResultFieldTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 1284 Medium

mockit.ExpectationsUsingResultFieldTest$28

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1300 Medium

mockit.ExpectationsUsingResultFieldTest$29

Bug Category Details Line Priority
Double assignment of field ExpectationsUsingResultFieldTest$29.result in new mockit.ExpectationsUsingResultFieldTest$29(ExpectationsUsingResultFieldTest, ExpectationsUsingResultFieldTest$Collaborator) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 1338 Medium

mockit.ExpectationsUsingResultFieldTest$30

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getArrayOfGenericElements(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1364 Medium

mockit.ExpectationsUsingResultFieldTest$31

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getIntArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1392 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getStringArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1394 Medium

mockit.ExpectationsUsingResultFieldTest$32

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getFloatIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1431 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getNumberIterable() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1425 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getNumberList() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1419 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getNumberQueue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1427 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getNumbers() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1417 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getSortedNumberSet() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1423 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getStringIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1429 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getStringSet() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 1421 Medium

mockit.ExpectationsUsingResultFieldTest$4

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 583 Medium
Double assignment of field ExpectationsUsingResultFieldTest$4.result in new mockit.ExpectationsUsingResultFieldTest$4(ExpectationsUsingResultFieldTest, ExpectationsUsingResultFieldTest$Collaborator) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 585 Medium

mockit.ExpectationsUsingResultFieldTest$5

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 605 Medium
Double assignment of field ExpectationsUsingResultFieldTest$5.result in new mockit.ExpectationsUsingResultFieldTest$5(ExpectationsUsingResultFieldTest, ExpectationsUsingResultFieldTest$Collaborator) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 607 Medium

mockit.ExpectationsUsingResultFieldTest$6

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getBooleanWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 725 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getCharValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 729 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 727 Medium

mockit.ExpectationsUsingResultFieldTest$7

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 756 Medium

mockit.ExpectationsUsingResultFieldTest$8

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getBooleanValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 781 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getBooleanWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 783 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getCharValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 787 Medium
Return value of ExpectationsUsingResultFieldTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 785 Medium

mockit.ExpectationsUsingResultFieldTest$9

Bug Category Details Line Priority
Return value of ExpectationsUsingResultFieldTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 819 Medium

mockit.ExpectationsUsingResultFieldTest$Collaborator

Bug Category Details Line Priority
Method mockit.ExpectationsUsingResultFieldTest$Collaborator.getBooleanWrapper() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 206 Medium

mockit.ExpectationsUsingReturnTypeConversionTest

Bug Category Details Line Priority
Found reliance on default encoding in mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes(): String.getBytes() I18N DM_DEFAULT_ENCODING 539 High
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 539 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 541 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 544 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 547 Medium
mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() ignores result of java.io.InputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 540 Medium
mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() ignores result of java.io.Reader.read(char[]) BAD_PRACTICE RR_NOT_CHECKED 550 Medium
mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() ignores result of java.io.StringReader.read(char[]) BAD_PRACTICE RR_NOT_CHECKED 553 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.attemptToReturnValueNotCompatibleWithBooleanReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 325 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.attemptToReturnValueNotCompatibleWithBooleanWrapperReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 342 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.attemptToReturnValueNotCompatibleWithPrimitiveReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 291 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.attemptToReturnValueNotCompatibleWithPrimitiveWrapperReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 308 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.attemptToReturnValueOfReferenceTypeNotAssignableToReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 359 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertArrayToStream(ExpectationsUsingReturnTypeConversionTest$Java8Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 695 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertCollectionToStream(ExpectationsUsingReturnTypeConversionTest$Java8Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 673 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertNumberValueToNarrowerNumericalReturnTypeWhenTheActualValueDoesNotFitTheReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 471 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertNumberValueToNarrowerNumericalReturnTypeWhenTheActualValueFitsTheReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 426 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertNumberValueToWiderNumericalReturnType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 372 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertRecordedTextualResultForMethodsWithEligibleReturnTypes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 520 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertSingleValueToStream(ExpectationsUsingReturnTypeConversionTest$Java8Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 651 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertTextualAndNumericalResultsToNumberSubtypes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 567 Medium
Method mockit.ExpectationsUsingReturnTypeConversionTest.convertValueToOptionalOfValue(ExpectationsUsingReturnTypeConversionTest$Java8Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 630 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$1

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 293 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$10

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getAtomicInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 577 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getAtomicLong() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 579 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getBigDecimal() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 569 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getBigInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 574 Medium
Double assignment of field ExpectationsUsingReturnTypeConversionTest$10.result in new mockit.ExpectationsUsingReturnTypeConversionTest$10(ExpectationsUsingReturnTypeConversionTest) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 571 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$11

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Java8Collaborator.getOptionalValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 632 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$12

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Java8Collaborator.getStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 653 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$13

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Java8Collaborator.getStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 675 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$14

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Java8Collaborator.getStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 697 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$2

Bug Category Details Line Priority
Method new mockit.ExpectationsUsingReturnTypeConversionTest$2(ExpectationsUsingReturnTypeConversionTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 311 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloatWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 310 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$3

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getBoolean() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 327 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$4

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getBooleanWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 344 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$5

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInputStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 361 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$6

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getChar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 397 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getCharacter() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 399 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getDouble() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 392 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getDoubleWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 395 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloat() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 387 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloatWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 390 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 378 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 380 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getLong() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 382 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getLongWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 385 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShort() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 374 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShortWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 376 Medium
Double assignment of field ExpectationsUsingReturnTypeConversionTest$6.result in new mockit.ExpectationsUsingReturnTypeConversionTest$6(ExpectationsUsingReturnTypeConversionTest) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 384 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$7

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByte() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 428 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByteWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 431 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getChar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 445 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getCharacter() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 447 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloat() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 441 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloatWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 443 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 437 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 439 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShort() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 433 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShortWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 435 Medium
Double assignment of field ExpectationsUsingReturnTypeConversionTest$7.result in new mockit.ExpectationsUsingReturnTypeConversionTest$7(ExpectationsUsingReturnTypeConversionTest) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 430 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$8

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByte() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 473 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByteWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 475 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getChar() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 489 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getCharacter() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 491 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloat() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 485 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getFloatWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 487 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInt() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 481 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 483 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShort() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 477 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getShortWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 479 Medium

mockit.ExpectationsUsingReturnTypeConversionTest$9

Bug Category Details Line Priority
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByteArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 528 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getByteArrayInputStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 526 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getInputStream() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 524 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getReader() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 530 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getStringBuilder() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 522 Medium
Return value of ExpectationsUsingReturnTypeConversionTest$Collaborator.getStringReader() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 532 Medium

mockit.ExpectationsWithArgMatchersTest

Bug Category Details Line Priority
Method mockit.ExpectationsWithArgMatchersTest.assertInvocationsWithArgumentsOfDifferentTypesToMethodAcceptingAnyObject() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 454 Medium
Method mockit.ExpectationsWithArgMatchersTest.assertInvocationsWithArgumentsOfDifferentTypesToMethodAcceptingAnyObject() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 455 Medium
Return value of ExpectationsWithArgMatchersTest$Collaborator.useObject(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 219 Medium
Method mockit.ExpectationsWithArgMatchersTest.declareFieldInExpectationBlockWithNameHavingSamePrefixAsArgumentMatchingField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 499 Medium
Method mockit.ExpectationsWithArgMatchersTest.declareMethodInExpectationBlockWithNameHavingSamePrefixAsArgumentMatchingMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 517 Medium
Method mockit.ExpectationsWithArgMatchersTest.declareMethodInExpectationBlockWithNameHavingSamePrefixAsArgumentMatchingMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 534 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationWithMatcherContainingAnotherMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 383 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationWithMatcherWhichInvokesMockedMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 577 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationWithSameMockInstanceButReplayWithNull(Certificate) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 560 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationsWithHamcrestMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 359 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationsWithHamcrestMatcher2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 371 Medium
Method mockit.ExpectationsWithArgMatchersTest.expectInvocationsWithNamedDelegateMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 347 Medium
Method mockit.ExpectationsWithArgMatchersTest.extendingAReusableArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 625 Medium
Method mockit.ExpectationsWithArgMatchersTest.recordExpectationWithDelegateWithoutTheParameterType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 270 Medium
Method mockit.ExpectationsWithArgMatchersTest.recordExpectationsUsingTheAnyFieldsForParameterOfTypeObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 415 Medium
Method mockit.ExpectationsWithArgMatchersTest.recordExpectationsUsingTheWithAnyMethodForParameterOfTypeObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 466 Medium
Method mockit.ExpectationsWithArgMatchersTest.useMockedMethodBeforeRecordingExpectationWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 399 Medium
Method mockit.ExpectationsWithArgMatchersTest.verifyExpectationNumericEqualityMatcherButFailToMatchOnReplay() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 205 Medium
Method mockit.ExpectationsWithArgMatchersTest.verifyExpectationUsingInequalityMatcherButFailToMatchOnReplay() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 240 Medium
Method mockit.ExpectationsWithArgMatchersTest.verifyExpectationUsingNumericEqualityMatcherButReplayWithNonNumericParameterType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 221 Medium
Method mockit.ExpectationsWithArgMatchersTest.verifyExpectationsUsingNumericEqualityMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 252 Medium

mockit.ExpectationsWithArgMatchersTest$10

Bug Category Details Line Priority
Method new mockit.ExpectationsWithArgMatchersTest$10(ExpectationsWithArgMatchersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 402 Medium
Return value of ExpectationsWithArgMatchersTest$Collaborator.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 401 Medium

mockit.ExpectationsWithArgMatchersTest$11

Bug Category Details Line Priority
Return value of ExpectationsWithArgMatchersTest$Collaborator.useObject(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 417 Medium

mockit.ExpectationsWithArgMatchersTest$12

Bug Category Details Line Priority
Method new mockit.ExpectationsWithArgMatchersTest$12(ExpectationsWithArgMatchersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 478 Medium
Return value of ExpectationsWithArgMatchersTest$Collaborator.useObject(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 468 Medium

mockit.ExpectationsWithArgMatchersTest$14

Bug Category Details Line Priority
Constructor new mockit.ExpectationsWithArgMatchersTest$14(ExpectationsWithArgMatchersTest, List) makes call to non-final method CORRECTNESS PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS 519 Medium

mockit.ExpectationsWithArgMatchersTest$17$1

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithArgMatchersTest$17$1.validateAsPositive(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 583-584 Medium

mockit.ExpectationsWithArgMatchersTest$2

Bug Category Details Line Priority
Return value of ExpectationsWithArgMatchersTest$Collaborator.useObject(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 223 Medium

mockit.ExpectationsWithArgMatchersTest$4

Bug Category Details Line Priority
Method new mockit.ExpectationsWithArgMatchersTest$4(ExpectationsWithArgMatchersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 255 Medium
Method new mockit.ExpectationsWithArgMatchersTest$4(ExpectationsWithArgMatchersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 257 Medium
Return value of ExpectationsWithArgMatchersTest$Collaborator.setValue(float) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 254 Medium

mockit.ExpectationsWithArgMatchersTest$5

Bug Category Details Line Priority
Return value of ExpectationsWithArgMatchersTest$Collaborator.useObject(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 272 Medium

mockit.ExpectationsWithArgMatchersTest$5$1

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithArgMatchersTest$5$1.delegate(Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 275 Medium

mockit.ExpectationsWithDuplicateRecordingsTest

Bug Category Details Line Priority
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordAmbiguousExpectationsUsingArgumentMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 158 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordAmbiguousExpectationsUsingTheSameMatcherButWithDifferentArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 309 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordMultipleNonStrictExpectationsWithSameDelegate() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 533 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordMultipleNonStrictExpectationsWithSameDelegate() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 542 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordOverlappingExpectationsWithSameMatcherForOneParameterAndDifferentArgumentsForAnother() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 504 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithArgumentsOrMatchersOfVaryingSpecificity() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 246 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithDisjunctiveArgumentMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 138 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithExactArgumentAndArgMatcherButInWrongOrderOfSpecificity() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 228 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithIdenticalArgumentMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 176 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithOpposingMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 291 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordSameMethodWithOverlappingArgumentMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 202 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordUnambiguousExpectationsUsingTheSameMatcherButWithDifferentArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 338 Medium
Method mockit.ExpectationsWithDuplicateRecordingsTest.recordUnambiguousExpectationsWithSameMatcherForOneParameterAndDifferentArgumentsForAnother() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 480 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$1

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$1(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 141 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$1(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 143 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 140 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$10

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long, Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 482 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$11

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long, Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 506 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$12

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$12.matches(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 529 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$13

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 535 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$14

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 544 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$2

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 160 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$3

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$3(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 179 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$3(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 181 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 178 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long, Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 183 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$4

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$4(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 205 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$4(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 207 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 204 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 209 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$5

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$5(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 231 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$5(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 233 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 230 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$6

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$6(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 254 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$6(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 256 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 258 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 253 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 263 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 248 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$7

Bug Category Details Line Priority
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 293 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$8

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$8(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 317 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$8(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 319 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 311 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 316 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9

Bug Category Details Line Priority
Method new mockit.ExpectationsWithDuplicateRecordingsTest$9(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 408 Medium
Method new mockit.ExpectationsWithDuplicateRecordingsTest$9(ExpectationsWithDuplicateRecordingsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 414 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 355 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 403 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 416 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(Long, Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 360 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 340 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 390 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.truncate(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 345 Medium
Return value of ExpectationsWithDuplicateRecordingsTest$Blah.truncate(float) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 350 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$1

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$1.matches(boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 392 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$2

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$2.matches(boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 398 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$3

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$3.matches(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 405 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$4

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$4.matches(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 411 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$5

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$5.matches(Long) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 418 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$9$6

Bug Category Details Line Priority
Uncallable method mockit.ExpectationsWithDuplicateRecordingsTest$9$6.matches(Long) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 424 Medium

mockit.ExpectationsWithDuplicateRecordingsTest$Blah

Bug Category Details Line Priority
Method mockit.ExpectationsWithDuplicateRecordingsTest$Blah.doSomething(int) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 113 Medium

mockit.ExpectationsWithInvocationCountsTest

Bug Category Details Line Priority
Method mockit.ExpectationsWithInvocationCountsTest.catchUnexpectedInvocationAndContinue(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 156 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtLeastOnceAndReplayTwice(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 240 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtLeastOneInvocationMatchingStrictExpectationButInvokeNone(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 445 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtLeastTwiceButReplayOnceWithSingleExpectation(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 261 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtLeastTwiceButReplayOnceWithTwoConsecutiveExpectations(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 279 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtMostOnceButReplayTwice(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 340 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectAtMostTwiceAndReplayOnce(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 320 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectExactlyTwiceButReplayMoreTimes(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 220 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectOnce(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 92 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectOnceButReplayMoreTimes(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 130 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectOnceButReplayTwice(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 109 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectOneOrMoreInvocationsFollowedByAnotherWhichWontOccur_maxTimes(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 463 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectOneOrMoreInvocationsFollowedByAnotherWhichWontOccur_minTimes(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 482 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectSameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 380 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectTwiceByUsingInvocationCount(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 179 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectTwiceByUsingInvocationCountButReplayOnlyOnce(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 200 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectTwoOrThreeTimes(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 401 Medium
Method mockit.ExpectationsWithInvocationCountsTest.expectZeroOrMoreTimesAndReplayTwice(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 423 Medium
Method mockit.ExpectationsWithInvocationCountsTest.repeatsAtLeastOverwritingUpperLimit(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 299 Medium
Method mockit.ExpectationsWithInvocationCountsTest.repeatsAtMostDoesNotOverwriteLowerLimit(ExpectationsWithInvocationCountsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 361 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 668 Medium
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 634 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.expectationWithMatcherInSecondLineAndConstantArgumentInThirdLine() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 803 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.expectationWithMatchersSpanningMultipleLines() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 789 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.expectationsWithPartialMatchersInEveryCombinationForMethodWithThreeParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 828 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.lambda$useMatcherOnlyForFirstArgumentWithUnexpectedReplayValue$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 401 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.lambda$useMatcherOnlyForLastArgumentWithUnexpectedReplayValue$2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 435 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.lambda$useMatcherOnlyForSecondArgumentWithUnexpectedReplayValue$1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 418 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordExpectationWithMatcherAndRegularArgumentMatchingMockedObjectInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 696 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordExpectationWithMatcherAndRegularArgumentMatchingMockedObjectInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 703 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordExpectationsForMockedObjectsInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 600 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordInstantiationExpectationsForMockedObjectsInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 757 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordVarargsExpectationWithMatcherAndRegularArgumentMatchingMockedObjectInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 728 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.recordVarargsExpectationWithMatcherAndRegularArgumentMatchingMockedObjectInstantiatedInsideSUT(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 735 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useAnyIntField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 468 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useAnyStringField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 482 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useMatcherOnlyForOneArgument() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 353 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useMatchersForParametersOfAllSizes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 448 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useMatchersInInvocationsToInterfaceMethods(ExpectationsWithSomeArgMatchersRecordedTest$Scheduler) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 579 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useSeveralAnyFields() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 501 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.useWithMethodsMixedWithAnyFields() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 541 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.verifyOrderedExpectationsForMockedObjectsInstantiatedInsideSUT() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 673 Medium
Method mockit.ExpectationsWithSomeArgMatchersRecordedTest.verifyUnorderedExpectationsForMockedObjectsInstantiatedInsideSUT() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 640 Medium
JUnit test method mockit.ExpectationsWithSomeArgMatchersRecordedTest.verifyUnorderedExpectationsForMockedObjectsInstantiatedInsideSUT() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_EQUALS 650 Medium
JUnit test method mockit.ExpectationsWithSomeArgMatchersRecordedTest.verifyUnorderedExpectationsForMockedObjectsInstantiatedInsideSUT() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_EQUALS 655 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$1

Bug Category Details Line Priority
Method new mockit.ExpectationsWithSomeArgMatchersRecordedTest$1(ExpectationsWithSomeArgMatchersRecordedTest, Object) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 366 Medium
Method new mockit.ExpectationsWithSomeArgMatchersRecordedTest$1(ExpectationsWithSomeArgMatchersRecordedTest, Object) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 368 Medium
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.anotherOperation(byte, Long) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 359 Medium
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticBooleanMethod(boolean, String, int[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 365 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$11

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 604 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$12

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 642 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$13

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 677 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$15

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency, String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 706 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$17

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency, String[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 738 Medium
Method new mockit.ExpectationsWithSomeArgMatchersRecordedTest$17(ExpectationsWithSomeArgMatchersRecordedTest, List) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 738 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$18

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.doSomething(ExpectationsWithSomeArgMatchersRecordedTest$Dependency) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 761 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$5

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.booleanValues(long, byte, double, short) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 451 Medium
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticLongValues(long, byte, double, short) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 453 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$7

Bug Category Details Line Priority
Return value of ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.setValue(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 484 Medium

mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator

Bug Category Details Line Priority
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 274 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 274 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 274 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticLongValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 167 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticLongValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 167 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticLongValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 167 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticLongValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 167 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 150 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 150 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 150 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 150 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticVoidMethod(long, char, double) has unused parameters STYLE UP_UNUSED_PARAMETER 259 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticVoidMethod(long, char, double) has unused parameters STYLE UP_UNUSED_PARAMETER 259 Medium
Static or private method mockit.ExpectationsWithSomeArgMatchersRecordedTest$Collaborator.staticVoidMethod(long, char, double) has unused parameters STYLE UP_UNUSED_PARAMETER 259 Medium

mockit.ExpectationsWithValuesToReturnTest

Bug Category Details Line Priority
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForCollectionAndListReturningMethodsUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 661 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForIterableReturningMethodUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 680 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordMultipleIteratorsToBeReturnedFromMethodThatReturnsIterator(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 787 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordMultipleListsToBeReturnedFromMethodThatReturnsList(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 817 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForArrayReturningMethodsUsingVarargs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 738 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForCollectionAndListReturningMethodsUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 650 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForIterableReturningMethodUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 672 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForIteratorReturningMethodUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 696 Medium
Method mockit.ExpectationsWithValuesToReturnTest.recordResultsForSetReturningMethodUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 718 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsDefaultValuesForArrayValuedReturnTypes(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 507 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsDefaultValuesForCollectionValuedReturnTypes(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 480 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsDefaultValuesForPrimitiveAndWrapperReturnTypes(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 431 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsMultipleValuesFromGenericMethod(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 630 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsMultipleValuesFromMethodWithReturnTypeOfObject(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 605 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsMultipleValuesInSequenceUsingVarargs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 547 Medium
Method mockit.ExpectationsWithValuesToReturnTest.returnsNonNullValueFollowedByNullUsingVarargs(ExpectationsWithValuesToReturnTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 584 Medium

mockit.ExpectationsWithValuesToReturnTest$1

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.doInternal() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 449 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getBooleanValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 447 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getBooleanWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 448 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getByteValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 435 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getByteWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 436 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getCharValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 445 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getCharacter() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 446 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getDoubleValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 443 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getDoubleWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 444 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getFloatValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 441 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getFloatWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 442 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getInteger() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 434 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getLongValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 439 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getLongWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 440 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 437 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 438 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 433 Medium

mockit.ExpectationsWithValuesToReturnTest$10

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 698 Medium

mockit.ExpectationsWithValuesToReturnTest$11

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 720 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getSortedSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 722 Medium

mockit.ExpectationsWithValuesToReturnTest$12

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getByteArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 744 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getByteWrapperArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 746 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getCharArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 748 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getDoubleArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 756 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getFloatArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 754 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getIntArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 740 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getLongArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 742 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 750 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortWrapperArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 752 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getStringArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 758 Medium

mockit.ExpectationsWithValuesToReturnTest$13

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 792 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getListIterator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 789 Medium

mockit.ExpectationsWithValuesToReturnTest$14

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getAList() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 819 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 822 Medium

mockit.ExpectationsWithValuesToReturnTest$2

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 482 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 483 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getMapItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 486 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 484 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getSortedMapItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 487 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getSortedSetItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 485 Medium

mockit.ExpectationsWithValuesToReturnTest$3

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getBooleanArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 519 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getByteArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 511 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getCharArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 518 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getDoubleArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 517 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getFloatArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 516 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getInt2Array() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 510 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getIntArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 509 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getLong2Array() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 515 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getLongArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 514 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 512 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortWrapperArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 513 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getString2Array() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 521 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getStringArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 520 Medium

mockit.ExpectationsWithValuesToReturnTest$4

Bug Category Details Line Priority
Method new mockit.ExpectationsWithValuesToReturnTest$4(ExpectationsWithValuesToReturnTest, Object[], ExpectationsWithValuesToReturnTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 550 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getBooleanValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 549 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getCharArray() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 555 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 551 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getShortWrapper() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 553 Medium

mockit.ExpectationsWithValuesToReturnTest$5

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 586 Medium

mockit.ExpectationsWithValuesToReturnTest$6

Bug Category Details Line Priority
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getObject() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 607 Medium

mockit.ExpectationsWithValuesToReturnTest$7

Bug Category Details Line Priority
Exception thrown in class mockit.ExpectationsWithValuesToReturnTest$7 at new mockit.ExpectationsWithValuesToReturnTest$7(ExpectationsWithValuesToReturnTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 632 Medium

mockit.ExpectationsWithValuesToReturnTest$8

Bug Category Details Line Priority
Method new mockit.ExpectationsWithValuesToReturnTest$8(ExpectationsWithValuesToReturnTest, ExpectationsWithValuesToReturnTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 655 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 652 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getListItems() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 654 Medium

mockit.ExpectationsWithValuesToReturnTest$9

Bug Category Details Line Priority
Method new mockit.ExpectationsWithValuesToReturnTest$9(ExpectationsWithValuesToReturnTest, ExpectationsWithValuesToReturnTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 675 Medium
Return value of ExpectationsWithValuesToReturnTest$Collaborator.getIterable() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 674 Medium

mockit.ExpectationsWithValuesToReturnTest$Collaborator

Bug Category Details Line Priority
Method mockit.ExpectationsWithValuesToReturnTest$Collaborator.getBooleanWrapper() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 185 Medium

mockit.ExpectationsWithVarArgsMatchersTest

Bug Category Details Line Priority
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithAnyNumberOfVariableArguments() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 184 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForAllParametersAndVarargsValuesButReplayWithDifferentVarargValue() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 563 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForRegularParametersAndAllVarargsValues() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 243 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForRegularParametersAndAllVarargsValues() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 244 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationsWithMatcherForVarargsParameterOnly() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 205 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationsWithNonNullRegularArgumentAndAnyVarargs() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 298 Medium
Non-virtual method call in mockit.ExpectationsWithVarArgsMatchersTest.expectationRecordedWithNotNullMatcherForVarargsParameter() passes null for non-null parameter of ExpectationsWithVarArgsMatchersTest$Collaborator.doSomething(int, Object[]) CORRECTNESS NP_NULL_PARAM_DEREF_NONVIRTUAL 586 High
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 162 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 228 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 180 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 563 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 243 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 309 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 297 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.doSomething(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 601 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 110 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationOnMethodWithVarargsArgumentUsingArgumentMatchers() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 155 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationOnVarargsMethodWithMatcherOnlyForRegularFirstParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 222 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithAnyNumberOfVariableArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 171 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForAllParametersAndVarargsValuesButReplayWithDifferentVarargValue() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 565 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForRegularParametersAndAllVarargsValues() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 236 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithMatchersForSomeRegularParametersAndAllForVarargs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 323 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithNoVarArgs(ExpectationsWithVarArgsMatchersTest$VarArgs) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 378 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithNonNullRegularArgumentAndAnyVarargsButReplayWithNull() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 311 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithNonPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest$ReferenceVarArgs) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 422 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 482 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithPrimitiveVarArgsUsingMatchers(ExpectationsWithVarArgsMatchersTest$MixedVarArgs) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 537 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationsWithMatcherForVarargsParameterOnly() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 194 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationsWithNonNullRegularArgumentAndAnyVarargs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 290 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectationRecordedWithNotNullMatcherForVarargsParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 577 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.recordExpectationsWithMatchersForSomeRegularParametersAndNoneForVarargs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 252 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.recordVarargsMethodWithRegularParameterUsingMatcherForVarargsOnly() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 595 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.replayVarargsMethodWithDifferentThanExpectedNonVarargsArgument() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 112 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.replayVarargsMethodWithDifferentThanExpectedNumberOfVarargsArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 124 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.replayVarargsMethodWithDifferentThanExpectedVarargsArgument() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 140 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithNoVarArgs(ExpectationsWithVarArgsMatchersTest$VarArgs) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 388 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithNoVarArgs(ExpectationsWithVarArgsMatchersTest$VarArgs) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 390 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 498 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 505 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectInvocationWithPrimitiveVarArgs(ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 506 Medium
Method mockit.ExpectationsWithVarArgsMatchersTest.expectationRecordedWithNotNullMatcherForVarargsParameter() passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 586 Medium

mockit.ExpectationsWithVarArgsMatchersTest$1

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 114 Medium

mockit.ExpectationsWithVarArgsMatchersTest$10

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 292 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$10(ExpectationsWithVarArgsMatchersTest) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 292 Medium

mockit.ExpectationsWithVarArgsMatchersTest$11

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 313 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$11(ExpectationsWithVarArgsMatchersTest) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 313 Medium

mockit.ExpectationsWithVarArgsMatchersTest$12

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.anotherOperation(int, boolean, String, String[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 325 Medium

mockit.ExpectationsWithVarArgsMatchersTest$15

Bug Category Details Line Priority
Method new mockit.ExpectationsWithVarArgsMatchersTest$15(ExpectationsWithVarArgsMatchersTest, ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs, String[], String[]) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 485 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$15(ExpectationsWithVarArgsMatchersTest, ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs, String[], String[]) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 492 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$15(ExpectationsWithVarArgsMatchersTest, ExpectationsWithVarArgsMatchersTest$PrimitiveVarArgs, String[], String[]) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 493 Medium

mockit.ExpectationsWithVarArgsMatchersTest$17

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 567 Medium

mockit.ExpectationsWithVarArgsMatchersTest$18

Bug Category Details Line Priority
Method new mockit.ExpectationsWithVarArgsMatchersTest$18(ExpectationsWithVarArgsMatchersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 580 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.doSomething(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 579 Medium

mockit.ExpectationsWithVarArgsMatchersTest$19

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.doSomething(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 597 Medium

mockit.ExpectationsWithVarArgsMatchersTest$4

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 157 Medium

mockit.ExpectationsWithVarArgsMatchersTest$5

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 173 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$5(ExpectationsWithVarArgsMatchersTest) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 173 Medium

mockit.ExpectationsWithVarArgsMatchersTest$6

Bug Category Details Line Priority
Method new mockit.ExpectationsWithVarArgsMatchersTest$6(ExpectationsWithVarArgsMatchersTest, List) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 201 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.anotherOperation(int, boolean, String, String[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 198 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 196 Medium
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.doSomething(int, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 200 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$6(ExpectationsWithVarArgsMatchersTest, List) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 196 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$6(ExpectationsWithVarArgsMatchersTest, List) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 198 Medium
Method new mockit.ExpectationsWithVarArgsMatchersTest$6(ExpectationsWithVarArgsMatchersTest, List) passes explicit null value to var arg parameter STYLE UVA_REMOVE_NULL_ARG 200 Medium

mockit.ExpectationsWithVarArgsMatchersTest$7

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 224 Medium

mockit.ExpectationsWithVarArgsMatchersTest$8

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.complexOperation(Object, Object[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 238 Medium

mockit.ExpectationsWithVarArgsMatchersTest$9

Bug Category Details Line Priority
Return value of ExpectationsWithVarArgsMatchersTest$Collaborator.anotherOperation(int, boolean, String, String[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 254 Medium

mockit.FakeClassInstantiationPerSetupTest

Bug Category Details Line Priority
Found reliance on default encoding in mockit.FakeClassInstantiationPerSetupTest.reentrantFakeForJREClass(): new java.util.Scanner(InputStream) I18N DM_DEFAULT_ENCODING 424 High
Method mockit.FakeClassInstantiationPerSetupTest.fakeInstancePerSetupInAllScopes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 376 Medium
Method mockit.FakeClassInstantiationPerSetupTest.reentrantFakeForJREClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 420 Medium
Method mockit.FakeClassInstantiationPerSetupTest.setUpAdditionalClassLevelFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 316 Medium
Method mockit.FakeClassInstantiationPerSetupTest.setUpClassLevelFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 308 Medium
Method mockit.FakeClassInstantiationPerSetupTest.setUpMethodLevelFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 325 Medium
Write to static field mockit.FakeClassInstantiationPerSetupTest$FakeClass3.singleInstanceCreated from instance method mockit.FakeClassInstantiationPerSetupTest.setUpMethodLevelFakes() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 324 High

mockit.FakeClassInstantiationPerSetupTest$FakeURL

Bug Category Details Line Priority
Found reliance on default encoding in mockit.FakeClassInstantiationPerSetupTest$FakeURL.openStream(Invocation): String.getBytes() I18N DM_DEFAULT_ENCODING 405 High
Method mockit.FakeClassInstantiationPerSetupTest$FakeURL.openStream(Invocation) encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 405 Medium
This web server request could be used by an attacker to expose internal services and filesystem. SECURITY URLCONNECTION_SSRF_FD 408 Medium

mockit.FakeForGenericsTest

Bug Category Details Line Priority
Method mockit.FakeForGenericsTest.fakeBothGenericAndNonGenericMethodsInGenericClass() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 173 Medium
Return value of FakeForGenericsTest$GenericBaseClass.find(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 228 Medium
Method mockit.FakeForGenericsTest.cannotCallGenericMethodWhenSomeFakeMethodExpectsDifferentTypes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 220 Medium
Method mockit.FakeForGenericsTest.fakeBothGenericAndNonGenericMethodsInGenericClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 160 Medium
Method mockit.FakeForGenericsTest.fakeGenericClassWithUnspecifiedTypeArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 125 Medium
Method mockit.FakeForGenericsTest.fakeGenericMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 43 Medium
Method mockit.FakeForGenericsTest.fakeGenericMethodFromInstantiationOfNonGenericSubclass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 252 Medium
Method mockit.FakeForGenericsTest.fakeGenericMethodFromInstantiationOfNonGenericSubclassWhichExtendsAGenericIntermediateSuperclass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 283 Medium
Method mockit.FakeForGenericsTest.fakeGenericMethodWithFakeMethodHavingParameterTypesMatchingTypeArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 204 Medium
Method mockit.FakeForGenericsTest.fakeGenericMethodsOfNonGenericClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 348 Medium

mockit.FakeForGenericsTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$1.genericMethod(Number) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 46 High

mockit.FakeForGenericsTest$2

Bug Category Details Line Priority
Method mockit.FakeForGenericsTest$2.aMethod(Object) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 131 Medium
Uncallable method mockit.FakeForGenericsTest$2.aMethod(Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 128-132 High
Uncallable method mockit.FakeForGenericsTest$2.anotherMethod(Object, int, Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 136-139 High

mockit.FakeForGenericsTest$3

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$3.anotherMethod(Integer, int, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 163 High
Uncallable method mockit.FakeForGenericsTest$3.anotherMethod(String, int, Boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 168 High

mockit.FakeForGenericsTest$4

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$4.find(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 207 High

mockit.FakeForGenericsTest$5

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$5.find(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 223 High

mockit.FakeForGenericsTest$6

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$6.find(Integer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 255 High

mockit.FakeForGenericsTest$7

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$7.find(Integer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 286 High

mockit.FakeForGenericsTest$8

Bug Category Details Line Priority
Uncallable method mockit.FakeForGenericsTest$8.instanceMethod(Class) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 360 High
Uncallable method mockit.FakeForGenericsTest$8.instanceMethod(Class, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 356 High
Uncallable method mockit.FakeForGenericsTest$8.staticMethod(Class, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 351 High

mockit.FakeForGenericsTest$NonGenericClassWithGenericMethods

Bug Category Details Line Priority
Static or private method mockit.FakeForGenericsTest$NonGenericClassWithGenericMethods.staticMethod(Class, String) has unused parameters STYLE UP_UNUSED_PARAMETER 313 Medium
Static or private method mockit.FakeForGenericsTest$NonGenericClassWithGenericMethods.staticMethod(Class, String) has unused parameters STYLE UP_UNUSED_PARAMETER 313 Medium

mockit.FakeInvocationProceedTest

Bug Category Details Line Priority
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodIntoRealMethodWithModifiedArguments() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 266 Medium
Null passed for non-null parameter of FakeInvocationProceedTest$ClassToBeFaked.anotherMethodToBeFaked(String, boolean, List) in mockit.FakeInvocationProceedTest.proceedConditionallyFromFakeMethod() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 204 Medium
Method mockit.FakeInvocationProceedTest.cannotProceedFromFakeMethodIntoNativeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 274 Medium
Method mockit.FakeInvocationProceedTest.proceedConditionallyFromFakeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 189 Medium
Method mockit.FakeInvocationProceedTest.proceedConditionallyFromFakeMethodIntoConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 310 Medium
Method mockit.FakeInvocationProceedTest.proceedConditionallyFromFakeMethodIntoJREConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 330 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodIntoConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 293 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodIntoMethodInheritedFromBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 348 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodIntoRealMethodWithModifiedArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 256 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodWhichThrowsCheckedException() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 222 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodWithParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 163 Medium
Method mockit.FakeInvocationProceedTest.proceedFromFakeMethodWithoutParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 148 Medium

mockit.FakeInvocationProceedTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$1.methodToBeMocked(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 151 High

mockit.FakeInvocationProceedTest$10

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$10.baseMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 351 High

mockit.FakeInvocationProceedTest$1FakeWhichModifiesArguments

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$1FakeWhichModifiesArguments.methodToBeFaked(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 252 High

mockit.FakeInvocationProceedTest$2

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$2.methodToBeFaked(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 166-167 High
Private method mockit.FakeInvocationProceedTest$2.methodToBeFaked(Invocation, int, Object[]) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 172-173 Medium
Static or private method mockit.FakeInvocationProceedTest$2.methodToBeFaked(Invocation, int, Object[]) has unused parameters STYLE UP_UNUSED_PARAMETER 172-173 Medium

mockit.FakeInvocationProceedTest$3

Bug Category Details Line Priority
mockit.FakeInvocationProceedTest$3.anotherMethodToBeFaked(Invocation, String, boolean, List): 4th parameter 'ints' could be declared as java.util.Collection instead STYLE OCP_OVERLY_CONCRETE_COLLECTION_PARAMETER 192 Medium
Uncallable method mockit.FakeInvocationProceedTest$3.anotherMethodToBeFaked(Invocation, String, boolean, List) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 192-197 High

mockit.FakeInvocationProceedTest$4

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$4.staticMethodToBeFaked(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 225-229 High

mockit.FakeInvocationProceedTest$5

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$5.methodToBeFaked(Invocation, int, Object[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 259-260 High

mockit.FakeInvocationProceedTest$6

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationProceedTest$6.nativeMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 277-279 High

mockit.FakeInvocationTest

Bug Category Details Line Priority
Null passed for non-null parameter of FakeInvocationTest$Collaborator.doSomething(boolean, int[], String) in mockit.FakeInvocationTest.fakeMethodsWithInvocationParameter() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 178 Medium
Return value of new FakeInvocationTest$Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 337 Medium
Method mockit.FakeInvocationTest.fakeConstructorUsingPublicFakeClassWithPublicFakeMethodHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 335 Medium
Method mockit.FakeInvocationTest.fakeConstructorUsingPublicFakeClassWithPublicFakeMethodHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 337 Medium
Method mockit.FakeInvocationTest.fakeMethodByNameOnly_usingAnonymousFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 300 Medium
Method mockit.FakeInvocationTest.fakeMethodByNameOnly_usingPublicFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 288 Medium
Method mockit.FakeInvocationTest.fakeMethodsForMethodsWithoutParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 128 Medium
Method mockit.FakeInvocationTest.fakeMethodsWithInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 156 Medium
Method mockit.FakeInvocationTest.instanceFakeMethodForStaticMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 138 Medium
Method mockit.FakeInvocationTest.useOfContextParametersForJREMethods() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 248 Medium

mockit.FakeInvocationTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationTest$1.staticMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 141-143 High

mockit.FakeInvocationTest$2

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationTest$2.doSomething(Invocation, boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 168-174 High

mockit.FakeInvocationTest$3

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationTest$3.exec(Invocation, String, String[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 251-255 High

mockit.FakeInvocationTest$4

Bug Category Details Line Priority
Uncallable method mockit.FakeInvocationTest$4.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 303-305 High

mockit.FakeInvocationTest$Collaborator

Bug Category Details Line Priority
Unread field: mockit.FakeInvocationTest$Collaborator.value PERFORMANCE URF_UNREAD_FIELD 38 Medium

mockit.FakeLoginContextTest

Bug Category Details Line Priority
Method mockit.FakeLoginContextTest.accessFakedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 156 Medium
Method mockit.FakeLoginContextTest.fakeJREClassWithStubs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 111 Medium
Method mockit.FakeLoginContextTest.fakeJREMethodAndConstructorUsingFakeClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 36 Medium
Method mockit.FakeLoginContextTest.fakeJREMethodAndConstructorWithFakeClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 86 Medium

mockit.FakeLoginContextTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakeLoginContextTest$1.login() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 94 High

mockit.FakeLoginContextTest$2

Bug Category Details Line Priority
Uncallable method mockit.FakeLoginContextTest$2.getSubject() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 182 High
Uncallable method mockit.FakeLoginContextTest$2.login(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 170-173 High
Uncallable method mockit.FakeLoginContextTest$2.logout() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 177-178 High

mockit.FakeLoginContextTest$ProceedingFakeLoginContext

Bug Category Details Line Priority
Return value of javax.security.auth.login.LoginContext.getSubject() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 258 Medium

mockit.FakedClassWithSuperClassTest

Bug Category Details Line Priority
Method mockit.FakedClassWithSuperClassTest.fakeOnlyInstancesOfTheClassSpecifiedToBeFaked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 64 Medium
Method mockit.FakedClassWithSuperClassTest.fakeOnlyInstancesOfTheClassSpecifiedToBeFaked_usingFakeMethodBridge() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 83 Medium

mockit.FakedClassWithSuperClassTest$3

Bug Category Details Line Priority
Uncallable method mockit.FakedClassWithSuperClassTest$3.doSomething() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 86 High

mockit.FakingBaseTypesTest

Bug Category Details Line Priority
Method mockit.FakingBaseTypesTest.applyFakeForAllTests() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 57 Medium
Method mockit.FakingBaseTypesTest.applyFakeForEachTest() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 108 Medium
Method mockit.FakingBaseTypesTest.fakeAllClassesImplementingAnInterfaceUsingNamedFakeWithInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 257 Medium
Method mockit.FakingBaseTypesTest.test3_fakeInterfaceImplementationClassesUsingAnonymousFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 191 Medium
Method mockit.FakingBaseTypesTest.test4_fakeConcreteSubclassesUsingAnonymousFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 363 Medium
Method mockit.FakingBaseTypesTest.test5_fakeInterfaceImplementationClassesUsingNamedFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 436 Medium
Method mockit.FakingBaseTypesTest.test6_fakeConcreteSubclassesUsingNamedFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 470 Medium
Method mockit.FakingBaseTypesTest.test7_fakeImplementationsOfGenericInterface() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 525 Medium
Method mockit.FakingBaseTypesTest.test8_excludeJREClassesFromFakingForSafety() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 553 Medium
Method mockit.FakingBaseTypesTest.applyFakeForAllTests() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 57-63 Medium
Method mockit.FakingBaseTypesTest.applyFakeForEachTest() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 108-114 Medium
Method mockit.FakingBaseTypesTest.test3_fakeInterfaceImplementationClassesUsingAnonymousFake() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 189-204 Medium
Method mockit.FakingBaseTypesTest.test4_fakeConcreteSubclassesUsingAnonymousFake() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 361-388 Medium
Method mockit.FakingBaseTypesTest.test7_fakeImplementationsOfGenericInterface() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 504-540 Medium
Method mockit.FakingBaseTypesTest.test8_excludeJREClassesFromFakingForSafety() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 553-571 Medium

mockit.FakingBaseTypesTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$1.perform() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 60 High

mockit.FakingBaseTypesTest$10

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$10.perform(Number) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 528 High

mockit.FakingBaseTypesTest$11

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$11.read(CharBuffer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 556 High

mockit.FakingBaseTypesTest$2

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$2.perform() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 111 High

mockit.FakingBaseTypesTest$3

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$3.perform(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 194 High

mockit.FakingBaseTypesTest$6

Bug Category Details Line Priority
Uncallable method mockit.FakingBaseTypesTest$6.perform(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 366 High
Uncallable method mockit.FakingBaseTypesTest$6.toBeFakedAsWell() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 371 High

mockit.FakingEverythingTest

Bug Category Details Line Priority
Return value of TargetClass.staticMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 85 Medium
Method mockit.FakingEverythingTest.fakeEveryMethodInClassHierarchy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 140 Medium
Method mockit.FakingEverythingTest.fakeEveryMethodInSingleClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 66 Medium
Method mockit.FakingEverythingTest.fakeEveryMethodInSingleClassWithAdviceOnly() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 121 Medium
Method mockit.FakingEverythingTest.publicAdviceMethodInPublicFakeClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 224 Medium
Method mockit.FakingEverythingTest.fakeEveryMethodInClassHierarchy() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 140-191 Medium

mockit.FakingEverythingTest$1

Bug Category Details Line Priority
Uncallable method mockit.FakingEverythingTest$1.validateSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 80-82 High

mockit.FakingEverythingTest$2

Bug Category Details Line Priority
Return value of TargetClass.doSomething(String, boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 91 Medium

mockit.FakingTest

Bug Category Details Line Priority
Method mockit.FakingTest.performActionOnFakeTearDown() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 408 Medium
Return value of new javax.swing.plaf.basic.BasicColorChooserUI$PropertyHandler(BasicColorChooserUI) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 330 Medium
Method mockit.FakingTest.anonymousFakeForJRESubclassHavingFakeMethodForJREMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 377 Medium
Method mockit.FakingTest.callFakeMethodFromAWTEventDispatchingThread() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 342 Medium
Method mockit.FakingTest.fakeAClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 48 Medium
Method mockit.FakingTest.fakeAGivenClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 100 Medium
Method mockit.FakingTest.fakeConstructorOfInnerClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 322 Medium
Method mockit.FakingTest.fakeConstructorOfInnerClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 330 Medium
Method mockit.FakingTest.fakeGivenClassUsingNamedFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 163 Medium
Method mockit.FakingTest.fakeSameClassTwiceUsingSeparateFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 301 Medium
Method mockit.FakingTest.fakeSameClassTwiceUsingSeparateFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 304 Medium
Method mockit.FakingTest.fakeUsingInvocationParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 204 Medium
Method mockit.FakingTest.fakeVarargsMethodWithProceedingFakeMethodWhichPassesReplacementArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 426 Medium
Method mockit.FakingTest.fakingOfAnnotatedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 272 Medium
Method mockit.FakingTest.lambda$attemptToApplyFakeWithoutTheTargetType$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 34 Medium
Method mockit.FakingTest.lambda$attemptToFakeClassAndInterfaceAtOnce$2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 182 Medium
Method mockit.FakingTest.lambda$attemptToFakeGivenClassButPassNull$1(Class) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 128 Medium
Method mockit.FakingTest.performActionOnFakeTearDown() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 409 Medium
Write to static field mockit.FakingTest.fakeTornDown from instance method mockit.FakingTest.performActionOnFakeTearDown() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 408 Medium
Method mockit.FakingTest.attemptToFakeClassAndInterfaceAtOnce() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 181-197 Medium

mockit.FakingTest$10

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$10.getComponentCount() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 345 High

mockit.FakingTest$11

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$11.getBank() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 380 High

mockit.FakingTest$12

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$12.command(Invocation, String[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 429-430 High

mockit.FakingTest$1Fake1

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$1Fake1.addNotify() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 299 High

mockit.FakingTest$2

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$2.getComponentCount() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 51 High

mockit.FakingTest$3

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$3.compareAndSet(Object, int, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 105-114 High

mockit.FakingTest$5

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$5.getName() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 185 High
Uncallable method mockit.FakingTest$5.run() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 190 High

mockit.FakingTest$6

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$6.getBaseline(Invocation, int, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 213 High

mockit.FakingTest$8

Bug Category Details Line Priority
Uncallable method mockit.FakingTest$8.getAccessibleContext() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 307 High

mockit.FakingTest$FakeWithActionOnTearDown

Bug Category Details Line Priority
Method mockit.FakingTest$FakeWithActionOnTearDown.onTearDown() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 399 Medium

mockit.FinalMockFieldsTest

Bug Category Details Line Priority
Method mockit.FinalMockFieldsTest.recordExpectationsOnConstructorOfFinalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 136 Medium
Method mockit.FinalMockFieldsTest.recordExpectationsOnConstructorOfFinalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 143 Medium
Method mockit.FinalMockFieldsTest.recordExpectationsOnFinalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 116 Medium
Method mockit.FinalMockFieldsTest.recordExpectationsOnInjectableFinalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 97 Medium
Method mockit.FinalMockFieldsTest.recordExpectationsOnStaticMethodAndConstructorOfFinalLocalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 197 Medium
Method mockit.FinalMockFieldsTest.recordExpectationsOnStaticMethodAndConstructorOfFinalLocalMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 207 Medium

mockit.FinalMockFieldsTest$1

Bug Category Details Line Priority
Return value of FinalMockFieldsTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 99 Medium

mockit.FinalMockFieldsTest$3

Bug Category Details Line Priority
Method new mockit.FinalMockFieldsTest$3(FinalMockFieldsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 138 Medium

mockit.FinalMockFieldsTest$4

Bug Category Details Line Priority
Return value of FinalMockFieldsTest$YetAnotherCollaborator.doSomethingStatic() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 201 Medium
Method new mockit.FinalMockFieldsTest$4(FinalMockFieldsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 199 Medium

mockit.FullVerificationsTest

Bug Category Details Line Priority
Method mockit.FullVerificationsTest.verifyAllInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 94 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsExceptThoseAlreadyVerifiedInAPreviousVerificationBlock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 172 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsExceptThoseAlreadyVerifiedInAPreviousVerificationBlock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 179 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithExtraVerification() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 354 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithInvocationCountMoreThanActual() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 414 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithInvocationCountOneLessThanActual() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 374 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithInvocationCountTwoLessThanActual() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 395 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithOneMissing() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 200 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithSomeOfThemRecorded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 116 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithSomeOfThemRecorded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 126 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithThoseRecordedAsExpectedToOccurVerifiedImplicitly() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 142 Medium
Method mockit.FullVerificationsTest.verifyAllInvocationsWithThoseRecordedAsExpectedToOccurVerifiedImplicitly() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 154 Medium
Method mockit.FullVerificationsTest.verifyInvocationThatIsAllowedToHappenAnyNumberOfTimesAndHappensOnce() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 260 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOccurredOnMockedDependencyWithOneHavingOccurred() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 431 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpected() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 440 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpected() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 447 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpected() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 461 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpectedWithOneHavingOccurred() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 473 Medium
Method mockit.FullVerificationsTest.verifyNoInvocationsOnMockedDependencyBeyondThoseRecordedAsExpectedWithOneHavingOccurred() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 486 Medium
Method mockit.FullVerificationsTest.verifyNoUnverifiedInvocationsWhenFirstInvocationOfMethodIsButSecondOneIsNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 500 Medium
Method mockit.FullVerificationsTest.verifyNoUnverifiedInvocationsWhenFirstInvocationOfMethodIsButSecondOneIsNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 514 Medium
Method mockit.FullVerificationsTest.verifyNoUnverifiedInvocationsWhenSecondInvocationOfMethodIsButFirstOneIsNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 527 Medium
Method mockit.FullVerificationsTest.verifyNoUnverifiedInvocationsWhenSecondInvocationOfMethodIsButFirstOneIsNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 537 Medium
Method mockit.FullVerificationsTest.verifyRecordedInvocationThatIsAllowedToHappenAnyNoOfTimesAndDoesNotHappen() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 278 Medium
Method mockit.FullVerificationsTest.verifyRecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 327 Medium
Method mockit.FullVerificationsTest.verifyRecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 336 Medium
Method mockit.FullVerificationsTest.verifyUnrecordedInvocationThatIsAllowedToHappenAnyNoOfTimesAndDoesNotHappen() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 296 Medium
Method mockit.FullVerificationsTest.verifyUnrecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 315 Medium
Method mockit.FullVerificationsTest.verifyUnrecordedInvocationThatShouldNotHappenButDoes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 242 Medium
Method mockit.FullVerificationsTest.verifyUnrecordedInvocationThatWasExpectedToNotHappen() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 220 Medium

mockit.FullVerificationsTest$2

Bug Category Details Line Priority
Method new mockit.FullVerificationsTest$2(FullVerificationsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 119 Medium

mockit.FullVerificationsTest$4

Bug Category Details Line Priority
Method new mockit.FullVerificationsTest$4(FullVerificationsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 147 Medium

mockit.GenericMockedTypesTest

Bug Category Details Line Priority
Method mockit.GenericMockedTypesTest.cascadingClassWithNameStartingWithAnotherMockedClass(GenericMockedTypesTest$Collaborator, GenericMockedTypesTest$Collaborator2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 337 Medium
Method mockit.GenericMockedTypesTest.invokeGenericBaseInterfaceMethodThatIsOverriddenInMockedSubInterface(GenericMockedTypesTest$SubInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 638 Medium
Method mockit.GenericMockedTypesTest.mockGenericAbstractClass(Dictionary) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 76 Medium
Method mockit.GenericMockedTypesTest.mockGenericInterfaces(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 39 Medium
Method mockit.GenericMockedTypesTest.mockRawMapInterface(Map) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 88 Medium
Method mockit.GenericMockedTypesTest.recordGenericInterfaceMethodWithReturnTypeGivenByTypeParameterDependentOnAnotherTypeParameterOfSameName(GenericMockedTypesTest$DerivedGenericInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 565 Medium
Method mockit.GenericMockedTypesTest.resultFromGenericMethodsOfNonGenericInterface(GenericMockedTypesTest$NonGenericInterfaceWithGenericMethods) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 187 Medium

mockit.GenericMockedTypesTest$1

Bug Category Details Line Priority
Exception thrown in class mockit.GenericMockedTypesTest$1 at new mockit.GenericMockedTypesTest$1(GenericMockedTypesTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 41 Medium

mockit.GenericMockedTypesTest$3

Bug Category Details Line Priority
Return value of java.util.Map.get(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 90 Medium

mockit.GenericMockedTypesTest$5

Bug Category Details Line Priority
Return value of GenericMockedTypesTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 339 Medium

mockit.InjectableFieldTest

Bug Category Details Line Priority
Method mockit.InjectableFieldTest.cascadeOneLevel() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 120 Medium
Method mockit.InjectableFieldTest.overrideExpectationRecordedInBeforeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium
Method mockit.InjectableFieldTest.partiallyMockInstanceWithoutAffectingInjectableInstances() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 157 Medium
Method mockit.InjectableFieldTest.recordCommonExpectations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 94 Medium

mockit.InjectableFieldTest$1

Bug Category Details Line Priority
Return value of InjectableFieldTest$Base.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 96 Medium
Return value of InjectableFieldTest$Foo.getAnotherValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 98 Medium

mockit.InjectableFieldTest$3

Bug Category Details Line Priority
Return value of InjectableFieldTest$Foo.getAnotherValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 141 Medium

mockit.InjectableFieldTest$4

Bug Category Details Line Priority
Return value of InjectableFieldTest$Foo.doSomethingElse() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 161 Medium
Return value of InjectableFieldTest$Foo.getAnotherValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 159 Medium

mockit.InjectableFieldTest$Foo

Bug Category Details Line Priority
Method mockit.InjectableFieldTest$Foo.getBooleanValue() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 63 Medium

mockit.InjectableParameterTest

Bug Category Details Line Priority

mockit.InstanceSpecificMockingTest

Bug Category Details Line Priority
Found reliance on default encoding in mockit.InstanceSpecificMockingTest.mockByteBufferAsInjectable(ByteBuffer): String.getBytes() I18N DM_DEFAULT_ENCODING 258 High
Method mockit.InstanceSpecificMockingTest.mockByteBufferAsInjectable(ByteBuffer) encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 258 Medium
mockit.InstanceSpecificMockingTest.concatenateInputStreams(InputStream, InputStream) ignores result of java.io.InputStream.read(byte[]) BAD_PRACTICE RR_NOT_CHECKED 398 Medium
Method mockit.InstanceSpecificMockingTest.allowInjectableMockOfAnnotationType(RunWith) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 220 Medium
Method mockit.InstanceSpecificMockingTest.allowInjectableMockOfInterfaceType(Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 203 Medium
Method mockit.InstanceSpecificMockingTest.concatenateInputStreams(InputStream, InputStream) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 387 Medium
Method mockit.InstanceSpecificMockingTest.mockByteBufferAsInjectable(ByteBuffer) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 246 Medium
Method mockit.InstanceSpecificMockingTest.mockByteBufferRegularly(ByteBuffer) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 275 Medium
Method mockit.InstanceSpecificMockingTest.mockSpecificInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium
Method mockit.InstanceSpecificMockingTest.useASecondMockInstanceOfTheSameType(InstanceSpecificMockingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 171 Medium

mockit.InstanceSpecificMockingTest$1

Bug Category Details Line Priority
Method new mockit.InstanceSpecificMockingTest$1(InstanceSpecificMockingTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 142 Medium
Return value of InstanceSpecificMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 143 Medium
Return value of InstanceSpecificMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 141 Medium

mockit.InstanceSpecificMockingTest$2

Bug Category Details Line Priority
Return value of InstanceSpecificMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 173 Medium

mockit.InstanceSpecificMockingTest$5

Bug Category Details Line Priority
Found reliance on default encoding in new mockit.InstanceSpecificMockingTest$5(InstanceSpecificMockingTest, ByteBuffer): String.getBytes() I18N DM_DEFAULT_ENCODING 252 High
Method new mockit.InstanceSpecificMockingTest$5(InstanceSpecificMockingTest, ByteBuffer) encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 252 Medium
Method new mockit.InstanceSpecificMockingTest$5(InstanceSpecificMockingTest, ByteBuffer) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 249 Medium

mockit.InstanceSpecificMockingTest$7

Bug Category Details Line Priority
Exception thrown in class mockit.InstanceSpecificMockingTest$7 at new mockit.InstanceSpecificMockingTest$7(InstanceSpecificMockingTest, InputStream, InputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 389 Medium

mockit.InstanceSpecificMockingTest$Collaborator

Bug Category Details Line Priority
Static or private method mockit.InstanceSpecificMockingTest$Collaborator.doSomething(boolean, String) has unused parameters STYLE UP_UNUSED_PARAMETER 90 Medium
Static or private method mockit.InstanceSpecificMockingTest$Collaborator.doSomething(boolean, String) has unused parameters STYLE UP_UNUSED_PARAMETER 90 Medium

mockit.Invocation

Bug Category Details Line Priority
mockit.Invocation.getInvokedArguments() may expose internal representation by returning Invocation.invokedArguments MALICIOUS_CODE EI_EXPOSE_REP 99 Medium
Class mockit.Invocation has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 56-154 Medium

mockit.InvocationBlocksWithTimesFieldsTest

Bug Category Details Line Priority
Method mockit.InvocationBlocksWithTimesFieldsTest.expectAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 141 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 204 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 182 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectAtMostZero(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 225 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 243 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectSameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 282 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 98 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 121 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.expectTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 302 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 263 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 161 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 495 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 395 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 373 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 438 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 415 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyAtMostZero(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 455 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 475 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifySameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 516 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 330 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 352 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 537 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyZeroOrMoreTimesAndReplayNone(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 580 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.ordered_verifyZeroOrMoreTimesAndReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 562 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_maxTimesDoesNotOverwriteMinTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 769 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_minTimesAndMaxTimesOutOfOrder(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 669 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyAtLeastOnceAndReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 647 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyAtMostOnceButReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 712 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyAtMostTwiceAndReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 689 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyAtMostZero(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 729 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyAtMostZeroButReplayOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 749 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyOneOrMoreTimesAndReplayTwice(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 835 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifySameMethodOnceOrTwiceThenOnceButReplayEachExpectationOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 790 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyTwiceByUsingInvocationCount(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 604 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyTwiceByUsingInvocationCountButReplayOnlyOnce(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 626 Medium
Method mockit.InvocationBlocksWithTimesFieldsTest.unordered_verifyTwoOrThreeTimes(InvocationBlocksWithTimesFieldsTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 811 Medium

mockit.InvocationBlocksWithTimesFieldsTest$15

Bug Category Details Line Priority

mockit.InvocationBlocksWithTimesFieldsTest$19

Bug Category Details Line Priority

mockit.Invocations

Bug Category Details Line Priority
new mockit.Invocations() invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 109 Medium
Method new mockit.Invocations() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 245 Medium
Non-null field currentPhase is not initialized by new mockit.Invocations() CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 44-325 Medium
Unread public/protected field: mockit.Invocations.maxTimes STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 478 Medium
Unread public/protected field: mockit.Invocations.minTimes STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 399 Medium
Unread public/protected field: mockit.Invocations.times STYLE URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD 263 Medium
Method mockit.Invocations.withArgThat(Matcher) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 402 Medium

mockit.IterableDITest

Bug Category Details Line Priority

mockit.JREMockingTest

Bug Category Details Line Priority
Found reliance on default encoding in mockit.JREMockingTest.dynamicMockingOfFileOutputStreamThroughMockField(): String.getBytes() I18N DM_DEFAULT_ENCODING 173 High
Method mockit.JREMockingTest.dynamicMockingOfFileOutputStreamThroughMockField() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 173 Medium
Method mockit.JREMockingTest.dynamicMockingOfAnnotatedJREMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 136 Medium
Method mockit.JREMockingTest.dynamicMockingOfFileOutputStreamThroughMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 166 Medium
Method mockit.JREMockingTest.dynamicMockingOfFileOutputStreamThroughMockField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 176 Medium
Method mockit.JREMockingTest.fakingOfCalendar() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 92 Medium
Method mockit.JREMockingTest.mockingFileAndRecordingExpectationToMatchOnSpecificConstructorCall(File) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 67 Medium
Method mockit.JREMockingTest.mockingOfFile(File) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 48 Medium

mockit.JREMockingTest$1

Bug Category Details Line Priority
Method new mockit.JREMockingTest$1(JREMockingTest, File) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 51 Medium

mockit.JREMockingTest$2

Bug Category Details Line Priority
Method new mockit.JREMockingTest$2(JREMockingTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 70 Medium

mockit.JREMockingTest$3

Bug Category Details Line Priority
Uncallable method mockit.JREMockingTest$3.getInstance(Invocation, TimeZone) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 95 High

mockit.JREMockingTest$5

Bug Category Details Line Priority
Exception thrown in class mockit.JREMockingTest$5 at new mockit.JREMockingTest$5(JREMockingTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 169 Medium

mockit.JREMockingTest$6

Bug Category Details Line Priority
Exception thrown in class mockit.JREMockingTest$6 at new mockit.JREMockingTest$6(JREMockingTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 178 Medium

mockit.JUnit4ParametersTest

Bug Category Details Line Priority
Method mockit.JUnit4ParametersTest.useParameters(Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 70 Medium
Method mockit.JUnit4ParametersTest.useParameters(Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 85 Medium

mockit.JUnit4ParametersTest$1

Bug Category Details Line Priority
Method new mockit.JUnit4ParametersTest$1(JUnit4ParametersTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 73 Medium
Return value of mockit.integration.MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 72 Medium

mockit.MisusedFakingAPITest

Bug Category Details Line Priority
Method mockit.MisusedFakingAPITest.applyTheSameFakeForAClassTwice() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 81 Medium
Method mockit.MisusedFakingAPITest.applyTheSameFakeForAClassTwice() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 82 Medium
Method mockit.MisusedFakingAPITest.fakeAPrivateConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 107 Medium
Method mockit.MisusedFakingAPITest.fakeAPrivateMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 93 Medium
Method mockit.MisusedFakingAPITest.fakeSameMethodTwiceWithReentrantFakesFromTwoDifferentFakeClasses() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 20 Medium
Method mockit.MisusedFakingAPITest.fakeSameMethodTwiceWithReentrantFakesFromTwoDifferentFakeClasses() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 31 Medium

mockit.MisusedFakingAPITest$1

Bug Category Details Line Priority
Uncallable method mockit.MisusedFakingAPITest$1.getComponentCount(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 23-24 High

mockit.MisusedFakingAPITest$2

Bug Category Details Line Priority
Uncallable method mockit.MisusedFakingAPITest$2.getComponentCount(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 34-35 High

mockit.MisusedFakingAPITest$3

Bug Category Details Line Priority
Uncallable method mockit.MisusedFakingAPITest$3.checkCoalescing() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 96 High

mockit.MisusedMockingAPITest

Bug Category Details Line Priority
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 169 Medium
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 196 Medium
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 207 Medium
Return value of MisusedMockingAPITest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 208 Medium
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 228 Medium
Return value of MisusedMockingAPITest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 226 Medium
Method mockit.MisusedMockingAPITest.recordDuplicateInvocationInSeparateExpectationBlocks() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 136 Medium
Method mockit.MisusedMockingAPITest.recordDuplicateInvocationInSeparateExpectationBlocks() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 142 Medium
Method mockit.MisusedMockingAPITest.recordDuplicateInvocationWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 120 Medium
Method mockit.MisusedMockingAPITest.recordDuplicateInvocationWithNoArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 102 Medium
Method mockit.MisusedMockingAPITest.recordExpectationAfterInvokingSameMethodInReplayPhase() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 84 Medium
Method mockit.MisusedMockingAPITest.recordMockInstanceForConstructorExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 162 Medium
Method mockit.MisusedMockingAPITest.recordMockInstanceForConstructorExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 169 Medium
Method mockit.MisusedMockingAPITest.recordUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 183 Medium
Method mockit.MisusedMockingAPITest.recordUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 196 Medium
Method mockit.MisusedMockingAPITest.verifyOrderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 207 Medium
Method mockit.MisusedMockingAPITest.verifyOrderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 210 Medium
Method mockit.MisusedMockingAPITest.verifyUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 228 Medium
Method mockit.MisusedMockingAPITest.verifyUnorderedInstantiationOfClassMockedTwice(MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 230 Medium

mockit.MisusedMockingAPITest$1

Bug Category Details Line Priority
Return value of MisusedMockingAPITest$Blah.value() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 86 Medium

mockit.MisusedMockingAPITest$2

Bug Category Details Line Priority
Return value of MisusedMockingAPITest$Blah.value() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 104 Medium

mockit.MisusedMockingAPITest$4

Bug Category Details Line Priority
Return value of MisusedMockingAPITest$Blah.value() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 138 Medium

mockit.MisusedMockingAPITest$5

Bug Category Details Line Priority
Return value of MisusedMockingAPITest$Blah.value() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 144 Medium

mockit.MisusedMockingAPITest$6

Bug Category Details Line Priority
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 164 Medium
Method new mockit.MisusedMockingAPITest$6(MisusedMockingAPITest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 164 Medium

mockit.MisusedMockingAPITest$7

Bug Category Details Line Priority
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 185 Medium
Return value of MisusedMockingAPITest$Blah.value() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 187 Medium
Method new mockit.MisusedMockingAPITest$7(MisusedMockingAPITest, MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 185 Medium

mockit.MisusedMockingAPITest$8

Bug Category Details Line Priority
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 212 Medium
Return value of MisusedMockingAPITest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 213 Medium
Method new mockit.MisusedMockingAPITest$8(MisusedMockingAPITest, MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 212 Medium

mockit.MisusedMockingAPITest$9

Bug Category Details Line Priority
Return value of new MisusedMockingAPITest$Blah() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 233 Medium
Return value of MisusedMockingAPITest$Blah.doSomething(boolean) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 232 Medium
Method new mockit.MisusedMockingAPITest$9(MisusedMockingAPITest, MisusedMockingAPITest$Blah) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 233 Medium

mockit.MisusedMockingAPITest$Blah

Bug Category Details Line Priority
Unread field: mockit.MisusedMockingAPITest$Blah.name; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 27 Medium

mockit.MockAnnotationsTest

Bug Category Details Line Priority
Non derivable method mockit.MockAnnotationsTest.mockNativeMethodInClassWithoutRegisterNatives() declares throwing an exception that isn't thrown CORRECTNESS BED_BOGUS_EXCEPTION_DECLARATION 414 Medium
Return value of new MockAnnotationsTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 307 Medium
Return value of MockAnnotationsTest$Collaborator.doInternal() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 322 Medium
Method mockit.MockAnnotationsTest.concurrentMock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 696 Medium
Method mockit.MockAnnotationsTest.lambda$attemptToSetUpMockForClassLackingAMatchingRealMethod$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 122 Medium
Method mockit.MockAnnotationsTest.lambda$setUpMockWithMinInvocationsExpectationButFailIt$1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 236 Medium
Method mockit.MockAnnotationsTest.mockAbstractClassWithMockForAbstractMethodHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 594 Medium
Method mockit.MockAnnotationsTest.mockGenericClassWithMockUpHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 665 Medium
Method mockit.MockAnnotationsTest.mockStaticInitializer() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 473 Medium
Method mockit.MockAnnotationsTest.mockUpAffectsInstancesOfSpecifiedSubclassAndNotOfBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 726 Medium
Method mockit.MockAnnotationsTest.mockWithNoExpectationsPassingMockInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 113 Medium
Method mockit.MockAnnotationsTest.setUpMockForConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 305 Medium
Method mockit.MockAnnotationsTest.setUpMockForConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 307 Medium
Method mockit.MockAnnotationsTest.setUpMockForStaticMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 319 Medium
Method mockit.MockAnnotationsTest.setUpMockForSubclassConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 334 Medium
Method mockit.MockAnnotationsTest.setUpMockForSubclassConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 336 Medium
Method mockit.MockAnnotationsTest.setUpMockWithInvocationsExpectationButFailIt() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 266 Medium
Method mockit.MockAnnotationsTest.setUpMockWithMaxInvocationsExpectationButFailIt() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 250 Medium
Method mockit.MockAnnotationsTest.setUpMocksContainingExpectations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 199 Medium
Method mockit.MockAnnotationsTest.setUpMocksForClassHierarchy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 362 Medium
Method mockit.MockAnnotationsTest.setUpMocksFromInnerMockClassWithMockConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 176 Medium
Method mockit.MockAnnotationsTest.setUpReentrantMock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 284 Medium
Method mockit.MockAnnotationsTest.stubOutStaticInitializer() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 497 Medium
Method mockit.MockAnnotationsTest.stubOutStaticInitializerWithEmptyMockClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 531 Medium
Method mockit.MockAnnotationsTest.stubbedOutAnnotatedMethodInMockedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 678 Medium
Useless object created in method mockit.MockAnnotationsTest.lambda$setUpMockWithMaxInvocationsExpectationButFailIt$2() STYLE UC_USELESS_OBJECT_STACK 252 Medium
Method mockit.MockAnnotationsTest.mockAbstractClassWithMockForAbstractMethodHavingInvocationParameter() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 587-605 Medium

mockit.MockAnnotationsTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$1.method(int[], Long, String[][], Long[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 166-167 High

mockit.MockAnnotationsTest$10

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$10.call(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 650 High

mockit.MockAnnotationsTest$11

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$11.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 668 High

mockit.MockAnnotationsTest$12

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$12.getThreadSpecificValue(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 699 High

mockit.MockAnnotationsTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$2.getValue(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 377-382 High
Uncallable method mockit.MockAnnotationsTest$2.provideSomeService(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 371-373 High

mockit.MockAnnotationsTest$4

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$4.handle(Callback[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 556-558 High

mockit.MockAnnotationsTest$5

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$5.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 573-574 High

mockit.MockAnnotationsTest$7

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$7.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 597-600 High

mockit.MockAnnotationsTest$8

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$8.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 618 High

mockit.MockAnnotationsTest$9

Bug Category Details Line Priority
Uncallable method mockit.MockAnnotationsTest$9.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 632-638 High

mockit.MockAnnotationsTest$ClassWithStaticInitializers

Bug Category Details Line Priority
Method mockit.MockAnnotationsTest$ClassWithStaticInitializers.<static initializer for ClassWithStaticInitializers>() prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 466 Medium

mockit.MockAnnotationsTest$Collaborator

Bug Category Details Line Priority
Private or static method mockit.MockAnnotationsTest$Collaborator.doInternal() only returns one constant value STYLE MRC_METHOD_RETURNS_CONSTANT 76 Medium

mockit.MockAnnotationsTest$MockFloat

Bug Category Details Line Priority
Static or private method mockit.MockAnnotationsTest$MockFloat.intBitsToFloat(int) has unused parameters STYLE UP_UNUSED_PARAMETER 427 Medium

mockit.MockAnnotationsTest$SubCollaborator

Bug Category Details Line Priority
Exception thrown in class mockit.MockAnnotationsTest$SubCollaborator at new mockit.MockAnnotationsTest$SubCollaborator(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 341 Medium

mockit.MockInstanceMatchingTest

Bug Category Details Line Priority
Null passed for non-null parameter of java.util.concurrent.AbstractExecutorService.execute(Runnable) in mockit.MockInstanceMatchingTest.verifyExpectationsMatchingOnMultipleMockParametersButReplayedOutOfOrder(AbstractExecutorService, AbstractExecutorService) CORRECTNESS NP_NONNULL_PARAM_VIOLATION 340 High
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 305 Medium
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 129 Medium
Method mockit.MockInstanceMatchingTest.matchOnMockInstance(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 66 Medium
Method mockit.MockInstanceMatchingTest.matchOnTwoMockInstances(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 259 Medium
Method mockit.MockInstanceMatchingTest.matchOnTwoMockInstancesAndReplayInDifferentOrder(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 282 Medium
Method mockit.MockInstanceMatchingTest.matchOnTwoMockInstancesForOtherwiseIdenticalExpectations(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 310 Medium
Method mockit.MockInstanceMatchingTest.matchOnTwoMockInstancesForOtherwiseIdenticalExpectations(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 319 Medium
Method mockit.MockInstanceMatchingTest.recordExpectationMatchingOnInstanceCreatedInsideCodeUnderTest() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 356 Medium
Method mockit.MockInstanceMatchingTest.recordExpectationsMatchingOnMultipleMockInstances(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 173 Medium
Method mockit.MockInstanceMatchingTest.recordExpectationsOnTwoInstancesOfSameMockedInterface(DataSource, DataSource, Attr) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 382 Medium
Method mockit.MockInstanceMatchingTest.recordExpectationsOnTwoInstancesOfSameMockedInterface(DataSource, DataSource, Attr) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 396 Medium
Method mockit.MockInstanceMatchingTest.recordOnMockInstanceButReplayOnDifferentInstance(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 90 Medium
Method mockit.MockInstanceMatchingTest.recordOnSpecificMockInstancesButReplayOnDifferentOnes(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 198 Medium
Method mockit.MockInstanceMatchingTest.verifyExpectationMatchingOnMockInstance(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 112 Medium
Method mockit.MockInstanceMatchingTest.verifyExpectationsMatchingOnMultipleMockInstances(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 221 Medium
Method mockit.MockInstanceMatchingTest.verifyExpectationsMatchingOnMultipleMockParametersButReplayedOutOfOrder(AbstractExecutorService, AbstractExecutorService) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 343 Medium
Method mockit.MockInstanceMatchingTest.verifyExpectationsOnSameMethodCallForDifferentMockedInstances(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 134 Medium
Method mockit.MockInstanceMatchingTest.verifyOnMockInstanceButReplayOnDifferentInstance(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 158 Medium
Method mockit.MockInstanceMatchingTest.verifyOnSpecificMockInstancesButReplayOnDifferentOnes(MockInstanceMatchingTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 243 Medium
Method mockit.MockInstanceMatchingTest.verifyingCallsOnSpecificInstancesOfDifferentSubclasses(MockInstanceMatchingTest$SubclassA, MockInstanceMatchingTest$SubclassA, MockInstanceMatchingTest$SubclassB) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 456 Medium
Useless object created in method mockit.MockInstanceMatchingTest.verifyExpectationMatchingOnMockInstance(MockInstanceMatchingTest$Collaborator) STYLE UC_USELESS_OBJECT_STACK 109 Medium
Useless object created in method mockit.MockInstanceMatchingTest.verifyOnMockInstanceButReplayOnDifferentInstance(MockInstanceMatchingTest$Collaborator) STYLE UC_USELESS_OBJECT_STACK 156 Medium

mockit.MockInstanceMatchingTest$1

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 68 Medium

mockit.MockInstanceMatchingTest$10

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 261 Medium

mockit.MockInstanceMatchingTest$11

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 284 Medium

mockit.MockInstanceMatchingTest$12

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 312 Medium

mockit.MockInstanceMatchingTest$15

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 358 Medium

mockit.MockInstanceMatchingTest$16

Bug Category Details Line Priority
Exception thrown in class mockit.MockInstanceMatchingTest$16 at new mockit.MockInstanceMatchingTest$16(MockInstanceMatchingTest, DataSource, DataSource) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 384 Medium

mockit.MockInstanceMatchingTest$17

Bug Category Details Line Priority
Exception thrown in class mockit.MockInstanceMatchingTest$17 at new mockit.MockInstanceMatchingTest$17(MockInstanceMatchingTest, DataSource) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 398 Medium

mockit.MockInstanceMatchingTest$2

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 92 Medium

mockit.MockInstanceMatchingTest$4

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 136 Medium

mockit.MockInstanceMatchingTest$6

Bug Category Details Line Priority
Return value of MockInstanceMatchingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 175 Medium

mockit.MockInvocationProceedTest

Bug Category Details Line Priority
Null passed for non-null parameter of MockInvocationProceedTest$ClassToBeMocked.anotherMethodToBeMocked(String, boolean, List) in mockit.MockInvocationProceedTest.proceedConditionallyFromMockMethod() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 124 Medium
Method mockit.MockInvocationProceedTest.cannotProceedFromMockMethodIntoNativeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 160 Medium
Method mockit.MockInvocationProceedTest.proceedConditionallyFromMockMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 109 Medium
Method mockit.MockInvocationProceedTest.proceedConditionallyFromMockMethodIntoConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 190 Medium
Method mockit.MockInvocationProceedTest.proceedConditionallyFromMockMethodIntoJREConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 207 Medium
Method mockit.MockInvocationProceedTest.proceedFromMockMethodIntoConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 176 Medium
Method mockit.MockInvocationProceedTest.proceedFromMockMethodIntoMethodInheritedFromBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 222 Medium
Method mockit.MockInvocationProceedTest.proceedFromMockMethodWhichThrowsCheckedException() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 136 Medium
Method mockit.MockInvocationProceedTest.proceedFromMockMethodWithParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 86 Medium
Method mockit.MockInvocationProceedTest.proceedFromMockMethodWithoutParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 74 Medium

mockit.MockInvocationProceedTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationProceedTest$1.methodToBeMocked(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 77 High

mockit.MockInvocationProceedTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationProceedTest$2.methodToBeMocked(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 89-90 High
Private method mockit.MockInvocationProceedTest$2.methodToBeMocked(Invocation, int, Object[]) is never called PERFORMANCE UPM_UNCALLED_PRIVATE_METHOD 95-96 Medium
Static or private method mockit.MockInvocationProceedTest$2.methodToBeMocked(Invocation, int, Object[]) has unused parameters STYLE UP_UNUSED_PARAMETER 95-96 Medium

mockit.MockInvocationProceedTest$3

Bug Category Details Line Priority
mockit.MockInvocationProceedTest$3.anotherMethodToBeMocked(Invocation, String, boolean, List): 4th parameter 'ints' could be declared as java.util.Collection instead STYLE OCP_OVERLY_CONCRETE_COLLECTION_PARAMETER 112 Medium
Uncallable method mockit.MockInvocationProceedTest$3.anotherMethodToBeMocked(Invocation, String, boolean, List) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 112-117 High

mockit.MockInvocationProceedTest$4

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationProceedTest$4.staticMethodToBeMocked(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 139-143 High

mockit.MockInvocationProceedTest$5

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationProceedTest$5.nativeMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 163-165 High

mockit.MockInvocationProceedTest$9

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationProceedTest$9.baseMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 225 High

mockit.MockInvocationTest

Bug Category Details Line Priority
Null passed for non-null parameter of MockInvocationTest$Collaborator.doSomething(boolean, int[], String) in mockit.MockInvocationTest.mockMethodsWithInvocationParameter() CORRECTNESS NP_NULL_PARAM_DEREF_ALL_TARGETS_DANGEROUS 112 Medium
Method mockit.MockInvocationTest.instanceMockMethodForStaticMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 75 Medium
Method mockit.MockInvocationTest.mockMethodsForMethodsWithoutParameters() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 68 Medium
Method mockit.MockInvocationTest.mockMethodsWithInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 90 Medium
Method mockit.MockInvocationTest.useOfContextParametersForJREMethods() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 150 Medium

mockit.MockInvocationTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationTest$1.staticMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 78-80 High

mockit.MockInvocationTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationTest$2.doSomething(Invocation, boolean, int[], String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 102-108 High

mockit.MockInvocationTest$3

Bug Category Details Line Priority
Uncallable method mockit.MockInvocationTest$3.exec(Invocation, String, String[]) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 160-164 High
Uncallable method mockit.MockInvocationTest$3.runFinalizersOnExit(Invocation, boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 153-156 High

mockit.MockInvocationTest$Collaborator

Bug Category Details Line Priority
Unread field: mockit.MockInvocationTest$Collaborator.value PERFORMANCE URF_UNREAD_FIELD 29 Medium

mockit.MockLoginContextTest

Bug Category Details Line Priority
Method mockit.MockLoginContextTest.mockJREClassWithStubs() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 74 Medium
Method mockit.MockLoginContextTest.mockJREMethodAndConstructorUsingAnnotatedMockClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 31 Medium
Method mockit.MockLoginContextTest.mockJREMethodAndConstructorWithMockUpClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 55 Medium

mockit.MockLoginContextTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockLoginContextTest$1.login() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 63 High

mockit.MockLoginContextTest$MockLoginContextWithStubs

Bug Category Details Line Priority
Should mockit.MockLoginContextTest$MockLoginContextWithStubs be a _static_ inner class? PERFORMANCE SIC_INNER_SHOULD_BE_STATIC 81-92 Medium

mockit.MockLoginContextTest$ProceedingMockLoginContext

Bug Category Details Line Priority
Non derivable method mockit.MockLoginContextTest$ProceedingMockLoginContext.logout(Invocation) declares throwing an exception that isn't thrown CORRECTNESS BED_BOGUS_EXCEPTION_DECLARATION 144 Medium
Return value of javax.security.auth.login.LoginContext.getSubject() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 138 Medium

mockit.MockUp

Bug Category Details Line Priority
Empty method mockit.MockUp.onTearDown() could be declared abstract STYLE ACEM_ABSTRACT_CLASS_EMPTY_METHODS 322 Medium
Method mockit.MockUp.getTypeToFake() accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 153 Medium
Exception thrown in class mockit.MockUp at new mockit.MockUp() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 105 Medium

mockit.MockUpForGenericsTest

Bug Category Details Line Priority
Method mockit.MockUpForGenericsTest.mockBothGenericAndNonGenericMethodsInGenericClass() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 113 Medium
Method mockit.MockUpForGenericsTest.mockGenericInterfaceMethodWithMockMethodHavingParameterOfTypeObject() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 243 Medium
Return value of MockUpForGenericsTest$GenericBaseClass.find(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 146 Medium
Method mockit.MockUpForGenericsTest.cannotCallGenericMethodWhenSomeMockMethodExpectsDifferentTypes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 138 Medium
Method mockit.MockUpForGenericsTest.mockBothGenericAndNonGenericMethodsInGenericClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 100 Medium
Method mockit.MockUpForGenericsTest.mockGenericClassWithUnspecifiedTypeArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 68 Medium
Method mockit.MockUpForGenericsTest.mockGenericMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 28 Medium
Method mockit.MockUpForGenericsTest.mockGenericMethodFromInstantiationOfNonGenericSubclass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 161 Medium
Method mockit.MockUpForGenericsTest.mockGenericMethodFromInstantiationOfNonGenericSubclassWhichExtendsAGenericIntermediateSuperclass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 180 Medium
Method mockit.MockUpForGenericsTest.mockGenericMethodWithMockMethodHavingParameterTypesMatchingTypeArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 125 Medium
Method mockit.MockUpForGenericsTest.mockGenericMethodsOfNonGenericClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 208 Medium

mockit.MockUpForGenericsTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$1.genericMethod(Number) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 31 High

mockit.MockUpForGenericsTest$10

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$10.method(Long) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 254-255 High

mockit.MockUpForGenericsTest$11

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$11.compareTo(Integer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 266-267 High

mockit.MockUpForGenericsTest$2

Bug Category Details Line Priority
Method mockit.MockUpForGenericsTest$2.aMethod(Object) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 74 Medium
Uncallable method mockit.MockUpForGenericsTest$2.aMethod(Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 71-75 High
Uncallable method mockit.MockUpForGenericsTest$2.anotherMethod(Object, int, Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 79-82 High

mockit.MockUpForGenericsTest$3

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$3.anotherMethod(Integer, int, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 103 High
Uncallable method mockit.MockUpForGenericsTest$3.anotherMethod(String, int, Boolean) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 108 High

mockit.MockUpForGenericsTest$4

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$4.find(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 128 High

mockit.MockUpForGenericsTest$5

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$5.find(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 141 High

mockit.MockUpForGenericsTest$6

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$6.find(Integer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 164 High

mockit.MockUpForGenericsTest$7

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$7.find(Integer) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 183 High

mockit.MockUpForGenericsTest$8

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$8.instanceMethod(Class) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 220 High
Uncallable method mockit.MockUpForGenericsTest$8.instanceMethod(Class, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 216 High
Uncallable method mockit.MockUpForGenericsTest$8.staticMethod(Class, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 211 High

mockit.MockUpForGenericsTest$9

Bug Category Details Line Priority
Uncallable method mockit.MockUpForGenericsTest$9.method(Object) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 239-240 High

mockit.MockUpForGenericsTest$NonGenericClassWithGenericMethods

Bug Category Details Line Priority
Static or private method mockit.MockUpForGenericsTest$NonGenericClassWithGenericMethods.staticMethod(Class, String) has unused parameters STYLE UP_UNUSED_PARAMETER 194 Medium
Static or private method mockit.MockUpForGenericsTest$NonGenericClassWithGenericMethods.staticMethod(Class, String) has unused parameters STYLE UP_UNUSED_PARAMETER 194 Medium

mockit.MockUpForSingleClassInstanceTest

Bug Category Details Line Priority
Method mockit.MockUpForSingleClassInstanceTest.sameAnonymousMockupAppliedMultipleTimesWithDifferentTargetInstances() does not presize the allocation of a collection PERFORMANCE PSC_PRESIZE_COLLECTIONS 127 Medium
Method mockit.MockUpForSingleClassInstanceTest.sameAnonymousMockupAppliedMultipleTimesWithoutTargetInstanceButWithMockInstanceCreatedFromMockup() does not presize the allocation of a collection PERFORMANCE PSC_PRESIZE_COLLECTIONS 146 Medium
Method mockit.MockUpForSingleClassInstanceTest.getMockInstanceFromInsideMockMethodForNonStaticMockedMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 155 Medium
Method mockit.MockUpForSingleClassInstanceTest.sameAnonymousMockupAppliedMultipleTimesWithDifferentTargetInstances() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 121 Medium

mockit.MockUpForSingleClassInstanceTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$1.getLineWidth() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 124 High

mockit.MockUpForSingleClassInstanceTest$1AClassMockUp

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$1AClassMockUp.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 66 High
Uncallable method mockit.MockUpForSingleClassInstanceTest$1AClassMockUp.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 71 High

mockit.MockUpForSingleClassInstanceTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$2.getLineWidth() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 143 High

mockit.MockUpForSingleClassInstanceTest$3

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$3.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 158-159 High

mockit.MockUpForSingleClassInstanceTest$4

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$4.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 174 High

mockit.MockUpForSingleClassInstanceTest$5

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$5.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 192-193 High

mockit.MockUpForSingleClassInstanceTest$6

Bug Category Details Line Priority
Unread field: mockit.MockUpForSingleClassInstanceTest$6.numericValue; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 210 Medium
Uncallable method mockit.MockUpForSingleClassInstanceTest$6.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 220 High
Uncallable method mockit.MockUpForSingleClassInstanceTest$6.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 214-215 High

mockit.MockUpForSingleClassInstanceTest$7

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$7.getSomeOtherValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 255 High
Uncallable method mockit.MockUpForSingleClassInstanceTest$7.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 250 High

mockit.MockUpForSingleClassInstanceTest$8

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$8.doSomethingElse() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 289 High
Uncallable method mockit.MockUpForSingleClassInstanceTest$8.getValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 282-284 High

mockit.MockUpForSingleClassInstanceTest$9

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleClassInstanceTest$9.read(char[], int, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 311-313 High
Uncallable method mockit.MockUpForSingleClassInstanceTest$9.ready() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 318 High

mockit.MockUpForSingleInterfaceInstanceTest$1

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$1.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 186 High

mockit.MockUpForSingleInterfaceInstanceTest$1AnInterfaceMockUp

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$1AnInterfaceMockUp.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 45 High
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$1AnInterfaceMockUp.getTextValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 50 High

mockit.MockUpForSingleInterfaceInstanceTest$1InterfaceMockUp

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$1InterfaceMockUp.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 112 High

mockit.MockUpForSingleInterfaceInstanceTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$2.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 193 High

mockit.MockUpForSingleInterfaceInstanceTest$2AnInterfaceMockUp

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$2AnInterfaceMockUp.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 83 High

mockit.MockUpForSingleInterfaceInstanceTest$4

Bug Category Details Line Priority
Uncallable method mockit.MockUpForSingleInterfaceInstanceTest$4.getNumericValue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 226 High

mockit.MockedAnnotationsTest

Bug Category Details Line Priority
Method mockit.MockedAnnotationsTest.mockClassWithNullabilityAnnotations(MockedAnnotationsTest$ClassWithNullabilityAnnotations) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 159 Medium
Method mockit.MockedAnnotationsTest.specifyValuesForAnnotationAttributes(MockedAnnotationsTest$MyAnnotation) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 60 Medium
Method mockit.MockedAnnotationsTest.verifyUsesOfAnnotationAttributes(MockedAnnotationsTest$MyAnnotation) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 84 Medium
Method mockit.MockedAnnotationsTest.verifyUsesOfAnnotationAttributes(MockedAnnotationsTest$MyAnnotation) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 102 Medium

mockit.MockedAnnotationsTest$1

Bug Category Details Line Priority
Method new mockit.MockedAnnotationsTest$1(MockedAnnotationsTest, MockedAnnotationsTest$MyAnnotation) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 63 Medium

mockit.MockedAnnotationsTest$4

Bug Category Details Line Priority
Return value of MockedAnnotationsTest$ClassWithNullabilityAnnotations.doSomething(int, Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 161 Medium

mockit.MockedClassWithSuperClassTest

Bug Category Details Line Priority
Return value of new MockedClassWithSuperClassTest$DerivedClass() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 227 Medium
Method mockit.MockedClassWithSuperClassTest.mockSubclassWithConstructorContainingTryCatch(MockedClassWithSuperClassTest$DerivedClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 227 Medium
Method mockit.MockedClassWithSuperClassTest.mockedClassExtendingNonJREClass(MockedClassWithSuperClassTest$Subclass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 121 Medium
Method mockit.MockedClassWithSuperClassTest.recordExpectationOnStaticMethodFromBaseClass(MockedClassWithSuperClassTest$Subclass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 171 Medium
Method mockit.MockedClassWithSuperClassTest.recordMethodOnMockedBaseClassButReplayOnSubclassInstance(MockedClassWithSuperClassTest$BaseClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 267 Medium
Method mockit.MockedClassWithSuperClassTest.recordSameMethodOnDifferentMockedSubclasses(MockedClassWithSuperClassTest$Subclass, MockedClassWithSuperClassTest$Subclass2) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 246 Medium

mockit.MockedClassWithSuperClassTest$3

Bug Category Details Line Priority
Return value of MockedClassWithSuperClassTest$BaseClass.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 123 Medium

mockit.MockedClassWithSuperClassTest$6

Bug Category Details Line Priority
Return value of MockedClassWithSuperClassTest$BaseClass.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 173 Medium

mockit.MockedClassWithSuperClassTest$7

Bug Category Details Line Priority
Return value of MockedClassWithSuperClassTest$BaseClass.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 248 Medium

mockit.MockedClassWithSuperClassTest$8

Bug Category Details Line Priority
Return value of MockedClassWithSuperClassTest$BaseClass.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 269 Medium

mockit.MockedEnumsTest

Bug Category Details Line Priority
Method mockit.MockedEnumsTest.cascadedEnum(MockedEnumsTest$InterfaceWhichReturnsAnEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 342 Medium
Method mockit.MockedEnumsTest.mockEnumValues(MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 95 Medium
Method mockit.MockedEnumsTest.mockEnumWithValueSpecificMethods(MockedEnumsTest$EnumWithValueSpecificMethods) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 283 Medium
Method mockit.MockedEnumsTest.mockInstanceMethodOnAnyEnumElement(MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 121 Medium
Method mockit.MockedEnumsTest.mockNonAbstractMethodsInEnumWithAbstractMethod(TimeUnit) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 214 Medium
Method mockit.MockedEnumsTest.mockSpecificEnumElementsByUsingTwoMockInstances(MockedEnumsTest$MyEnum, MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 162 Medium
Method mockit.MockedEnumsTest.mockSpecificEnumElementsEvenWhenUsingASingleMockInstance(MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 183 Medium
Method mockit.MockedEnumsTest.mockSpecificEnumElementsEvenWhenUsingASingleMockInstance(MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 195 Medium
Method mockit.MockedEnumsTest.verifyInstanceMethodInvocationOnAnyEnumElement(MockedEnumsTest$MyEnum) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 144 Medium
JUnit test method mockit.MockedEnumsTest.oneEnumBeingMockedMustNotAffectOtherEnums(MockedEnumsTest$MyEnum) asserts that an autoboxed value is not null CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_IMPOSSIBLE_NULL 84 Medium

mockit.MockedEnumsTest$1

Bug Category Details Line Priority
Return value of MockedEnumsTest$MyEnum.getValue(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 99 Medium
Return value of MockedEnumsTest$MyEnum.values() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 97 Medium

mockit.MockedEnumsTest$2

Bug Category Details Line Priority
Return value of MockedEnumsTest$MyEnum.getValue(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 123 Medium

mockit.MockedEnumsTest$4

Bug Category Details Line Priority
Return value of MockedEnumsTest$MyEnum.getValue(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 164 Medium

mockit.MockedEnumsTest$5

Bug Category Details Line Priority
Return value of MockedEnumsTest$MyEnum.getValue(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 185 Medium

mockit.MockedEnumsTest$6

Bug Category Details Line Priority
Return value of MockedEnumsTest$MyEnum.getValue(double) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 197 Medium

mockit.MockedEnumsTest$7

Bug Category Details Line Priority
Exception thrown in class mockit.MockedEnumsTest$7 at new mockit.MockedEnumsTest$7(MockedEnumsTest, TimeUnit) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 218 Medium
Return value of java.util.concurrent.TimeUnit.convert(long, TimeUnit) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 216 Medium

mockit.MockedEnumsTest$Foo

Bug Category Details Line Priority
Enum class mockit.MockedEnumsTest$Foo only declares one enum value CORRECTNESS ENMI_ONE_ENUM_VALUE 306 Medium

mockit.MockedParametersWithCapturingTest

Bug Category Details Line Priority
Method mockit.MockedParametersWithCapturingTest.recordCallToBaseInterfaceMethodOnCaptureSubInterfaceImplementation(MockedParametersWithCapturingTest$ISub) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 262 Medium

mockit.MockingMultipleInterfacesTest

Bug Category Details Line Priority
Method mockit.MockingMultipleInterfacesTest.mockAbstractMethodInheritedFromInterfaceImplementedBySuperClass(MockingMultipleInterfacesTest$ToBeMocked) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 117 Medium
Method mockit.MockingMultipleInterfacesTest.mockFieldWithTwoInterfaces() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 43 Medium
Method mockit.MockingMultipleInterfacesTest.mockFieldWithTwoInterfaces() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 53 Medium
Method mockit.MockingMultipleInterfacesTest.mockParameterWithTwoInterfaces(MockingMultipleInterfacesTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 70 Medium

mockit.MockingNewInstancesWithVaryingBehaviorTest

Bug Category Details Line Priority
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.matchMethodCallsOnInstancesCreatedWithSpecificConstructorCalls(MockingNewInstancesWithVaryingBehaviorTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 175 Medium
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.matchMethodCallsOnInstancesCreatedWithSpecificConstructorCalls(MockingNewInstancesWithVaryingBehaviorTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 201 Medium
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.recordDifferentResultsForInstancesCreatedWithDifferentConstructors(MockingNewInstancesWithVaryingBehaviorTest$Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 225 Medium
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.usingFakesWithInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 57 Medium
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.usingFakesWithInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 69 Medium
Method mockit.MockingNewInstancesWithVaryingBehaviorTest.usingInstantiationRecording(SimpleDateFormat) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 99 Medium

mockit.MockingNewInstancesWithVaryingBehaviorTest$2

Bug Category Details Line Priority
Uncallable method mockit.MockingNewInstancesWithVaryingBehaviorTest$2.format(Invocation, Date) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 72-80 High

mockit.MockingNewInstancesWithVaryingBehaviorTest$4

Bug Category Details Line Priority
Return value of MockingNewInstancesWithVaryingBehaviorTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 178 Medium

mockit.MockingNewInstancesWithVaryingBehaviorTest$5

Bug Category Details Line Priority
Return value of new MockingNewInstancesWithVaryingBehaviorTest$Collaborator(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 203 Medium
Return value of MockingNewInstancesWithVaryingBehaviorTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 205 Medium
Return value of MockingNewInstancesWithVaryingBehaviorTest$Collaborator.isPositive() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 209 Medium
Method new mockit.MockingNewInstancesWithVaryingBehaviorTest$5(MockingNewInstancesWithVaryingBehaviorTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 203 Medium

mockit.MockingNewInstancesWithVaryingBehaviorTest$6

Bug Category Details Line Priority
Return value of MockingNewInstancesWithVaryingBehaviorTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 227 Medium

mockit.MoreFakingTest

Bug Category Details Line Priority
Method mockit.MoreFakingTest.applyFakeForClassHierarchy() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 287 Medium
Method mockit.MoreFakingTest.applyFakeForConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 239 Medium
Method mockit.MoreFakingTest.applyFakeForConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 241 Medium
Method mockit.MoreFakingTest.applyFakesFromInnerFakeClassWithFakeConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 166 Medium
Method mockit.MoreFakingTest.applyReentrantFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 200 Medium
Method mockit.MoreFakingTest.concurrentFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 439 Medium
Method mockit.MoreFakingTest.fakeAClassHavingANestedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 544 Medium
Method mockit.MoreFakingTest.fakeAbstractClassWithFakeForAbstractMethodHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 384 Medium
Method mockit.MoreFakingTest.fakeAffectsInstancesOfSpecifiedSubclassAndNotOfBaseClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 472 Medium
Method mockit.MoreFakingTest.fakeDoingNothing() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 156 Medium
Method mockit.MoreFakingTest.fakeGenericClassWithFakeHavingInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 419 Medium
Method mockit.MoreFakingTest.fakeStaticInitializer() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 348 Medium
Method mockit.MoreFakingTest.fakeAbstractClassWithFakeForAbstractMethodHavingInvocationParameter() declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 377-395 Medium

mockit.MoreFakingTest$1

Bug Category Details Line Priority
Uncallable method mockit.MoreFakingTest$1.getValue(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 302-304 High
Uncallable method mockit.MoreFakingTest$1.provideSomeService(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 296-298 High

mockit.MoreFakingTest$4

Bug Category Details Line Priority
Uncallable method mockit.MoreFakingTest$4.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 387-390 High

mockit.MoreFakingTest$5

Bug Category Details Line Priority
Uncallable method mockit.MoreFakingTest$5.doSomething(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 422 High

mockit.MoreFakingTest$6

Bug Category Details Line Priority
Uncallable method mockit.MoreFakingTest$6.getThreadSpecificValue(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 442 High

mockit.MoreFakingTest$8

Bug Category Details Line Priority
Uncallable method mockit.MoreFakingTest$8.doSomething() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 547 High

mockit.MoreFakingTest$Collaborator

Bug Category Details Line Priority
Unused field: mockit.MoreFakingTest$Collaborator.xyz PERFORMANCE UUF_UNUSED_FIELD Not available Medium

mockit.MoreFakingTest$SubCollaborator

Bug Category Details Line Priority
Exception thrown in class mockit.MoreFakingTest$SubCollaborator at new mockit.MoreFakingTest$SubCollaborator(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 273 Medium

mockit.MultiThreadedExpectationsTest

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 68 Medium
Method mockit.MultiThreadedExpectationsTest.invokeMethodOnMockedAbstractClassFromEDT(MultiThreadedExpectationsTest$AnAbstractClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 229 Medium
Method mockit.MultiThreadedExpectationsTest.invokeMethodOnMockedGenericInterfaceFromEDT(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 252 Medium
Method mockit.MultiThreadedExpectationsTest.invokeMethodOnMockedPublicInterfaceFromEDT(MultiThreadedExpectationsTest$APublicInterface) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 194 Medium
Method mockit.MultiThreadedExpectationsTest.replayRecordedExpectationFromAnotherThread() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 113 Medium
Method mockit.MultiThreadedExpectationsTest.useMockedObjectFromWorkerThreadWhileRecordingAndVerifyingExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 85 Medium
Method mockit.MultiThreadedExpectationsTest.useMockedObjectFromWorkerThreadWhileRecordingAndVerifyingExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 96 Medium
Method mockit.MultiThreadedExpectationsTest.useMockedObjectFromWorkerThreadWhileVerifyingExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 71 Medium

mockit.MultiThreadedExpectationsTest$10

Bug Category Details Line Priority
Exception thrown in class mockit.MultiThreadedExpectationsTest$10 at new mockit.MultiThreadedExpectationsTest$10(MultiThreadedExpectationsTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 254 Medium
Method new mockit.MultiThreadedExpectationsTest$10(MultiThreadedExpectationsTest, Callable) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 255 Medium

mockit.MultiThreadedExpectationsTest$2

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 73 Medium

mockit.MultiThreadedExpectationsTest$3

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 87 Medium

mockit.MultiThreadedExpectationsTest$4

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 99 Medium

mockit.MultiThreadedExpectationsTest$5

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 115 Medium

mockit.MultiThreadedExpectationsTest$6

Bug Category Details Line Priority
Return value of MultiThreadedExpectationsTest$Collaborator.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 122 Medium

mockit.MultiThreadedExpectationsTest$8

Bug Category Details Line Priority
Method new mockit.MultiThreadedExpectationsTest$8(MultiThreadedExpectationsTest, MultiThreadedExpectationsTest$APublicInterface) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 197 Medium

mockit.MultiThreadedExpectationsTest$9

Bug Category Details Line Priority
Method new mockit.MultiThreadedExpectationsTest$9(MultiThreadedExpectationsTest, MultiThreadedExpectationsTest$AnAbstractClass) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 232 Medium

mockit.MultipleMockedTypesTest

Bug Category Details Line Priority
Method mockit.MultipleMockedTypesTest.invocationOnBaseTypeWithCapturingOfSubtypeThatInheritsTheInvokedMethod(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 222 Medium
Method mockit.MultipleMockedTypesTest.invocationOnBaseTypeWithCapturingOfSubtypeThatOverridesTheInvokedMethod(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 243 Medium
Method mockit.MultipleMockedTypesTest.invocationOnBaseTypeWithCapturingOfSubtypeThatOverridesTheInvokedMethod(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 254 Medium
Method mockit.MultipleMockedTypesTest.invocationOnBaseTypeWithReplayOnSubtypeThatOverridesTheInvokedMethod(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 195 Medium
Method mockit.MultipleMockedTypesTest.invocationOnBaseTypeWithReplayOnSubtypeThatOverridesTheInvokedMethod(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 205 Medium
Method mockit.MultipleMockedTypesTest.invocationsOnCapturedImplementationsOfInterfaces(Callable, Observer) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 276 Medium
Method mockit.MultipleMockedTypesTest.invocationsOnCapturedImplementationsOfInterfaces(Callable, Observer) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 285 Medium
Method mockit.MultipleMockedTypesTest.invocationsOnMethodsOfDifferentClassesButSameSignature(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 152 Medium
Method mockit.MultipleMockedTypesTest.invocationsOnMethodsOfDifferentClassesButSameSignature(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 163 Medium
Method mockit.MultipleMockedTypesTest.invocationsOnMethodsOfDifferentClassesWithDifferentSignatures(MultipleMockedTypesTest$SecondDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 132 Medium

mockit.MultipleMockedTypesTest$1

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getDifferentValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 136 Medium

mockit.MultipleMockedTypesTest$10

Bug Category Details Line Priority
Exception thrown in class mockit.MultipleMockedTypesTest$10 at new mockit.MultipleMockedTypesTest$10(MultipleMockedTypesTest, Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 287 Medium

mockit.MultipleMockedTypesTest$2

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 156 Medium

mockit.MultipleMockedTypesTest$3

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 166 Medium

mockit.MultipleMockedTypesTest$5

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 207 Medium

mockit.MultipleMockedTypesTest$6

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 226 Medium

mockit.MultipleMockedTypesTest$7

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 247 Medium

mockit.MultipleMockedTypesTest$8

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$SecondDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 257 Medium

mockit.MultipleMockedTypesTest$TestedUnit

Bug Category Details Line Priority
Return value of MultipleMockedTypesTest$TestedUnit$2.call() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 116 Medium

mockit.NaturalOrderingTest

Bug Category Details Line Priority
Null passed for non-null parameter of NaturalOrderingTest$ComparableClass.compareTo(String) in mockit.NaturalOrderingTest.mockOverrideOfCompareToMethod(NaturalOrderingTest$ComparableClass, NaturalOrderingTest$ComparableClass) CORRECTNESS NP_NONNULL_PARAM_VIOLATION 92 High
mockit.NaturalOrderingTest.verifyStandardComparableBehaviorInMockedClass(Date, Date) negates the return value of java.util.Date.compareTo(Date) BAD_PRACTICE RV_NEGATING_RESULT_OF_COMPARETO 38 Medium
Method mockit.NaturalOrderingTest.mockOverrideOfCompareToMethod(NaturalOrderingTest$ComparableClass, NaturalOrderingTest$ComparableClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 76 Medium
Method mockit.NaturalOrderingTest.mockOverrideOfCompareToMethod(NaturalOrderingTest$ComparableClass, NaturalOrderingTest$ComparableClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 85 Medium
Method mockit.NaturalOrderingTest.mockOverrideOfCompareToMethodInJREClass(Date, Date) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 107 Medium
Method mockit.NaturalOrderingTest.mockOverrideOfCompareToMethodInJREClass(Date, Date) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 117 Medium

mockit.NaturalOrderingTest$1

Bug Category Details Line Priority
Null passed for non-null parameter of NaturalOrderingTest$ComparableClass.compareTo(String) in new mockit.NaturalOrderingTest$1(NaturalOrderingTest, NaturalOrderingTest$ComparableClass) CORRECTNESS NP_NONNULL_PARAM_VIOLATION 78 High
Return value of NaturalOrderingTest$ComparableClass.compareTo(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 78 Medium

mockit.NaturalOrderingTest$2

Bug Category Details Line Priority
Return value of NaturalOrderingTest$ComparableClass.compareTo(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 87 Medium

mockit.NaturalOrderingTest$ComparableClass

Bug Category Details Line Priority
mockit.NaturalOrderingTest$ComparableClass defines compareTo(Object) and uses Object.equals() BAD_PRACTICE EQ_COMPARETO_USE_OBJECT_EQUALS 44 Medium

mockit.ObjectOverridesAndInjectableMocksTest

Bug Category Details Line Priority
Method mockit.ObjectOverridesAndInjectableMocksTest.allowAnyInvocationsOnOverriddenObjectMethodsForStrictMocks() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 53 Medium
JUnit test method mockit.ObjectOverridesAndInjectableMocksTest.allowAnyInvocationsOnOverriddenObjectMethodsForStrictMocks() passes null to Assert.assertNotEquals CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_NULL 60 Medium
JUnit test method mockit.ObjectOverridesAndInjectableMocksTest.allowAnyInvocationsOnOverriddenObjectMethodsForStrictMocks() passes null to Assert.assertNotEquals CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_NULL 64 Medium
JUnit test method mockit.ObjectOverridesAndInjectableMocksTest.allowAnyInvocationsOnOverriddenObjectMethodsForStrictMocks() passes null to Assert.assertNotEquals CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_NULL 65 Medium
JUnit test method mockit.ObjectOverridesAndInjectableMocksTest.allowAnyInvocationsOnOverriddenObjectMethodsForStrictMocks() passes null to Assert.assertEquals CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NULL 62 Medium

mockit.ObjectOverridesAndInjectableMocksTest$1

Bug Category Details Line Priority
Return value of ClassWithObjectOverrides.getIntValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 55 Medium

mockit.ObjectOverridesAndInjectableMocksTest$BaseClass

Bug Category Details Line Priority
Equals method for mockit.ObjectOverridesAndInjectableMocksTest$BaseClass assumes the argument is of type ObjectOverridesAndInjectableMocksTest$BaseClass BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 88 Medium
mockit.ObjectOverridesAndInjectableMocksTest$BaseClass defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 88 Medium
mockit.ObjectOverridesAndInjectableMocksTest$BaseClass.equals(Object) does not check for null argument BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 88 Medium

mockit.ObjectOverridesTest

Bug Category Details Line Priority
Call to mockit.ClassWithObjectOverrides.equals(String) in mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() CORRECTNESS EC_UNRELATED_TYPES 160 Medium
Explicit invocation of mockit.ClassWithObjectOverrides.finalize() in mockit.ObjectOverridesTest.verifyStandardBehaviorOfOverriddenObjectMethodsInMockedClass() BAD_PRACTICE FI_EXPLICIT_INVOCATION 133 Medium
Return value of ClassWithObjectOverrides.doSomething(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 284 Medium
Return value of ClassWithObjectOverrides.doSomething(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 301 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfCloneMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 217 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 143 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 152 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfHashCodeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 171 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfToStringMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 193 Medium
Method mockit.ObjectOverridesTest.mockOverrideOfToStringMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 203 Medium
Method mockit.ObjectOverridesTest.partiallyMockInstancesOfClassWithEqualsOverrideWhoseInstanceGetsPassedInRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 278 Medium
Method mockit.ObjectOverridesTest.partiallyMockInstancesOfJREClassWithEqualsOverrideWhoseInstanceGetsPassedInRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 295 Medium
Method mockit.ObjectOverridesTest.recordExpectationsOnOverriddenObjectMethodAsAlwaysNonStrict() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 232 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_EQUALS 159 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_EQUALS 160 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfEqualsMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_EQUALS 161 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfToStringMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_EQUALS 201 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfHashCodeMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_EQUALS 169 Medium
JUnit test method mockit.ObjectOverridesTest.mockOverrideOfToStringMethod() passes boolean expression to Assert.assertFalse / Assert.assertTrue CORRECTNESS UTAO_JUNIT_ASSERTION_ODDITIES_USE_ASSERT_NOT_EQUALS 191 Medium

mockit.ObjectOverridesTest$1

Bug Category Details Line Priority
Call to equals(null) in new mockit.ObjectOverridesTest$1(ObjectOverridesTest) CORRECTNESS EC_NULL_ARG 145 Medium
Call to mockit.ClassWithObjectOverrides.equals(String) in new mockit.ObjectOverridesTest$1(ObjectOverridesTest) CORRECTNESS EC_UNRELATED_TYPES 147 High
Method new mockit.ObjectOverridesTest$1(ObjectOverridesTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 146 Medium
Method new mockit.ObjectOverridesTest$1(ObjectOverridesTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 148 Medium
Method new mockit.ObjectOverridesTest$1(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 145 Medium
Method new mockit.ObjectOverridesTest$1(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 147 Medium

mockit.ObjectOverridesTest$2

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$2(ObjectOverridesTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 155 Medium
Method new mockit.ObjectOverridesTest$2(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 154 Medium

mockit.ObjectOverridesTest$3

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$3(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 173 Medium
Method new mockit.ObjectOverridesTest$3(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 175 Medium
Return value of ClassWithObjectOverrides.hashCode() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 173 Medium

mockit.ObjectOverridesTest$4

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$4(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 195 Medium
Return value of ClassWithObjectOverrides.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 195 Medium

mockit.ObjectOverridesTest$5

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$5(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 205 Medium
Method new mockit.ObjectOverridesTest$5(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 206 Medium
Return value of ClassWithObjectOverrides.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 205 Medium

mockit.ObjectOverridesTest$6

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$6(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 219 Medium

mockit.ObjectOverridesTest$7

Bug Category Details Line Priority
Method new mockit.ObjectOverridesTest$7(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 235 Medium
Method new mockit.ObjectOverridesTest$7(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 237 Medium
Method new mockit.ObjectOverridesTest$7(ObjectOverridesTest) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 238 Medium
Return value of ClassWithObjectOverrides.hashCode() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 235 Medium
Return value of ClassWithObjectOverrides.toString() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 238 Medium

mockit.ObjectOverridesTest$8

Bug Category Details Line Priority
Return value of ClassWithObjectOverrides.doSomething(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 280 Medium

mockit.ObjectOverridesTest$9

Bug Category Details Line Priority
Return value of ClassWithObjectOverrides.doSomething(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 297 Medium

mockit.ObjectOverridesTest$ClassWithEqualsOverride

Bug Category Details Line Priority
Equals method for mockit.ObjectOverridesTest$ClassWithEqualsOverride assumes the argument is of type ObjectOverridesTest$ClassWithEqualsOverride BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 266 Medium
mockit.ObjectOverridesTest$ClassWithEqualsOverride defines equals and uses Object.hashCode() BAD_PRACTICE HE_EQUALS_USE_HASHCODE 266 Medium
mockit.ObjectOverridesTest$ClassWithEqualsOverride.equals(Object) does not check for null argument BAD_PRACTICE NP_EQUALS_SHOULD_HANDLE_NULL_ARGUMENT 266 Medium

mockit.PartialMockingTest

Bug Category Details Line Priority
Method mockit.PartialMockingTest.attemptToUseDynamicMockingForInvalidTypes(PartialMockingTest$AnotherInterface, PartialMockingTest$NonPublicInterface) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 463 Medium
Method mockit.PartialMockingTest.assertInvalidTypeForDynamicPartialMocking(Object) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 477 Medium
Method mockit.PartialMockingTest.attemptToPartiallyMockAClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium
Method mockit.PartialMockingTest.attemptToPartiallyMockNativeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 640 Medium
Method mockit.PartialMockingTest.dynamicMockFullyVerifiedInOrder_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 173 Medium
Method mockit.PartialMockingTest.dynamicMockFullyVerifiedInOrder_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 185 Medium
Method mockit.PartialMockingTest.dynamicMockFullyVerifiedInOrder_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 192 Medium
Method mockit.PartialMockingTest.dynamicMockFullyVerified_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 150 Medium
Method mockit.PartialMockingTest.dynamicMockFullyVerified_verifyAllRecordedExpectationsButNotAllOfTheReplayedOnes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 160 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithExactArgumentMatching() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 492 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithExactArgumentMatching() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 506 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithFlexibleArgumentMatching() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 520 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithInstanceSpecificMatching() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 547 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithInstanceSpecificMatching() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 557 Medium
Method mockit.PartialMockingTest.dynamicPartialMockingWithInstanceSpecificMatchingOnTwoInstancesOfSameClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 575 Medium
Method mockit.PartialMockingTest.dynamicallyMockASubCollaboratorInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 345 Medium
Method mockit.PartialMockingTest.dynamicallyMockAnAnonymousClassInstanceThroughTheImplementedInterface() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 413 Medium
Method mockit.PartialMockingTest.dynamicallyMockAnAnonymousClassInstanceThroughTheImplementedInterface() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 430 Medium
Method mockit.PartialMockingTest.dynamicallyMockAnInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 243 Medium
Method mockit.PartialMockingTest.dynamicallyMockAnInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 266 Medium
Method mockit.PartialMockingTest.expectOneInvocationOnDynamicMockButReplayTwice() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 221 Medium
Method mockit.PartialMockingTest.expectTwoInvocationsOnDynamicMockButReplayOnce() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 203 Medium
Method mockit.PartialMockingTest.methodWithNoRecordedExpectationCalledTwiceDuringReplay() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 595 Medium
Method mockit.PartialMockingTest.methodWithNoRecordedExpectationCalledTwiceDuringReplay() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 601 Medium
Method mockit.PartialMockingTest.mockClassIndirectlyExtendingBaseWhoseFirstConstructorHasMoreParametersThanTheSecondOne(PartialMockingTest$SubSubClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 742 Medium
Method mockit.PartialMockingTest.mockMethodInSameClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 281 Medium

mockit.PartialMockingTest$10

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 268 Medium

mockit.PartialMockingTest$11

Bug Category Details Line Priority
Method new mockit.PartialMockingTest$11(PartialMockingTest, Object[], PartialMockingTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 284 Medium
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 283 Medium

mockit.PartialMockingTest$12

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 347 Medium
Return value of PartialMockingTest$SubCollaborator.format() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 349 Medium

mockit.PartialMockingTest$14

Bug Category Details Line Priority
Method new mockit.PartialMockingTest$14(PartialMockingTest, Object[], PartialMockingTest$Collaborator, PartialMockingTest$Dependency) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 418 Medium
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 415 Medium
Return value of PartialMockingTest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 417 Medium

mockit.PartialMockingTest$15

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 433 Medium
Return value of PartialMockingTest$Dependency.doSomethingElse(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 432 Medium

mockit.PartialMockingTest$17

Bug Category Details Line Priority
Method new mockit.PartialMockingTest$17(PartialMockingTest, Object[], PartialMockingTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 495 Medium
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 494 Medium

mockit.PartialMockingTest$18

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 508 Medium

mockit.PartialMockingTest$19

Bug Category Details Line Priority
Method new mockit.PartialMockingTest$19(PartialMockingTest, Object[], PartialMockingTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 523 Medium
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 522 Medium

mockit.PartialMockingTest$20

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 549 Medium

mockit.PartialMockingTest$21

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 559 Medium

mockit.PartialMockingTest$22

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 577 Medium

mockit.PartialMockingTest$24

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 603 Medium

mockit.PartialMockingTest$7

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 205 Medium

mockit.PartialMockingTest$8

Bug Category Details Line Priority
Return value of PartialMockingTest$Collaborator.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 223 Medium

mockit.PartialMockingTest$9

Bug Category Details Line Priority
Method new mockit.PartialMockingTest$9(PartialMockingTest, Object[], PartialMockingTest$Collaborator) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 246 Medium
Return value of PartialMockingTest$Collaborator.simpleOperation(int, String, Date) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 245 Medium

mockit.PartialMockingTest$BaseClass

Bug Category Details Line Priority
Exception thrown in class mockit.PartialMockingTest$BaseClass at new mockit.PartialMockingTest$BaseClass(Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 711 Medium

mockit.PartialMockingTest$Collaborator

Bug Category Details Line Priority
Static or private method mockit.PartialMockingTest$Collaborator.doSomething(boolean, String) has unused parameters STYLE UP_UNUSED_PARAMETER 106 Medium
Static or private method mockit.PartialMockingTest$Collaborator.doSomething(boolean, String) has unused parameters STYLE UP_UNUSED_PARAMETER 106 Medium

mockit.PartialMockingTest$TestedClass

Bug Category Details Line Priority
Static or private method mockit.PartialMockingTest$TestedClass.initialize(boolean) has unused parameters STYLE UP_UNUSED_PARAMETER 696 Medium

mockit.ReentrantDelegateTest

Bug Category Details Line Priority
Method mockit.ReentrantDelegateTest.nonRecursiveDelegateMethodWithInvocationParameterUsedForProceeding(ReentrantDelegateTest$RealClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 105 Medium
Method mockit.ReentrantDelegateTest.recursiveDelegateMethodWithInvocationParameterNotUsedForProceeding(ReentrantDelegateTest$RealClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 77 Medium
Method mockit.ReentrantDelegateTest.recursiveDelegateMethodWithoutInvocationParameter(ReentrantDelegateTest$RealClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 50 Medium

mockit.ReentrantDelegateTest$1

Bug Category Details Line Priority
Return value of ReentrantDelegateTest$RealClass.nonRecursiveStaticMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 52 Medium

mockit.ReentrantDelegateTest$1$1

Bug Category Details Line Priority
Uncallable method mockit.ReentrantDelegateTest$1$1.delegate(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 56-59 Medium

mockit.ReentrantDelegateTest$2

Bug Category Details Line Priority
Return value of ReentrantDelegateTest$RealClass.nonRecursiveMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 79 Medium

mockit.ReentrantDelegateTest$2$1

Bug Category Details Line Priority
Uncallable method mockit.ReentrantDelegateTest$2$1.delegate(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 83-87 Medium

mockit.ReentrantDelegateTest$3

Bug Category Details Line Priority
Return value of ReentrantDelegateTest$RealClass.nonRecursiveMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 107 Medium

mockit.ReentrantDelegateTest$3$1

Bug Category Details Line Priority
Uncallable method mockit.ReentrantDelegateTest$3$1.nonRecursiveMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 111-114 Medium

mockit.ReentrantFakeTest

Bug Category Details Line Priority
Method mockit.ReentrantFakeTest.callFakeMethodForJREClass() triggers finalization when calling Runtime.runFinalization() CORRECTNESS MDM_RUNFINALIZATION 203 Medium
Method mockit.ReentrantFakeTest.callFakeMethodForJREClass() triggers finalization when calling Runtime.runFinalization() CORRECTNESS MDM_RUNFINALIZATION 204 Medium
Method mockit.ReentrantFakeTest.callFakeMethodForJREClass() triggers finalization when calling Runtime.runFinalization() CORRECTNESS MDM_RUNFINALIZATION 205 Medium
Method mockit.ReentrantFakeTest.callFakeMethod() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 118 Medium
Method mockit.ReentrantFakeTest.callOriginalMethod() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 131 Medium
Return value of new ReentrantFakeTest$4(ReentrantFakeTest) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 411 Medium
Return value of ReentrantFakeTest$RealClass.foo() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 147 Medium
Method mockit.ReentrantFakeTest.applyReentrantFakeForNativeJREMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 235 Medium
Method mockit.ReentrantFakeTest.callFakeMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 117 Medium
Method mockit.ReentrantFakeTest.callFakeMethodForJREClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 201 Medium
Method mockit.ReentrantFakeTest.callOriginalMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 130 Medium
Method mockit.ReentrantFakeTest.fakeFileAndForceJREToCallReentrantFakedMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 402 Medium
Method mockit.ReentrantFakeTest.fakeFileAndForceJREToCallReentrantFakedMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 411 Medium
Method mockit.ReentrantFakeTest.fakeThatProceedsIntoRecursiveMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 517 Medium
Method mockit.ReentrantFakeTest.lambda$calledFakeThrowsException$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 144 Medium
Method mockit.ReentrantFakeTest.nonRecursiveFakeMethodWithInvocationParameterUsedForProceeding() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 573 Medium
Method mockit.ReentrantFakeTest.recursiveFakeMethodWithInvocationParameterNotUsedForProceeding() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 553 Medium
Method mockit.ReentrantFakeTest.recursiveFakeMethodWithoutInvocationParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 534 Medium
Method mockit.ReentrantFakeTest.reentrantFakeForJREClassWhichCallsAnotherFromADifferentThread() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 371 Medium
Method mockit.ReentrantFakeTest.reentrantFakeForMethodWhichInstantiatesAndReturnsNewInstanceOfTheFakedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 440 Medium
Method mockit.ReentrantFakeTest.reentrantFakeForNonJREClassWhichCallsAnotherFromADifferentThread() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 334 Medium
Method mockit.ReentrantFakeTest.reentrantFakeMethodForRecursiveMethods() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 500 Medium
Method mockit.ReentrantFakeTest.twoConcurrentThreadsCallingTheSameReentrantFake() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 287 Medium
Write to static field mockit.ReentrantFakeTest$AnnotatedFakeClass.fakeIt from instance method mockit.ReentrantFakeTest.callFakeMethod() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 118 Medium
Write to static field mockit.ReentrantFakeTest$AnnotatedFakeClass.fakeIt from instance method mockit.ReentrantFakeTest.callOriginalMethod() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 131 Medium

mockit.ReentrantFakeTest$1

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$1.firstMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 339 High
Uncallable method mockit.ReentrantFakeTest$1.secondMethod(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 344-354 High

mockit.ReentrantFakeTest$2

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$2.clearProperty(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 381-389 High
Uncallable method mockit.ReentrantFakeTest$2.getProperty(Invocation, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 376 High

mockit.ReentrantFakeTest$3

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$3.exists(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 405-406 High

mockit.ReentrantFakeTest$5

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$5.newInstance(Invocation) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 443 High

mockit.ReentrantFakeTest$6

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$6.recursiveMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 520-521 High

mockit.ReentrantFakeTest$7

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$7.nonRecursiveStaticMethod(int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 537-540 High

mockit.ReentrantFakeTest$8

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$8.nonRecursiveMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 556-560 High

mockit.ReentrantFakeTest$9

Bug Category Details Line Priority
Uncallable method mockit.ReentrantFakeTest$9.nonRecursiveMethod(Invocation, int) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 576-579 High

mockit.ReentrantFakeTest$FakeClassWithReentrantFakeForRecursiveMethod

Bug Category Details Line Priority
Static or private method mockit.ReentrantFakeTest$FakeClassWithReentrantFakeForRecursiveMethod.staticRecursiveMethod(Invocation, int) has unused parameters STYLE UP_UNUSED_PARAMETER 483-484 Medium

mockit.ReentrantFakeTest$RealClass

Bug Category Details Line Priority
Method mockit.ReentrantFakeTest$RealClass.recursiveMethod(int) employs tail recursion PERFORMANCE TR_TAIL_RECURSION 56 Medium

mockit.RestrictedFullVerificationsTest

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 125 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 123 Medium
Return value of RestrictedFullVerificationsTest$AnotherDependency.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 456 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 475 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 241 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 242 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 319 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 320 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 340 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 341 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 279 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 280 Medium
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 392 Medium
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 411 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 217 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 218 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 298 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 299 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 260 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 261 Medium
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 374 Medium
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 509 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 537 Medium
Return value of RestrictedFullVerificationsTest$AnotherDependency.doSomethingElse(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 432 Medium
Return value of RestrictedFullVerificationsTest$AnotherDependency.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 431 Medium
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 433 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$unverifiedStaticInvocationForSpecifiedMockInstance$7(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 458 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$unverifiedStaticInvocationForSpecifiedSubclassInstance$8(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 478 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllInvocationsToInheritedMethods_whenNotVerified$1(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 244 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllInvocationsToMethodsOfBaseClassAndOfSubclass_whenInheritedMethodNotVerified$3(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 322 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllInvocationsToMethodsOfBaseClassAndOfSubclass_whenSubclassMethodNotVerified$4(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 343 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllInvocationsToSubclassMethods_whenNotVerified$2(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 282 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllInvocationsWithSomeMissing$0(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 177 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllWithReplayOnDifferentInstanceWhenShouldBeSame$5(RestrictedFullVerificationsTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 394 Medium
Method mockit.RestrictedFullVerificationsTest.lambda$verifyAllWithUnverifiedReplayOnSameInstance$6(RestrictedFullVerificationsTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 414 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToInheritedMethods(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 220 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToInheritedMethods(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 225 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToMethodsOfBaseClassAndOfSubclass(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 301 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToOnlyOneOfTwoMockedTypes(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 140 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToOnlyOneOfTwoMockedTypes(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 152 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsToSubclassMethods(RestrictedFullVerificationsTest$SubDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 263 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsWithReplayOnDifferentInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 358 Medium
Method mockit.RestrictedFullVerificationsTest.verifyAllInvocationsWithReplayOnSameInstance(RestrictedFullVerificationsTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 376 Medium
Method mockit.RestrictedFullVerificationsTest.verifyNoInvocationsOccurredOnMockedDependencyWithOneHavingOccurred(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 512 Medium
Method mockit.RestrictedFullVerificationsTest.verifyNoInvocationsOccurredOnOneOfTwoMockedDependencies(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 496 Medium
Method mockit.RestrictedFullVerificationsTest.verifyNoInvocationsOnOneOfTwoMockedDependenciesBeyondThoseRecordedAsExpected(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 529 Medium
Method mockit.RestrictedFullVerificationsTest.verifyNoInvocationsOnOneOfTwoMockedDependenciesBeyondThoseRecordedAsExpected(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 543 Medium
Method mockit.RestrictedFullVerificationsTest.verifyOnlyInvocationsToGenericType(Callable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 202 Medium
Method mockit.RestrictedFullVerificationsTest.verifyStaticInvocationForSpecifiedMockInstance(RestrictedFullVerificationsTest$AnotherDependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 436 Medium

mockit.RestrictedFullVerificationsTest$1

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 146 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 142 Medium

mockit.RestrictedFullVerificationsTest$10

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 303 Medium
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 304 Medium

mockit.RestrictedFullVerificationsTest$11

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 324 Medium

mockit.RestrictedFullVerificationsTest$12

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 345 Medium

mockit.RestrictedFullVerificationsTest$13

Bug Category Details Line Priority
Return value of new RestrictedFullVerificationsTest$Dependency() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 360 Medium
Method new mockit.RestrictedFullVerificationsTest$13(RestrictedFullVerificationsTest, Object[]) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 360 Medium

mockit.RestrictedFullVerificationsTest$14

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 378 Medium

mockit.RestrictedFullVerificationsTest$15

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 396 Medium

mockit.RestrictedFullVerificationsTest$16

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 416 Medium

mockit.RestrictedFullVerificationsTest$17

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$AnotherDependency.doSomethingElse(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 440 Medium
Return value of RestrictedFullVerificationsTest$AnotherDependency.staticMethod() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 439 Medium

mockit.RestrictedFullVerificationsTest$19

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 480 Medium

mockit.RestrictedFullVerificationsTest$2

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.editABunchMoreStuff() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 158 Medium
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 154 Medium

mockit.RestrictedFullVerificationsTest$3

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 179 Medium

mockit.RestrictedFullVerificationsTest$4

Bug Category Details Line Priority
Exception thrown in class mockit.RestrictedFullVerificationsTest$4 at new mockit.RestrictedFullVerificationsTest$4(RestrictedFullVerificationsTest, Object[], Callable) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 204 Medium

mockit.RestrictedFullVerificationsTest$5

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 222 Medium

mockit.RestrictedFullVerificationsTest$6

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 227 Medium

mockit.RestrictedFullVerificationsTest$7

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 246 Medium

mockit.RestrictedFullVerificationsTest$8

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$SubDependency.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 265 Medium

mockit.RestrictedFullVerificationsTest$9

Bug Category Details Line Priority
Return value of RestrictedFullVerificationsTest$Dependency.prepare() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 284 Medium

mockit.RestrictedFullVerificationsTest$Dependency

Bug Category Details Line Priority
Static or private method mockit.RestrictedFullVerificationsTest$Dependency.staticMethod(String) has unused parameters STYLE UP_UNUSED_PARAMETER 65 Medium

mockit.StandardDI2Test$TestedClass

Bug Category Details Line Priority
Exception thrown in class mockit.StandardDI2Test$TestedClass at new mockit.StandardDI2Test$TestedClass() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 23 Medium

mockit.StandardDITest

Bug Category Details Line Priority
Method mockit.StandardDITest.supportVarargsParameterWithProviders(Provider) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 385 Medium
Method mockit.StandardDITest.configureProviderUsedByConstructorOfTestedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 354 Medium
Method mockit.StandardDITest.supportVarargsParameterWithProviders(Provider) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 372 Medium

mockit.StandardDITest$Collaborator

Bug Category Details Line Priority
Unread field: mockit.StandardDITest$Collaborator.b PERFORMANCE URF_UNREAD_FIELD 91 Medium

mockit.StandardDITest$TestedClass

Bug Category Details Line Priority
Exception thrown in class mockit.StandardDITest$TestedClass at new mockit.StandardDITest$TestedClass(StandardDITest$Collaborator, int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 82 Medium
Class mockit.StandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.StandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 69 Medium
Class mockit.StandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Unwritten field: mockit.StandardDITest$TestedClass.collaborator2 CORRECTNESS UWF_UNWRITTEN_FIELD 170 Medium
Unwritten field: mockit.StandardDITest$TestedClass.nonAnnotatedField CORRECTNESS UWF_UNWRITTEN_FIELD 393 Medium
Unwritten field: mockit.StandardDITest$TestedClass.nonAnnotatedGenericField CORRECTNESS UWF_UNWRITTEN_FIELD 394 Medium

mockit.StandardDITest$TestedClassWithVarargsParameterForProviders

Bug Category Details Line Priority
Method new mockit.StandardDITest$TestedClassWithVarargsParameterForProviders(Provider[]) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 327 Medium
Method new mockit.StandardDITest$TestedClassWithVarargsParameterForProviders(Provider[]) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 328 Medium
Method new mockit.StandardDITest$TestedClassWithVarargsParameterForProviders(Provider[]) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 331 Medium

mockit.TargetSubclass

Bug Category Details Line Priority
Return value of additionalMethod(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 279 Medium

mockit.TestedAbstractClassTest

Bug Category Details Line Priority
Method mockit.TestedAbstractClassTest.exerciseDynamicallyMockedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 110 Medium
Method mockit.TestedAbstractClassTest.exerciseDynamicallyMockedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 122 Medium
Method mockit.TestedAbstractClassTest.exerciseTestedObject(String) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 85 Medium
Method mockit.TestedAbstractClassTest.exerciseTestedObject(String) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 95 Medium
Method mockit.TestedAbstractClassTest.exerciseTestedObjectAgain(String) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 144 Medium

mockit.TestedAbstractClassTest$3

Bug Category Details Line Priority
Return value of TestedAbstractClassTest$AbstractClass.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 112 Medium

mockit.TestedAndMockedTest

Bug Category Details Line Priority
Method mockit.TestedAndMockedTest.exercisePublicMethodWhileHavingHelperMethodsMocked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 133 Medium
Method mockit.TestedAndMockedTest.exercisePublicMethodWhileHavingHelperMethodsMocked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium
Method mockit.TestedAndMockedTest.exercisePublicMethodWhileHavingHelperMethodsMocked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 150 Medium
Method mockit.TestedAndMockedTest.mockTestedClass(TestedAndMockedTest$ClassToBeTested) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 175 Medium

mockit.TestedAndMockedTest$1

Bug Category Details Line Priority
Return value of TestedAndMockedTest$ClassToBeTested.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 135 Medium

mockit.TestedAndMockedTest$ClassToBeTested

Bug Category Details Line Priority
Class mockit.TestedAndMockedTest$ClassToBeTested defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 36 Medium
Read of unwritten field collaborator in mockit.TestedAndMockedTest$ClassToBeTested.doAnotherOperation() CORRECTNESS NP_UNWRITTEN_FIELD 95 Medium
Unwritten field: mockit.TestedAndMockedTest$ClassToBeTested.collaborator CORRECTNESS UWF_UNWRITTEN_FIELD 95 Medium

mockit.TestedClassInjectedFromMockParametersTest

Bug Category Details Line Priority

mockit.TestedClassInjectedFromMockParametersTest$TestedClass

Bug Category Details Line Priority
Class mockit.TestedClassInjectedFromMockParametersTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 52 Medium
Class mockit.TestedClassInjectedFromMockParametersTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 71 Medium
Class mockit.TestedClassInjectedFromMockParametersTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 68 Medium
Class mockit.TestedClassInjectedFromMockParametersTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 69 Medium
Unwritten field: mockit.TestedClassInjectedFromMockParametersTest$TestedClass.enumValue CORRECTNESS UWF_UNWRITTEN_FIELD 188 Medium

mockit.TestedClassWithConstructorAndFieldDI2Test$ClassWithConstructorHavingReferenceTypeParameterAndDoubleSizedLocalVar

Bug Category Details Line Priority
Class mockit.TestedClassWithConstructorAndFieldDI2Test$ClassWithConstructorHavingReferenceTypeParameterAndDoubleSizedLocalVar defines a field or local variable named 'var' CORRECTNESS IMC_IMMATURE_CLASS_VAR_NAME 226 Medium

mockit.TestedClassWithConstructorAndFieldDI2Test$TestedClass

Bug Category Details Line Priority
Class mockit.TestedClassWithConstructorAndFieldDI2Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 67 Medium
Class mockit.TestedClassWithConstructorAndFieldDI2Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 65 Medium
Class mockit.TestedClassWithConstructorAndFieldDI2Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 66 Medium

mockit.TestedClassWithConstructorAndFieldDITest

Bug Category Details Line Priority
Method mockit.TestedClassWithConstructorAndFieldDITest.exerciseTestedSubclassObjectWithFieldsInjectedByTypeAndName() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 127 Medium

mockit.TestedClassWithConstructorAndFieldDITest$1

Bug Category Details Line Priority
Return value of BaseTest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 131 Medium

mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass

Bug Category Details Line Priority
Read of unwritten field dependency2 in mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass.doSomeOperation() CORRECTNESS NP_UNWRITTEN_FIELD 96 Medium
Unwritten field: mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass.anotherAction CORRECTNESS UWF_UNWRITTEN_FIELD 121 Medium
Unwritten field: mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass.dependency2 CORRECTNESS UWF_UNWRITTEN_FIELD 96 Medium
Unwritten field: mockit.TestedClassWithConstructorAndFieldDITest$AnotherTestedClass.dependency3 CORRECTNESS UWF_UNWRITTEN_FIELD 124 Medium

mockit.TestedClassWithConstructorDI1Test

Bug Category Details Line Priority
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithAllDependenciesInjectedThroughConstructor(Runnable, Observable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 252 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithAllDependenciesInjectedThroughConstructor(Runnable, Observable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 261 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithSingleDependencyInjectedThroughConstructor() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 177 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithTwoDependenciesInjectedThroughConstructor(Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 197 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithTwoDependenciesInjectedThroughConstructor(Runnable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 206 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithTwoOtherDependenciesInjectedThroughConstructor(Observable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 223 Medium
Method mockit.TestedClassWithConstructorDI1Test.exerciseTestedObjectWithTwoOtherDependenciesInjectedThroughConstructor(Observable) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 232 Medium
Write to static field mockit.TestedClassWithConstructorDI1Test$BaseTestedClass.baseCounter from instance method mockit.TestedClassWithConstructorDI1Test.resetCounter() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 274 High
Write to static field mockit.TestedClassWithConstructorDI1Test$TestedClass.counter from instance method mockit.TestedClassWithConstructorDI1Test.resetCounter() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 275 High

mockit.TestedClassWithConstructorDI1Test$1

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI1Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 179 Medium

mockit.TestedClassWithConstructorDI1Test$2

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI1Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 199 Medium

mockit.TestedClassWithConstructorDI1Test$4

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI1Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 225 Medium

mockit.TestedClassWithConstructorDI1Test$6

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI1Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 254 Medium

mockit.TestedClassWithConstructorDI1Test$TestedClass

Bug Category Details Line Priority
new mockit.TestedClassWithConstructorDI1Test$TestedClass(TestedClassWithConstructorDI1Test$Dependency, Runnable, Observable) may expose internal representation by storing an externally mutable object into TestedClassWithConstructorDI1Test$TestedClass.observable MALICIOUS_CODE EI_EXPOSE_REP2 109 Medium

mockit.TestedClassWithConstructorDI2Test

Bug Category Details Line Priority
Method mockit.TestedClassWithConstructorDI2Test.exerciseTestedObjectWithDependenciesOfSameTypeInjectedThroughConstructor(TestedClassWithConstructorDI2Test$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 191 Medium
Method mockit.TestedClassWithConstructorDI2Test.resetCounter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 172 Medium
Write to static field mockit.TestedClassWithConstructorDI2Test$TestedClass.counter from instance method mockit.TestedClassWithConstructorDI2Test.resetCounter() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 171 High

mockit.TestedClassWithConstructorDI2Test$1

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI2Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 174 Medium

mockit.TestedClassWithConstructorDI2Test$2

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI2Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 193 Medium

mockit.TestedClassWithConstructorDI2Test$TestedClass

Bug Category Details Line Priority
Unconstrained method new mockit.TestedClassWithConstructorDI2Test$TestedClass(TestedClassWithConstructorDI2Test$Dependency, Runnable, TestedClassWithConstructorDI2Test$Dependency, TestedClassWithConstructorDI2Test$Dependency) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 71 High
Class mockit.TestedClassWithConstructorDI2Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 61 Medium
Method new mockit.TestedClassWithConstructorDI2Test$TestedClass(TestedClassWithConstructorDI2Test$Dependency, Runnable, TestedClassWithConstructorDI2Test$Dependency, TestedClassWithConstructorDI2Test$Dependency) calls InetAddress.getLocalHost(), which may be a security risk CORRECTNESS MDM_INETADDRESS_GETLOCALHOST 68 Medium

mockit.TestedClassWithConstructorDI3Test

Bug Category Details Line Priority
Method mockit.TestedClassWithConstructorDI3Test.exerciseTestedObjectWithDependenciesOfSameTypeInjectedThroughVarargsConstructorParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 92 Medium
Method mockit.TestedClassWithConstructorDI3Test.exerciseTestedObjectWithDependenciesProvidedByMockFieldsAndMockParameter(TestedClassWithConstructorDI3Test$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 114 Medium

mockit.TestedClassWithConstructorDI3Test$1

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI3Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 94 Medium

mockit.TestedClassWithConstructorDI3Test$2

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI3Test$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 116 Medium

mockit.TestedClassWithConstructorDI4Test

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI4Test$GenericClass.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 188 Medium
Method mockit.TestedClassWithConstructorDI4Test.recordCommonExpectations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 132 Medium
Method mockit.TestedClassWithConstructorDI4Test.recordCommonExpectations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 139 Medium

mockit.TestedClassWithConstructorDI4Test$1

Bug Category Details Line Priority
Return value of TestedClassWithConstructorDI4Test$GenericClass.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 134 Medium

mockit.TestedClassWithConstructorDI4Test$2

Bug Category Details Line Priority
Exception thrown in class mockit.TestedClassWithConstructorDI4Test$2 at new mockit.TestedClassWithConstructorDI4Test$2(TestedClassWithConstructorDI4Test) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 141 Medium

mockit.TestedClassWithConstructorDI4Test$TestedClass

Bug Category Details Line Priority
Method new mockit.TestedClassWithConstructorDI4Test$TestedClass(TestedClassWithConstructorDI4Test$GenericClass, List, Callable[]) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 84 Medium
Method new mockit.TestedClassWithConstructorDI4Test$TestedClass(TestedClassWithConstructorDI4Test$GenericClass, List, Callable[]) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 87 Medium
new mockit.TestedClassWithConstructorDI4Test$TestedClass(TestedClassWithConstructorDI4Test$GenericClass, List, Callable[]) may expose internal representation by storing an externally mutable object into TestedClassWithConstructorDI4Test$TestedClass.values MALICIOUS_CODE EI_EXPOSE_REP2 81 Medium
Unconstrained method new mockit.TestedClassWithConstructorDI4Test$TestedClass(TestedClassWithConstructorDI4Test$GenericClass, List, Callable[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 96 High
Class mockit.TestedClassWithConstructorDI4Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 84 Medium
Class mockit.TestedClassWithConstructorDI4Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 87 Medium
Class mockit.TestedClassWithConstructorDI4Test$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 93 Medium

mockit.TestedClassWithFieldDITest

Bug Category Details Line Priority
Method mockit.TestedClassWithFieldDITest.exerciseTestedObjectWithFieldInjectedByType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 166 Medium

mockit.TestedClassWithFieldDITest$1

Bug Category Details Line Priority
Return value of TestedClassWithFieldDITest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 168 Medium

mockit.TestedClassWithFullAnnotatedDITest$TestedClass

Bug Category Details Line Priority
Class mockit.TestedClassWithFullAnnotatedDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullAnnotatedDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithFullConstructorAndFieldDITest

Bug Category Details Line Priority
Read of unwritten field dependency1 in mockit.TestedClassWithFullConstructorAndFieldDITest.verifyEachTargetFieldGetsInjectedWithFirstUnusedInjectableWhetherThroughFieldOrConstructorInjection() CORRECTNESS NP_UNWRITTEN_FIELD 71 Medium
Read of unwritten field dependency2 in mockit.TestedClassWithFullConstructorAndFieldDITest.verifyEachTargetFieldGetsInjectedWithFirstUnusedInjectableWhetherThroughFieldOrConstructorInjection() CORRECTNESS NP_UNWRITTEN_FIELD 72 Medium

mockit.TestedClassWithFullConstructorAndFieldDITest$ClassWithMultipleConstructors

Bug Category Details Line Priority
Exception thrown in class mockit.TestedClassWithFullConstructorAndFieldDITest$ClassWithMultipleConstructors at new mockit.TestedClassWithFullConstructorAndFieldDITest$ClassWithMultipleConstructors(int) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 98 Medium

mockit.TestedClassWithFullConstructorDITest

Bug Category Details Line Priority

mockit.TestedClassWithFullDITest

Bug Category Details Line Priority

mockit.TestedClassWithFullMixedFieldDITest

Bug Category Details Line Priority

mockit.TestedClassWithFullStandardDITest

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in mockit.TestedClassWithFullStandardDITest.deleteDefaultPersistenceXmlFile() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 619 Medium
Method mockit.TestedClassWithFullStandardDITest.setUpPersistence() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 573 Medium
Write to static field mockit.TestedClassWithFullStandardDITest.defaultEM from instance method mockit.TestedClassWithFullStandardDITest.clearEntityManagers() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 777 High
Write to static field mockit.TestedClassWithFullStandardDITest.namedEM from instance method mockit.TestedClassWithFullStandardDITest.clearEntityManagers() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 776 High

mockit.TestedClassWithFullStandardDITest$1

Bug Category Details Line Priority
Uncallable method mockit.TestedClassWithFullStandardDITest$1.createEntityManagerFactory(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 576-585 High

mockit.TestedClassWithFullStandardDITest$CommonDependency

Bug Category Details Line Priority
Class mockit.TestedClassWithFullStandardDITest$CommonDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullStandardDITest$CommonDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithFullStandardDITest$FirstLevelDependency

Bug Category Details Line Priority
Class mockit.TestedClassWithFullStandardDITest$FirstLevelDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullStandardDITest$FirstLevelDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullStandardDITest$FirstLevelDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithFullStandardDITest$SecondLevelDependency

Bug Category Details Line Priority
Class mockit.TestedClassWithFullStandardDITest$SecondLevelDependency defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithFullStandardDITest$TestedClass

Bug Category Details Line Priority
Class mockit.TestedClassWithFullStandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullStandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithFullStandardDITest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithGenericSubtypesTest

Bug Category Details Line Priority

mockit.TestedClassWithGenericsTest

Bug Category Details Line Priority

mockit.TestedClassWithGenericsTest$ClassWithFieldOfGenericTypeContainingGenericArray

Bug Category Details Line Priority
Unused field: mockit.TestedClassWithGenericsTest$ClassWithFieldOfGenericTypeContainingGenericArray.list PERFORMANCE UUF_UNUSED_FIELD Not available Medium
Unused field: mockit.TestedClassWithGenericsTest$ClassWithFieldOfGenericTypeContainingGenericArray.n PERFORMANCE UUF_UNUSED_FIELD Not available Medium

mockit.TestedClassWithGenericsTest$GenericClass

Bug Category Details Line Priority
Unused field: mockit.TestedClassWithGenericsTest$GenericClass.value PERFORMANCE UUF_UNUSED_FIELD Not available Medium

mockit.TestedClassWithGenericsTest$TestedClassWithConstructorParameterOfGenericType

Bug Category Details Line Priority
Class mockit.TestedClassWithGenericsTest$TestedClassWithConstructorParameterOfGenericType defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 422 Medium

mockit.TestedClassWithNoDITest

Bug Category Details Line Priority
Method mockit.TestedClassWithNoDITest.exerciseAnotherManuallyInstantiatedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 145 Medium
Method mockit.TestedClassWithNoDITest.exerciseAutomaticallyInstantiatedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 110 Medium
Method mockit.TestedClassWithNoDITest.exerciseManuallyInstantiatedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 125 Medium
Method mockit.TestedClassWithNoDITest.exerciseManuallyInstantiatedTestedObject() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 134 Medium

mockit.TestedClassWithNoDITest$1

Bug Category Details Line Priority
Return value of TestedClassWithNoDITest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 112 Medium

mockit.TestedClassWithNoDITest$2

Bug Category Details Line Priority
Return value of TestedClassWithNoDITest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 127 Medium

mockit.TestedClassWithNoDITest$4

Bug Category Details Line Priority
Return value of TestedClassWithNoDITest$Dependency.doSomething() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 147 Medium

mockit.TestedClassWithNoPublicConstructorTest$TestedClassWithPrivateConstructor

Bug Category Details Line Priority
Exception thrown in class mockit.TestedClassWithNoPublicConstructorTest$TestedClassWithPrivateConstructor at new mockit.TestedClassWithNoPublicConstructorTest$TestedClassWithPrivateConstructor() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 67 Medium

mockit.TestedClassWithQualifiedDependencyTest$Dependency1

Bug Category Details Line Priority
Class mockit.TestedClassWithQualifiedDependencyTest$Dependency1 defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$Dependency1 defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithQualifiedDependencyTest$Dependency2

Bug Category Details Line Priority
Class mockit.TestedClassWithQualifiedDependencyTest$Dependency2 defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$Dependency2 defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedClassWithQualifiedDependencyTest$TestedClass

Bug Category Details Line Priority
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium
Class mockit.TestedClassWithQualifiedDependencyTest$TestedClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL Not available Medium

mockit.TestedFieldExtractionTest

Bug Category Details Line Priority

mockit.TestedFieldExtractionTest$TestedClassWithInitializedFieldsOfVariousTypes

Bug Category Details Line Priority
Unread field: mockit.TestedFieldExtractionTest$TestedClassWithInitializedFieldsOfVariousTypes.name; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 106 Medium

mockit.TestedFieldWithFailedConstructorDITest$ClassWithOneParameter

Bug Category Details Line Priority
Unread field: mockit.TestedFieldWithFailedConstructorDITest$ClassWithOneParameter.value PERFORMANCE URF_UNREAD_FIELD 44 Medium

mockit.TestedMethodsTest

Bug Category Details Line Priority
Read of unwritten field service1 in mockit.TestedMethodsTest.createComplexObjectsWithGenericDependencies(TestedMethodsTest$ConcreteService2) CORRECTNESS NP_UNWRITTEN_FIELD 213 Medium

mockit.TestedParametersTest

Bug Category Details Line Priority

mockit.VerificationsInOrderTest

Bug Category Details Line Priority
Method mockit.VerificationsInOrderTest.verifyAllInvocationsWithSomeOfThemRecorded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 188 Medium
Method mockit.VerificationsInOrderTest.verifyAllInvocationsWithSomeOfThemRecorded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 197 Medium
Method mockit.VerificationsInOrderTest.verifyInvocationNotExpectedToOccurButWhichDoes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 336 Medium
Method mockit.VerificationsInOrderTest.verifyInvocationThatIsAllowedToHappenAnyNumberOfTimesAndHappensOnce() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 247 Medium
Method mockit.VerificationsInOrderTest.verifyInvocationsWithExactInvocationCountsHavingRecordedMatchingExpectationWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 219 Medium
Method mockit.VerificationsInOrderTest.verifyInvocationsWithExactInvocationCountsHavingRecordedMatchingExpectationWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 228 Medium
Method mockit.VerificationsInOrderTest.verifyRecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 166 Medium
Method mockit.VerificationsInOrderTest.verifyRecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 175 Medium
Method mockit.VerificationsInOrderTest.verifyRepeatingInvocation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 283 Medium
Method mockit.VerificationsInOrderTest.verifyRepeatingInvocationThatOccursOneTimeMoreThanExpected() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 301 Medium
Method mockit.VerificationsInOrderTest.verifyRepeatingInvocationUsingMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 317 Medium
Method mockit.VerificationsInOrderTest.verifySecondSequenceOfInvocationsWithTimesConstraintAfterVerifyingLastInvocationOfFirstSequence() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 508 Medium
Method mockit.VerificationsInOrderTest.verifySecondSequenceOfInvocationsWithTimesConstraintAfterVerifyingLastInvocationOfFirstSequence() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 515 Medium
Method mockit.VerificationsInOrderTest.verifySimpleInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 116 Medium
Method mockit.VerificationsInOrderTest.verifySimpleInvocationsWhenOutOfOrder() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 267 Medium
Method mockit.VerificationsInOrderTest.verifyTwoIndependentSequencesOfInvocationsWhichAreMixedTogether() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 482 Medium
Method mockit.VerificationsInOrderTest.verifyTwoIndependentSequencesOfInvocationsWhichAreMixedTogether() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 490 Medium
Method mockit.VerificationsInOrderTest.verifyTwoIndependentSequencesOfInvocationsWhichOccurSeparately() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 455 Medium
Method mockit.VerificationsInOrderTest.verifyTwoIndependentSequencesOfInvocationsWhichOccurSeparately() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 463 Medium
Method mockit.VerificationsInOrderTest.verifyUnrecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 134 Medium
Method mockit.VerificationsInOrderTest.verifyUnrecordedInvocationThatShouldHappenExactlyOnceButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 151 Medium
Method mockit.VerificationsInOrderTest.verifyUsingInvocationCountConstraintAndArgumentMatcherOnObjectWithMockedHashCode(VerificationsInOrderTest$ClassWithHashCode) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 389 Medium
Method mockit.VerificationsInOrderTest.verifyWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 352 Medium
Method mockit.VerificationsInOrderTest.verifyWithArgumentMatcherAndIndividualInvocationCountWhenOutOfOrder() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 432 Medium
Method mockit.VerificationsInOrderTest.verifyWithArgumentMatchersWhenOutOfOrder() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 410 Medium
Method mockit.VerificationsInOrderTest.verifyWithIndividualInvocationCountsForNonConsecutiveInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 367 Medium

mockit.VerificationsTest

Bug Category Details Line Priority
Method mockit.VerificationsTest.verifyInvocationThatIsAllowedToHappenOnceOrMoreAndHappensOnce() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 153 Medium
Method mockit.VerificationsTest.verifyInvocationThatMatchesExpectationRecordedWithAnyMatcherButWithArgumentValueWhichDidNotOccur() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 362 Medium
Method mockit.VerificationsTest.verifyInvocationThatMatchesExpectationRecordedWithAnyMatcherButWithArgumentValueWhichDidNotOccur() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 370 Medium
Method mockit.VerificationsTest.verifyInvocationThatShouldNotOccurButDid() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 250 Medium
Method mockit.VerificationsTest.verifyInvocationsWithInvocationCount() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 187 Medium
Method mockit.VerificationsTest.verifyInvocationsWithInvocationCountLargerThanOccurred() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 208 Medium
Method mockit.VerificationsTest.verifyInvocationsWithInvocationCountSmallerThanOccurred() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 230 Medium
Method mockit.VerificationsTest.verifyRecordedInvocationThatNeverHappens() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 128 Medium
Method mockit.VerificationsTest.verifyRecordedInvocationThatNeverHappens() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 137 Medium
Method mockit.VerificationsTest.verifySimpleInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 93 Medium
Method mockit.VerificationsTest.verifyThroughCapturedArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 322 Medium
Method mockit.VerificationsTest.verifyUnrecordedInvocationThatNeverHappens() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 114 Medium
Method mockit.VerificationsTest.verifyUnrecordedInvocationThatShouldHappenButDoesNot() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 170 Medium
Method mockit.VerificationsTest.verifyWithArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 265 Medium
Method mockit.VerificationsTest.verifyWithArgumentMatcherAndIndividualInvocationCounts() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 279 Medium
Method mockit.VerificationsTest.verifyWithCustomArgumentMatcher() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 342 Medium
Method mockit.VerificationsTest.verifyWithCustomArgumentMatcherWithoutArgumentValue() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 300 Medium
Method mockit.VerificationsTest.verityTwoInvocationsToMethodMatchedOnSpecificInstanceWithNoArgumentMatchers(VerificationsTest$Dependency) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 389 Medium

mockit.VerificationsTest$13$1

Bug Category Details Line Priority
Uncallable method mockit.VerificationsTest$13$1.isNotEmpty(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 305 Medium

mockit.VerificationsTest$15$1

Bug Category Details Line Priority
Uncallable method mockit.VerificationsTest$15$1.isEmpty(String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 347 Medium

mockit.VerificationsWithSomeArgumentMatchersTest

Bug Category Details Line Priority
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.anotherOperation(byte, long) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 186 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticBooleanMethod(boolean, String, int[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 190 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.booleanValues(long, byte, double, short) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 265 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 267 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 306 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.lambda$useMatcherOnlyForFirstArgumentWithUnexpectedReplayValue$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 217 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.lambda$useMatcherOnlyForLastArgumentWithUnexpectedReplayValue$2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 251 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.lambda$useMatcherOnlyForSecondArgumentWithUnexpectedReplayValue$1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 234 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useAnyIntField() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 286 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useMatcherOnlyForOneArgument() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 192 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useMatchersForParametersOfAllSizes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 269 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useMatchersInInvocationsToInterfaceMethods(VerificationsWithSomeArgumentMatchersTest$Scheduler) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 377 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useMatchersInInvocationsToInterfaceMethods(VerificationsWithSomeArgumentMatchersTest$Scheduler) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 384 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useSeveralAnyFields() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 309 Medium
Method mockit.VerificationsWithSomeArgumentMatchersTest.useWithMethodsMixedWithAnyFields() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 336 Medium

mockit.VerificationsWithSomeArgumentMatchersTest$1

Bug Category Details Line Priority
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.anotherOperation(byte, long) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 199 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticBooleanMethod(boolean, String, int[]) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 203 Medium

mockit.VerificationsWithSomeArgumentMatchersTest$5

Bug Category Details Line Priority
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.booleanValues(long, byte, double, short) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 272 Medium
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 274 Medium

mockit.VerificationsWithSomeArgumentMatchersTest$7

Bug Category Details Line Priority
Return value of VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 318 Medium

mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator

Bug Category Details Line Priority
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 168 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 168 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticBooleanMethod(boolean, String, int[]) has unused parameters STYLE UP_UNUSED_PARAMETER 168 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) has unused parameters STYLE UP_UNUSED_PARAMETER 112 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) has unused parameters STYLE UP_UNUSED_PARAMETER 112 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) has unused parameters STYLE UP_UNUSED_PARAMETER 112 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticLongValues(long, byte, double, char) has unused parameters STYLE UP_UNUSED_PARAMETER 112 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 95 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 95 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 95 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticSetValues(long, byte, double, short) has unused parameters STYLE UP_UNUSED_PARAMETER 95 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticVoidMethod(long, char, float) has unused parameters STYLE UP_UNUSED_PARAMETER 153 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticVoidMethod(long, char, float) has unused parameters STYLE UP_UNUSED_PARAMETER 153 Medium
Static or private method mockit.VerificationsWithSomeArgumentMatchersTest$Collaborator.staticVoidMethod(long, char, float) has unused parameters STYLE UP_UNUSED_PARAMETER 153 Medium

mockit.WithCaptureTest

Bug Category Details Line Priority
Private or static method mockit.WithCaptureTest.getData() only returns one constant value STYLE MRC_METHOD_RETURNS_CONSTANT 672 Medium
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 245 Medium
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 703 Medium
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 716 Medium
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 428 Medium
Return value of new WithCaptureTest$PersonDAO() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 855 Medium
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 806 Medium
Method mockit.WithCaptureTest.attemptToCaptureArgumentsIntoFields() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 476 Medium
Method mockit.WithCaptureTest.captureArgumentFromLastMatchingInvocationToLocalVariable() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 248 Medium
Method mockit.WithCaptureTest.captureArgumentOfPrimitiveTypeToLocalVariableOfPrimitiveType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 396 Medium
Method mockit.WithCaptureTest.captureArgumentOfPrimitiveTypeToLocalVariableOfReferenceType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 412 Medium
Method mockit.WithCaptureTest.captureArgumentOfReferenceTypeToLocalVariableOfPrimitiveType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 296 Medium
Method mockit.WithCaptureTest.captureArgumentOfWrapperTypeToLocalVariableOfPrimitiveType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 264 Medium
Method mockit.WithCaptureTest.captureArgumentToVariableOfSpecificSubtypeForSeparateInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 333 Medium
Method mockit.WithCaptureTest.captureArgumentsForInvocationAlreadyMatchedByRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 516 Medium
Method mockit.WithCaptureTest.captureArgumentsForInvocationAlreadyMatchedByRecordedExpectation() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 524 Medium
Method mockit.WithCaptureTest.captureArgumentsFromConsecutiveMatchingInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 554 Medium
Method mockit.WithCaptureTest.captureArgumentsIntoAListOfASubtypeOfTheCapturedParameterType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 962 Medium
Method mockit.WithCaptureTest.captureArgumentsIntoListInExpectationBlock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 684 Medium
Method mockit.WithCaptureTest.captureArgumentsIntoListInVerificationBlock() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 721 Medium
Method mockit.WithCaptureTest.captureArgumentsToLocalVariables() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 431 Medium
Method mockit.WithCaptureTest.captureArgumentsWhileMixingAnyFieldsAndLiteralValuesAndCallsToOtherMethods() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 649 Medium
Method mockit.WithCaptureTest.captureArrayArguments() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 598 Medium
Method mockit.WithCaptureTest.captureArrayArgumentsToVariablesWithSpecificElementSubtypes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 372 Medium
Method mockit.WithCaptureTest.captureFirstArgumentInTwoParameterMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 498 Medium
Method mockit.WithCaptureTest.captureListArgumentsFromMultipleInvocations() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 983 Medium
Method mockit.WithCaptureTest.captureMultipleNewInstances(WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 783 Medium
Method mockit.WithCaptureTest.captureNewInstancesAfterVerifyingNewInstanceOfDifferentType(WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 855 Medium
Method mockit.WithCaptureTest.captureNewInstancesAfterVerifyingNewInstanceOfDifferentType(WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 859 Medium
Method mockit.WithCaptureTest.captureNewedInstance(WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 759 Medium
Method mockit.WithCaptureTest.captureNullArgumentOfWrapperTypeToLocalVariableOfSameWrapperType() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 280 Medium
Method mockit.WithCaptureTest.captureNullIntoAListDuringVerification() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 312 Medium
Method mockit.WithCaptureTest.captureTwoSetsOfNewInstancesOfTheSameType(WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 836 Medium
Method mockit.WithCaptureTest.captureVarargsParameter() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 619 Medium
Method mockit.WithCaptureTest.captureVarargsValuesFromAllInvocations(WithCaptureTest$ClassWithVarargsMethod) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 937 Medium
Method mockit.WithCaptureTest.lambda$attemptToCaptureArgumentForInvocationThatNeverOccurred_ordered$2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 895 Medium
Method mockit.WithCaptureTest.lambda$attemptToCaptureArgumentForInvocationThatNeverOccurred_unordered$1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 876 Medium
Method mockit.WithCaptureTest.lambda$attemptToCaptureNewInstanceWhenThereWasNone$0() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 808 Medium

mockit.WithCaptureTest$1

Bug Category Details Line Priority
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 251 Medium

mockit.WithCaptureTest$10

Bug Category Details Line Priority
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 440 Medium

mockit.WithCaptureTest$18

Bug Category Details Line Priority
Exception thrown in class mockit.WithCaptureTest$18 at new mockit.WithCaptureTest$18(WithCaptureTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 656 Medium

mockit.WithCaptureTest$19

Bug Category Details Line Priority
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 687 Medium

mockit.WithCaptureTest$20

Bug Category Details Line Priority
Return value of WithCaptureTest$PersonDAO.create(String, int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 726 Medium

mockit.WithCaptureTest$23

Bug Category Details Line Priority
Return value of Verifications.withCapture(Object) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 814 Medium

mockit.WithCaptureTest$25

Bug Category Details Line Priority
Return value of new WithCaptureTest$PersonDAO() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 861 Medium
Method new mockit.WithCaptureTest$25(WithCaptureTest, WithCaptureTest$Person, WithCaptureTest$Person) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 861 Medium

mockit.asm.AnnotatedReader

Bug Category Details Line Priority
Suspicious comparison of Boolean references in mockit.asm.AnnotatedReader.readAttributes() BAD_PRACTICE RC_REF_COMPARISON_BAD_PRACTICE_BOOLEAN 56 Medium
Switch statement found in mockit.asm.AnnotatedReader.readAttributes() where default case is missing STYLE SF_SWITCH_NO_DEFAULT 62-70 Medium

mockit.asm.BaseWriter

Bug Category Details Line Priority
mockit.asm.BaseWriter.getConstantPoolGeneration() may expose internal representation by returning BaseWriter.cp MALICIOUS_CODE EI_EXPOSE_REP 52 Medium
Class mockit.asm.BaseWriter 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 147-152 Medium

mockit.asm.annotations.AnnotationReader

Bug Category Details Line Priority
Switch statement found in mockit.asm.annotations.AnnotationReader.readAnnotationValue(String, AnnotationVisitor) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 66-77 Medium
Method mockit.asm.annotations.AnnotationReader.getArrayElementValue(int, int) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 196 Medium

mockit.asm.annotations.AnnotationVisitor

Bug Category Details Line Priority
new mockit.asm.annotations.AnnotationVisitor(ConstantPoolGeneration, String) may expose internal representation by storing an externally mutable object into AnnotationVisitor.cp MALICIOUS_CODE EI_EXPOSE_REP2 64 Medium
mockit.asm.annotations.AnnotationVisitor.setNext(AnnotationVisitor) may expose internal representation by storing an externally mutable object into AnnotationVisitor.next MALICIOUS_CODE EI_EXPOSE_REP2 88 Medium
Class mockit.asm.annotations.AnnotationVisitor 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 368-374 Medium

mockit.asm.classes.ClassReader

Bug Category Details Line Priority
mockit.asm.classes.ClassReader.accept(ClassVisitor) may expose internal representation by storing an externally mutable object into ClassReader.cv MALICIOUS_CODE EI_EXPOSE_REP2 93 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 135 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 139 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 144 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 149 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 154 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 159 Medium
Method mockit.asm.classes.ClassReader.readAttribute(String) returns null for Boolean type STYLE TBP_TRISTATE_BOOLEAN_PATTERN 162 Medium

mockit.asm.classes.ClassWriter

Bug Category Details Line Priority
Class mockit.asm.classes.ClassWriter has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 30-298 Medium
Class mockit.asm.classes.ClassWriter has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 30-298 Medium

mockit.asm.classes.ConstantPoolCopying

Bug Category Details Line Priority
Method mockit.asm.classes.ConstantPoolCopying.copyPool(BootstrapMethodsWriter) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 75 Medium

mockit.asm.constantPool.ConstantPoolGeneration

Bug Category Details Line Priority
mockit.asm.constantPool.ConstantPoolGeneration.copy(byte[], int, int, Item[]) may expose internal representation by storing an externally mutable object into ConstantPoolGeneration.items MALICIOUS_CODE EI_EXPOSE_REP2 731 Medium
Class mockit.asm.constantPool.ConstantPoolGeneration 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 699-705 Medium

mockit.asm.constantPool.Item

Bug Category Details Line Priority
mockit.asm.constantPool.Item.getNext() may expose internal representation by returning Item.next MALICIOUS_CODE EI_EXPOSE_REP 94 Medium

mockit.asm.constantPool.ModuleItem

Bug Category Details Line Priority
Non-null field strVal is not initialized by new mockit.asm.constantPool.ModuleItem(int, int, String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 18-20 Medium

mockit.asm.constantPool.PackageItem

Bug Category Details Line Priority
Non-null field strVal is not initialized by new mockit.asm.constantPool.PackageItem(int, int, String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 18-20 Medium

mockit.asm.constantPool.StringItem

Bug Category Details Line Priority
Non-null field strVal is not initialized by new mockit.asm.constantPool.StringItem(int, int, String) CORRECTNESS NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR 18-20 Medium

mockit.asm.controlFlow.CFGAnalysis

Bug Category Details Line Priority
mockit.asm.controlFlow.CFGAnalysis.getLabelForCurrentBasicBlock() may expose internal representation by returning CFGAnalysis.currentBlock MALICIOUS_CODE EI_EXPOSE_REP 110 Medium
mockit.asm.controlFlow.CFGAnalysis.getLabelForFirstBasicBlock() may expose internal representation by returning CFGAnalysis.labels MALICIOUS_CODE EI_EXPOSE_REP 101 Medium
new mockit.asm.controlFlow.CFGAnalysis(ConstantPoolGeneration, String, ByteVector, boolean) may expose internal representation by storing an externally mutable object into CFGAnalysis.code MALICIOUS_CODE EI_EXPOSE_REP2 91 Medium
new mockit.asm.controlFlow.CFGAnalysis(ConstantPoolGeneration, String, ByteVector, boolean) may expose internal representation by storing an externally mutable object into CFGAnalysis.cp MALICIOUS_CODE EI_EXPOSE_REP2 89 Medium
mockit.asm.controlFlow.CFGAnalysis.updateCurrentBlockForLabelBeforeNextInstruction(Label) may expose internal representation by storing an externally mutable object into CFGAnalysis.currentBlock MALICIOUS_CODE EI_EXPOSE_REP2 323 Medium
mockit.asm.controlFlow.CFGAnalysis.updateCurrentBlockForLabelBeforeNextInstruction(Label) may expose internal representation by storing an externally mutable object into CFGAnalysis.previousBlock MALICIOUS_CODE EI_EXPOSE_REP2 360 Medium

mockit.asm.controlFlow.Edge

Bug Category Details Line Priority
new mockit.asm.controlFlow.Edge(int, Label) may expose internal representation by storing an externally mutable object into Edge.successor MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium
mockit.asm.controlFlow.Edge.setNext(Edge) may expose internal representation by storing an externally mutable object into Edge.next MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium

mockit.asm.controlFlow.Frame

Bug Category Details Line Priority
Method mockit.asm.controlFlow.Frame.execute(int) is excessively complex, with a cyclomatic complexity of 126 STYLE CC_CYCLOMATIC_COMPLEXITY 636 High
Method mockit.asm.controlFlow.Frame.executeLDC(Item) is excessively complex, with a cyclomatic complexity of 61 STYLE CC_CYCLOMATIC_COMPLEXITY 910 Medium
Class mockit.asm.controlFlow.Frame defines a field or local variable named 'var' CORRECTNESS IMC_IMMATURE_CLASS_VAR_NAME 1131 Medium
Class mockit.asm.controlFlow.Frame defines a field or local variable named 'var' CORRECTNESS IMC_IMMATURE_CLASS_VAR_NAME 457 Medium
Switch statement found in mockit.asm.controlFlow.Frame.execute(int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 636-829 Medium
Switch statement found in mockit.asm.controlFlow.Frame.execute(int, TypeOrMemberItem) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1100-1119 Medium
Switch statement found in mockit.asm.controlFlow.Frame.executeJUMP(int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 607-626 Medium
Switch statement found in mockit.asm.controlFlow.Frame.executeNewArray(int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 342-365 Medium
Switch statement found in mockit.asm.controlFlow.Frame.executeTYPE(int, int, StringItem) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 1017-1029 Medium
Switch statement found in mockit.asm.controlFlow.Frame.executeVAR(int, int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 522-547 Medium

mockit.asm.controlFlow.Label

Bug Category Details Line Priority
mockit.asm.controlFlow.Label.getFrame() may expose internal representation by returning Label.frame MALICIOUS_CODE EI_EXPOSE_REP 170 Medium
mockit.asm.controlFlow.Label.getSuccessor() may expose internal representation by returning Label.successor MALICIOUS_CODE EI_EXPOSE_REP 349 Medium
mockit.asm.controlFlow.Label.setSuccessors(Edge) may expose internal representation by returning Label.successor MALICIOUS_CODE EI_EXPOSE_REP 356 Medium
mockit.asm.controlFlow.Label.setSuccessors(Edge) may expose internal representation by storing an externally mutable object into Label.successors MALICIOUS_CODE EI_EXPOSE_REP2 355 Medium
Primitive field mockit.asm.controlFlow.Label.position is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 61 Medium

mockit.asm.controlFlow.StackMapTableWriter

Bug Category Details Line Priority
Method mockit.asm.controlFlow.StackMapTableWriter.getNumLocals() accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 158 Medium
Method mockit.asm.controlFlow.StackMapTableWriter.getStackSize() accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 167 Medium
Method mockit.asm.controlFlow.StackMapTableWriter.writeFrameForJava6OrNewer(int, int) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 264 Medium
Class mockit.asm.controlFlow.StackMapTableWriter defines two or more one for one associated lists or arrays STYLE PL_PARALLEL_LISTS 338 Medium

mockit.asm.exceptionHandling.ExceptionHandler

Bug Category Details Line Priority

mockit.asm.exceptionHandling.ExceptionHandling

Bug Category Details Line Priority
new mockit.asm.exceptionHandling.ExceptionHandling(ConstantPoolGeneration) may expose internal representation by storing an externally mutable object into ExceptionHandling.cp MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

mockit.asm.fields.FieldReader

Bug Category Details Line Priority
new mockit.asm.fields.FieldReader(ClassReader, ClassVisitor) may expose internal representation by storing an externally mutable object into FieldReader.cv MALICIOUS_CODE EI_EXPOSE_REP2 20 Medium
Class mockit.asm.fields.FieldReader has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 19-66 Medium
Method mockit.asm.fields.FieldReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 63 Medium
Method mockit.asm.fields.FieldReader.readAttribute(String) returns null for Boolean type STYLE TBP_TRISTATE_BOOLEAN_PATTERN 66 Medium

mockit.asm.jvmConstants.JVMInstruction

Bug Category Details Line Priority
mockit.asm.jvmConstants.JVMInstruction.SIZE is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 25 Medium
mockit.asm.jvmConstants.JVMInstruction.TYPE is a mutable array MALICIOUS_CODE MS_MUTABLE_ARRAY 72 Medium

mockit.asm.metadata.ClassMetadataReader

Bug Category Details Line Priority
new mockit.asm.metadata.ClassMetadataReader(byte[], EnumSet) may expose internal representation by storing an externally mutable object into ClassMetadataReader.attributesToRead MALICIOUS_CODE EI_EXPOSE_REP2 98 Medium
new mockit.asm.metadata.ClassMetadataReader(byte[], EnumSet) may expose internal representation by storing an externally mutable object into ClassMetadataReader.code MALICIOUS_CODE EI_EXPOSE_REP2 94 Medium
Return value of readUnsignedShort(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 361 High
Method call in mockit.asm.metadata.ClassMetadataReader.getAnnotations() passes object that the method is called on as a parameter CORRECTNESS SPP_PASSING_THIS_AS_PARM 640 Medium

mockit.asm.methods.LocalVariableTableWriter

Bug Category Details Line Priority
Class mockit.asm.methods.LocalVariableTableWriter 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 87 Medium

mockit.asm.methods.MethodReader

Bug Category Details Line Priority
new mockit.asm.methods.MethodReader(ClassReader, ClassVisitor) may expose internal representation by storing an externally mutable object into MethodReader.cv MALICIOUS_CODE EI_EXPOSE_REP2 84 Medium
Class mockit.asm.methods.MethodReader has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 82-715 Medium
Method mockit.asm.methods.MethodReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 129 Medium
Method mockit.asm.methods.MethodReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 132 Medium
Method mockit.asm.methods.MethodReader.readAttribute(String) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 135 Medium
Switch statement found in mockit.asm.methods.MethodReader.readBytecodeInstructionsInCodeBlock(int, int) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 441-492 Medium
Switch statement found in mockit.asm.methods.MethodReader.readLabelsForNonSwitchInstruction(int, byte) where default case is missing STYLE SF_SWITCH_NO_DEFAULT 322-355 Medium
Method mockit.asm.methods.MethodReader.readAttribute(String) returns null for Boolean type STYLE TBP_TRISTATE_BOOLEAN_PATTERN 137 Medium

mockit.asm.types.JavaType

Bug Category Details Line Priority
Class mockit.asm.types.JavaType 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 288-301 Medium

mockit.asm.types.PrimitiveType

Bug Category Details Line Priority
Class mockit.asm.types.PrimitiveType has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 22-189 Medium
Hard coded password found SECURITY HARD_CODE_PASSWORD 22-189 Medium
Class mockit.asm.types.PrimitiveType 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 141 Medium
Class mockit.asm.types.PrimitiveType defines two or more one for one associated lists or arrays STYLE PL_PARALLEL_LISTS 64 Medium
Simple field mockit.asm.types.PrimitiveType.constOpcode is used like an enum STYLE PME_POOR_MANS_ENUM 70 Medium
Simple field mockit.asm.types.PrimitiveType.loadOpcode is used like an enum STYLE PME_POOR_MANS_ENUM 69 Medium
Simple field mockit.asm.types.PrimitiveType.loadOrStoreOffset is used like an enum STYLE PME_POOR_MANS_ENUM 67 Medium
Simple field mockit.asm.types.PrimitiveType.size is used like an enum STYLE PME_POOR_MANS_ENUM 68 Medium

mockit.asm.types.ReferenceType

Bug Category Details Line Priority
Class mockit.asm.types.ReferenceType has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-173 Medium
Class mockit.asm.types.ReferenceType has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-173 Medium
Class mockit.asm.types.ReferenceType has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-173 Medium
Class mockit.asm.types.ReferenceType has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-173 Medium
The method 'getDescriptor(StringBuilder, Class)' in class 'ReferenceType' hides a method in class 'JavaType'. Declare the respective methods non-static or private to eradicate the problem. CORRECTNESS HSM_HIDING_METHOD 89 Medium
Class mockit.asm.types.ReferenceType 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 104-105 Medium

mockit.asm.util.ByteVector

Bug Category Details Line Priority
mockit.asm.util.ByteVector.getData() may expose internal representation by returning ByteVector.data MALICIOUS_CODE EI_EXPOSE_REP 44 Medium

mockit.asm.util.BytecodeReader

Bug Category Details Line Priority
Exception thrown in class mockit.asm.util.BytecodeReader at new mockit.asm.util.BytecodeReader(byte[]) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 75 Medium
Primitive field mockit.asm.util.BytecodeReader.codeIndex is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 69 Medium
Method mockit.asm.util.BytecodeReader.readConst(int) returns different types of unrelated Objects STYLE URV_UNRELATED_RETURN_VALUES 486 Medium

mockit.coverage.CallPoint

Bug Category Details Line Priority
method mockit.coverage.CallPoint.checkForJUnit3Availability() converts an exception into a boolean 'error code' value STYLE EXS_EXCEPTION_SOFTENING_RETURN_FALSE 78 Medium
Class mockit.coverage.CallPoint defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Method mockit.coverage.CallPoint.isTestMethod(StackTraceElement) checks a map with containsKey(), before using get() CORRECTNESS MUI_CONTAINSKEY_BEFORE_GET 134 Medium

mockit.coverage.CoverageCheck

Bug Category Details Line Priority
Unconstrained method mockit.coverage.CoverageCheck.createOrDeleteIndicatorFile() converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 143 High
Potentially dangerous use of non-short-circuit logic in mockit.coverage.CoverageCheck.verifyThresholds() STYLE NS_DANGEROUS_NON_SHORT_CIRCUIT 118 High
Exceptional return value of java.io.File.delete() ignored in mockit.coverage.CoverageCheck.createOrDeleteIndicatorFile() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 135 Medium
Exceptional return value of java.io.File.setLastModified(long) ignored in mockit.coverage.CoverageCheck.createOrDeleteIndicatorFile() BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 137 Medium
This method new mockit.coverage.CoverageCheck() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 105 Medium

mockit.coverage.CoverageCheck$Threshold

Bug Category Details Line Priority
Method new mockit.coverage.CoverageCheck$Threshold(String) accesses list or array with constant index CORRECTNESS CLI_CONSTANT_LIST_INDEX 64 Medium

mockit.coverage.OutputFileGenerator

Bug Category Details Line Priority
Unconstrained method mockit.coverage.OutputFileGenerator.generate() converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 106 High
Unconstrained method mockit.coverage.OutputFileGenerator.generateAggregateReportFromInputFiles(String[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 117 High
Method mockit.coverage.OutputFileGenerator.<static initializer for OutputFileGenerator>() specifies an unrelated class when allocating a Logger. Saw "mockit.coverage.reporting.CoverageReport", expected "mockit.coverage.OutputFileGenerator". CORRECTNESS LO_SUSPECT_LOG_CLASS 24 Medium
Illegal class is passed to LoggerFactory#getLogger(Class). It should be one of [mockit.coverage.OutputFileGenerator]. CORRECTNESS SLF4J_ILLEGAL_PASSED_CLASS 24 High

mockit.coverage.TestRun

Bug Category Details Line Priority
Shared primitive variable "terminated" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 123 Medium

mockit.coverage.data.CoverageData

Bug Category Details Line Priority
mockit.coverage.data.CoverageData.getFileToFileData() may expose internal representation by returning CoverageData.fileToFileData MALICIOUS_CODE EI_EXPOSE_REP 64 Medium
Unconstrained method mockit.coverage.data.CoverageData.readDataFromFile(File) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 249 High
Class mockit.coverage.data.CoverageData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Public static mockit.coverage.data.CoverageData.instance() may expose internal representation by returning CoverageData.instance MALICIOUS_CODE MS_EXPOSE_REP 44 Medium
Object deserialization is used in mockit.coverage.data.CoverageData.readDataFromFile(File) SECURITY OBJECT_DESERIALIZATION 247 High
Class (mockit.coverage.data.CoverageData) using singleton design pattern has non-private constructor. CORRECTNESS SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR 37-51 Medium
Class (mockit.coverage.data.CoverageData) using singleton design pattern directly or indirectly implements Serializable interface. CORRECTNESS SING_SINGLETON_IMPLEMENTS_SERIALIZABLE 37-276 Medium

mockit.coverage.data.FileCoverageData

Bug Category Details Line Priority
Class mockit.coverage.data.FileCoverageData has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 26-94 Medium
Class mockit.coverage.data.FileCoverageData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Primitive field mockit.coverage.data.FileCoverageData.dataCoverageInfo is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 53 Medium
Primitive field mockit.coverage.data.FileCoverageData.lineCoverageInfo is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 52 Medium

mockit.coverage.dataItems.FieldData

Bug Category Details Line Priority
Class mockit.coverage.dataItems.FieldData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Method mockit.coverage.dataItems.FieldData.isCovered() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 43 Medium

mockit.coverage.dataItems.InstanceFieldData

Bug Category Details Line Priority
Class mockit.coverage.dataItems.InstanceFieldData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Method mockit.coverage.dataItems.InstanceFieldData.markAsCoveredIfNoUnreadValuesAreLeft() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 61 Medium
Serializable class mockit.coverage.dataItems.InstanceFieldData defines a final transient field CORRECTNESS NFF_NON_FUNCTIONAL_FIELD Not available Medium
The field mockit.coverage.dataItems.InstanceFieldData.testIdsToAssignments is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

mockit.coverage.dataItems.PerFileDataCoverage

Bug Category Details Line Priority
Class mockit.coverage.dataItems.PerFileDataCoverage defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 43 Medium
Class mockit.coverage.dataItems.PerFileDataCoverage defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium

mockit.coverage.dataItems.StaticFieldData

Bug Category Details Line Priority
Class mockit.coverage.dataItems.StaticFieldData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Method mockit.coverage.dataItems.StaticFieldData.markAsCoveredIfNoUnreadValuesAreLeft() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 36 Medium
Serializable class mockit.coverage.dataItems.StaticFieldData defines a final transient field CORRECTNESS NFF_NON_FUNCTIONAL_FIELD Not available Medium
The field mockit.coverage.dataItems.StaticFieldData.testIdsToAssignments is transient but isn't set by deserialization BAD_PRACTICE SE_TRANSIENT_FIELD_NOT_RESTORED Not available Medium

mockit.coverage.lines.BranchCoverageData

Bug Category Details Line Priority
Class mockit.coverage.lines.BranchCoverageData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium

mockit.coverage.lines.LineCoverageData

Bug Category Details Line Priority
mockit.coverage.lines.LineCoverageData.getBranches() may expose internal representation by returning LineCoverageData.branches MALICIOUS_CODE EI_EXPOSE_REP 81 Medium
Class mockit.coverage.lines.LineCoverageData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium

mockit.coverage.lines.LineSegmentData

Bug Category Details Line Priority
mockit.coverage.lines.LineSegmentData.getCallPoints() may expose internal representation by returning LineSegmentData.callPoints MALICIOUS_CODE EI_EXPOSE_REP 87 Medium
Class mockit.coverage.lines.LineSegmentData defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium

mockit.coverage.lines.PerFileLineCoverage

Bug Category Details Line Priority
Class mockit.coverage.lines.PerFileLineCoverage defines a computed serialVersionUID that doesn't equate to the calculated value CORRECTNESS IMC_IMMATURE_CLASS_BAD_SERIALVERSIONUID Not available Medium
Method mockit.coverage.lines.PerFileLineCoverage.computeValuesIfNeeded() checks a map with containsKey(), before using get() CORRECTNESS MUI_CONTAINSKEY_BEFORE_GET 206 Medium

mockit.coverage.modification.CFGTracking

Bug Category Details Line Priority
Class mockit.coverage.modification.CFGTracking defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 96 Medium
Class mockit.coverage.modification.CFGTracking defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 89 Medium
Class mockit.coverage.modification.CFGTracking has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 41-167 Medium
Simple field mockit.coverage.modification.CFGTracking.foundPotentialBooleanExpressionValue is used like an enum STYLE PME_POOR_MANS_ENUM 73 Medium
Method mockit.coverage.modification.CFGTracking.afterMethodInstruction(int, String, String) orders expressions in a conditional in a sub optimal way PERFORMANCE SEO_SUBOPTIMAL_EXPRESSION_ORDER 157 Medium

mockit.coverage.modification.ClassModification

Bug Category Details Line Priority
Method mockit.coverage.modification.ClassModification.modifyClass(String, ProtectionDomain, byte[]) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 51 Medium

mockit.coverage.modification.ClassesNotLoaded

Bug Category Details Line Priority
new mockit.coverage.modification.ClassesNotLoaded(ClassModification) may expose internal representation by storing an externally mutable object into ClassesNotLoaded.classModification MALICIOUS_CODE EI_EXPOSE_REP2 29 Medium

mockit.coverage.reporting.CoverageReport

Bug Category Details Line Priority
Exceptional return value of java.io.File.delete() ignored in mockit.coverage.reporting.CoverageReport.deleteOutdatedHTMLFileIfExists(String) BAD_PRACTICE RV_RETURN_VALUE_IGNORED_BAD_PRACTICE 146 Medium

mockit.coverage.reporting.dataCoverage.DataCoverageOutput

Bug Category Details Line Priority
new mockit.coverage.reporting.dataCoverage.DataCoverageOutput(PerFileDataCoverage) may expose internal representation by storing an externally mutable object into DataCoverageOutput.coverageInfo MALICIOUS_CODE EI_EXPOSE_REP2 35 Medium
This method mockit.coverage.reporting.dataCoverage.DataCoverageOutput.moveToNextField() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 50 Medium
This method mockit.coverage.reporting.dataCoverage.DataCoverageOutput.moveToNextField() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 51 Medium
This method mockit.coverage.reporting.dataCoverage.DataCoverageOutput.moveToNextField() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 52 Medium

mockit.coverage.reporting.lineCoverage.LineCoverageOutput

Bug Category Details Line Priority
new mockit.coverage.reporting.lineCoverage.LineCoverageOutput(PrintWriter, PerFileLineCoverage, boolean) may expose internal representation by storing an externally mutable object into LineCoverageOutput.lineCoverageData MALICIOUS_CODE EI_EXPOSE_REP2 27 Medium
new mockit.coverage.reporting.lineCoverage.LineCoverageOutput(PrintWriter, PerFileLineCoverage, boolean) may expose internal representation by storing an externally mutable object into LineCoverageOutput.output MALICIOUS_CODE EI_EXPOSE_REP2 26 Medium

mockit.coverage.reporting.packages.IndexPage

Bug Category Details Line Priority
new mockit.coverage.reporting.packages.IndexPage(File, List, Collection, Map, Map) may expose internal representation by storing an externally mutable object into IndexPage.packageToFiles MALICIOUS_CODE EI_EXPOSE_REP2 45 Medium
new mockit.coverage.reporting.packages.IndexPage(File, List, Collection, Map, Map) may expose internal representation by storing an externally mutable object into IndexPage.sourceDirs MALICIOUS_CODE EI_EXPOSE_REP2 44 Medium

mockit.coverage.reporting.parsing.LineElement

Bug Category Details Line Priority
Class mockit.coverage.reporting.parsing.LineElement defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 191 Medium
mockit.coverage.reporting.parsing.LineElement.findNextBranchingPoint() may expose internal representation by returning LineElement.next MALICIOUS_CODE EI_EXPOSE_REP 166 Medium
mockit.coverage.reporting.parsing.LineElement.getNext() may expose internal representation by returning LineElement.next MALICIOUS_CODE EI_EXPOSE_REP 91 Medium
This method mockit.coverage.reporting.parsing.LineElement.getParenthesisBalance() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 196 Medium
This method mockit.coverage.reporting.parsing.LineElement.getParenthesisBalance() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 200 Medium
This method mockit.coverage.reporting.parsing.LineElement.getParenthesisBalance() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 203 Medium
This method mockit.coverage.reporting.parsing.LineElement.getParenthesisBalance() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 207 Medium
This method mockit.coverage.reporting.parsing.LineElement.isBranchingElement() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 182 Medium
This method mockit.coverage.reporting.parsing.LineElement.isBranchingElement() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 185 Medium

mockit.coverage.reporting.parsing.LineElement$1

Bug Category Details Line Priority
mockit.coverage.reporting.parsing.LineElement$1.next() cannot throw NoSuchElementException BAD_PRACTICE IT_NO_SUCH_ELEMENT 273-280 Medium

mockit.coverage.reporting.parsing.LineParser

Bug Category Details Line Priority
mockit.coverage.reporting.parsing.LineParser.getInitialElement() may expose internal representation by returning LineParser.initialElement MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
This method mockit.coverage.reporting.parsing.LineParser.addElement() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 197 Medium
This method mockit.coverage.reporting.parsing.LineParser.addFinalElement() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 192 Medium

mockit.coverage.testRedundancy.JUnitListener

Bug Category Details Line Priority
new mockit.coverage.testRedundancy.JUnitListener(TestCoverage) may expose internal representation by storing an externally mutable object into JUnitListener.testCoverage MALICIOUS_CODE EI_EXPOSE_REP2 19 Medium

mockit.coverage.testRedundancy.TestCoverage

Bug Category Details Line Priority
mockit.coverage.testRedundancy.TestCoverage.setCurrentTestMethod(Method) may expose internal representation by storing an externally mutable object into TestCoverage.currentTestMethod MALICIOUS_CODE EI_EXPOSE_REP2 42 Medium

mockit.integration.TestRunnerDecorator

Bug Category Details Line Priority
Incorrect lazy initialization of static field mockit.integration.TestRunnerDecorator.savePointForTest in mockit.integration.TestRunnerDecorator.prepareForNextTest() MT_CORRECTNESS LI_LAZY_INIT_STATIC 138-139 Medium

mockit.integration.junit4.BaseJUnit4DecoratorTest

Bug Category Details Line Priority
Method mockit.integration.junit4.BaseJUnit4DecoratorTest.beforeBase() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 50 Medium
Method mockit.integration.junit4.BaseJUnit4DecoratorTest.beforeClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 30 Medium

mockit.integration.junit4.FakeFrameworkMethod

Bug Category Details Line Priority
Unchecked/unconfirmed cast from mockit.Invocation to mockit.internal.faking.FakeInvocation in mockit.integration.junit4.FakeFrameworkMethod.invokeExplosively(Invocation, Object, Object[]) STYLE BC_UNCONFIRMED_CAST 37 Medium
Unchecked/unconfirmed cast from mockit.Invocation to mockit.internal.faking.FakeInvocation in mockit.integration.junit4.FakeFrameworkMethod.validatePublicVoidNoArg(Invocation, boolean, List) STYLE BC_UNCONFIRMED_CAST 51 Medium

mockit.integration.junit4.JUnit4DecoratorTest

Bug Category Details Line Priority
Method mockit.integration.junit4.JUnit4DecoratorTest.setUpAndUseFakesAgain() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 57 Medium
Method mockit.integration.junit4.JUnit4DecoratorTest.setUpAndUseSomeFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 46 Medium

mockit.integration.junit4.JUnit4ViolatedExpectationsTest

Bug Category Details Line Priority
Method mockit.integration.junit4.JUnit4ViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 17 Medium
Method mockit.integration.junit4.JUnit4ViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 26 Medium
Method mockit.integration.junit4.JUnit4ViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 39 Medium
Method mockit.integration.junit4.JUnit4ViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 52 Medium
Method mockit.integration.junit4.JUnit4ViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 64 Medium

mockit.integration.junit4.SecondJUnit4DecoratorTest

Bug Category Details Line Priority
Method mockit.integration.junit4.SecondJUnit4DecoratorTest.setUpFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 27 Medium

mockit.integration.junit4.TestSuiteWithBeforeClass

Bug Category Details Line Priority
Method mockit.integration.junit4.TestSuiteWithBeforeClass.setUpSuiteWideFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 17 Medium

mockit.integration.junit4.TestSuiteWithBeforeClass$1

Bug Category Details Line Priority
Uncallable method mockit.integration.junit4.TestSuiteWithBeforeClass$1.alwaysTrue() defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 20 High

mockit.integration.junit4.ThirdJUnit4DecoratorTest

Bug Category Details Line Priority
Method mockit.integration.junit4.ThirdJUnit4DecoratorTest.applyFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 27 Medium

mockit.integration.junit5.JMockitExtension

Bug Category Details Line Priority
mockit.integration.junit5.JMockitExtension.handleTestExecutionException(ExtensionContext, Throwable) may expose internal representation by storing an externally mutable object into JMockitExtension.thrownByTest MALICIOUS_CODE EI_EXPOSE_REP2 195 Medium

mockit.integration.junit5.JMockitExtension$ParamValueInitContext

Bug Category Details Line Priority
Class mockit.integration.junit5.JMockitExtension$ParamValueInitContext defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 255 Medium

mockit.integration.springframework.SpringIntegrationTest

Bug Category Details Line Priority
Method mockit.integration.springframework.SpringIntegrationTest.applySpringIntegration() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 23 Medium

mockit.integration.testng.TestNGRunnerDecorator

Bug Category Details Line Priority
Field mockit.integration.testng.TestNGRunnerDecorator.savePoint is an instance based ThreadLocal variable CORRECTNESS PMB_INSTANCE_BASED_THREAD_LOCAL Not available Medium

mockit.internal.BaseInvocation

Bug Category Details Line Priority
mockit.internal.BaseInvocation.getPrevious() may expose internal representation by returning BaseInvocation.previousInvocation MALICIOUS_CODE EI_EXPOSE_REP 77 Medium
mockit.internal.BaseInvocation.setPrevious(BaseInvocation) may expose internal representation by storing an externally mutable object into BaseInvocation.previousInvocation MALICIOUS_CODE EI_EXPOSE_REP2 81 Medium

mockit.internal.ClassFile

Bug Category Details Line Priority
Unconstrained method mockit.internal.ClassFile.readBytesFromClassFile(String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 186 High
Class mockit.internal.ClassFile has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 20-224 Medium
mockit.internal.ClassFile.readClassFromClasspath(String) may return null, but is declared @Nonnull CORRECTNESS NP_NONNULL_RETURN_VIOLATION 224 Medium
mockit.internal.ClassFile.readClassFromClasspath(String) may return null, but is declared @Nonnull CORRECTNESS NP_NONNULL_RETURN_VIOLATION 224 Medium

mockit.internal.ClassIdentification

Bug Category Details Line Priority
Unconstrained method mockit.internal.ClassIdentification.getLoadedClass() converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 30 High

mockit.internal.ClassLoadingBridge

Bug Category Details Line Priority
Unconstrained method mockit.internal.ClassLoadingBridge.setBridgeField(Class, ClassLoadingBridge) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 117 High
mockit.internal.ClassLoadingBridge.hostJREClassName isn't final and cannot be protected from malicious code MALICIOUS_CODE MS_CANNOT_BE_FINAL Not available Medium

mockit.internal.capturing.CaptureTransformer

Bug Category Details Line Priority
Using pointer equality to compare a java.util.Map<K,V> with a java.util.Map<mockit.internal.ClassIdentification,byte[]> in mockit.internal.capturing.CaptureTransformer.modifyAndRegisterClass(ClassLoader, String, ClassReader) CORRECTNESS EC_UNRELATED_TYPES_USING_POINTER_EQUALITY 154 High

mockit.internal.classGeneration.BaseSubclassGenerator

Bug Category Details Line Priority
Class mockit.internal.classGeneration.BaseSubclassGenerator defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 133 Medium

mockit.internal.classGeneration.ImplementationClass

Bug Category Details Line Priority
mockit.internal.classGeneration.ImplementationClass.getGeneratedBytecode() may expose internal representation by returning ImplementationClass.generatedBytecode MALICIOUS_CODE EI_EXPOSE_REP 83 Medium
Unconstrained method mockit.internal.classGeneration.ImplementationClass.defineNewClass(ClassVisitor) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 77 High

mockit.internal.expectations.ActiveInvocations

Bug Category Details Line Priority
Static or private method mockit.internal.expectations.ActiveInvocations.matchedArgument(int, String) has unused parameters STYLE UP_UNUSED_PARAMETER 129-139 Medium

mockit.internal.expectations.BaseVerificationPhase

Bug Category Details Line Priority
Method mockit.internal.expectations.BaseVerificationPhase.getNewInstancesMatchingVerifiedConstructorInvocation() does not presize the allocation of a collection PERFORMANCE PSC_PRESIZE_COLLECTIONS 157 Medium

mockit.internal.expectations.EquivalentInstances

Bug Category Details Line Priority

mockit.internal.expectations.Expectation

Bug Category Details Line Priority
Class mockit.internal.expectations.Expectation has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 27-114 Medium

mockit.internal.expectations.RecordAndReplayExecution

Bug Category Details Line Priority
mockit.internal.expectations.RecordAndReplayExecution.getRecordPhase() may expose internal representation by returning RecordAndReplayExecution.recordPhase MALICIOUS_CODE EI_EXPOSE_REP 115 Medium
mockit.internal.expectations.RecordAndReplayExecution.startVerifications(boolean, Object[]) may expose internal representation by returning RecordAndReplayExecution.verificationPhase MALICIOUS_CODE EI_EXPOSE_REP 315 Medium

mockit.internal.expectations.RecordPhase

Bug Category Details Line Priority
Class mockit.internal.expectations.RecordPhase has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 18-83 Medium
Class mockit.internal.expectations.RecordPhase has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 18-83 Medium

mockit.internal.expectations.TestOnlyPhase

Bug Category Details Line Priority

mockit.internal.expectations.UnorderedVerificationPhase

Bug Category Details Line Priority
Class mockit.internal.expectations.UnorderedVerificationPhase creates and initializes a collection but never reads or gains information from it CORRECTNESS WOC_WRITE_ONLY_COLLECTION_FIELD Not available Medium

mockit.internal.expectations.argumentMatching.CaptureMatcher

Bug Category Details Line Priority
new mockit.internal.expectations.argumentMatching.CaptureMatcher(List) may expose internal representation by storing an externally mutable object into CaptureMatcher.valueHolder MALICIOUS_CODE EI_EXPOSE_REP2 19 Medium

mockit.internal.expectations.argumentMatching.LenientEqualityMatcher

Bug Category Details Line Priority
new mockit.internal.expectations.argumentMatching.LenientEqualityMatcher(Object, Map) may expose internal representation by storing an externally mutable object into LenientEqualityMatcher.instanceMap MALICIOUS_CODE EI_EXPOSE_REP2 18 Medium

mockit.internal.expectations.invocation.ArgumentValuesAndMatchers

Bug Category Details Line Priority
Class mockit.internal.expectations.invocation.ArgumentValuesAndMatchers defines two or more one for one associated lists or arrays STYLE PL_PARALLEL_LISTS 126 Medium
Method mockit.internal.expectations.invocation.ArgumentValuesAndMatchers.indexOfFirstValueAfterEquivalentMatchers(ArgumentValuesAndMatchers) declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 111-135 Medium

mockit.internal.expectations.invocation.DelegateInvocation

Bug Category Details Line Priority

mockit.internal.expectations.invocation.DelegatedResult

Bug Category Details Line Priority
Class mockit.internal.expectations.invocation.DelegatedResult has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 27-117 Medium
mockit.internal.expectations.invocation.DelegatedResult.executeMethodToInvoke(Object[]) does not release lock on all paths MT_CORRECTNESS UL_UNRELEASED_LOCK 94 High
mockit.internal.expectations.invocation.DelegatedResult.executeMethodToInvoke(Object[]) does not release lock on all exception paths MT_CORRECTNESS UL_UNRELEASED_LOCK_EXCEPTION_PATH 94 Medium

mockit.internal.expectations.invocation.ExpectedInvocation

Bug Category Details Line Priority
mockit.internal.expectations.invocation.ExpectedInvocation.getInvocationCause() may expose internal representation by returning ExpectedInvocation.invocationCause MALICIOUS_CODE EI_EXPOSE_REP 66 Medium
This method mockit.internal.expectations.invocation.ExpectedInvocation.getReturnTypeAsResolvedFromClassArgument() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 418 Medium
Unwritten public or protected field: mockit.internal.expectations.invocation.ExpectedInvocation.replacementInstance STYLE UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD 28 Medium

mockit.internal.expectations.invocation.InvocationArguments

Bug Category Details Line Priority
Unconstrained method mockit.internal.expectations.invocation.InvocationArguments.getRealMethodOrConstructor() converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 115 High

mockit.internal.expectations.invocation.InvocationResults

Bug Category Details Line Priority
new mockit.internal.expectations.invocation.InvocationResults(ExpectedInvocation, InvocationConstraints) may expose internal representation by storing an externally mutable object into InvocationResults.constraints MALICIOUS_CODE EI_EXPOSE_REP2 34 Medium
new mockit.internal.expectations.invocation.InvocationResults(ExpectedInvocation, InvocationConstraints) may expose internal representation by storing an externally mutable object into InvocationResults.invocation MALICIOUS_CODE EI_EXPOSE_REP2 33 Medium

mockit.internal.expectations.invocation.ReturnTypeConversion

Bug Category Details Line Priority
Found reliance on default encoding in mockit.internal.expectations.invocation.ReturnTypeConversion.addByteArrayIfApplicable(): String.getBytes() I18N DM_DEFAULT_ENCODING 189 High
Found reliance on default encoding in mockit.internal.expectations.invocation.ReturnTypeConversion.addCharSequence(CharSequence): String.getBytes() I18N DM_DEFAULT_ENCODING 168 High
new mockit.internal.expectations.invocation.ReturnTypeConversion(ExpectedInvocation, InvocationResults, Class, Object) may expose internal representation by storing an externally mutable object into ReturnTypeConversion.invocation MALICIOUS_CODE EI_EXPOSE_REP2 49 Medium
new mockit.internal.expectations.invocation.ReturnTypeConversion(ExpectedInvocation, InvocationResults, Class, Object) may expose internal representation by storing an externally mutable object into ReturnTypeConversion.invocationResults MALICIOUS_CODE EI_EXPOSE_REP2 50 Medium
Method mockit.internal.expectations.invocation.ReturnTypeConversion.addByteArrayIfApplicable() encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 189 Medium
Method mockit.internal.expectations.invocation.ReturnTypeConversion.addCharSequence(CharSequence) encodes String bytes without specifying the character encoding CORRECTNESS MDM_STRING_BYTES_ENCODING 168 Medium
Method mockit.internal.expectations.invocation.ReturnTypeConversion.convertFromChar(Class, char) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 327 Medium
Method mockit.internal.expectations.invocation.ReturnTypeConversion.convertFromNumber(Class, Number) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 293 Medium

mockit.internal.expectations.mocking.CaptureOfNewInstancesForFields

Bug Category Details Line Priority
Class mockit.internal.expectations.mocking.CaptureOfNewInstancesForFields 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 23-28 Medium

mockit.internal.expectations.mocking.FieldTypeRedefinitions

Bug Category Details Line Priority
Collection variable mockit.internal.expectations.mocking.FieldTypeRedefinitions.mockFieldsNotSet is named with a different type of collection in the name STYLE CNC_COLLECTION_NAMING_CONFUSION Not available Medium
Method mockit.internal.expectations.mocking.FieldTypeRedefinitions.assignNewInstanceToMockField(Object, MockedType, InstanceFactory) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 144 Medium

mockit.internal.expectations.mocking.InstanceFactory

Bug Category Details Line Priority
Method mockit.internal.expectations.mocking.InstanceFactory.newUninitializedConcreteClassInstance() prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 36 Medium

mockit.internal.expectations.mocking.InterfaceImplementationGenerator

Bug Category Details Line Priority
Class mockit.internal.expectations.mocking.InterfaceImplementationGenerator defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 117 Medium

mockit.internal.expectations.mocking.MockedClassModifier

Bug Category Details Line Priority
This method mockit.internal.expectations.mocking.MockedClassModifier.isUnmockableInvocation(String) parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 194 Medium

mockit.internal.expectations.mocking.ParameterTypeRedefinitions

Bug Category Details Line Priority
mockit.internal.expectations.mocking.ParameterTypeRedefinitions.getInjectableParameters() may expose internal representation by returning ParameterTypeRedefinitions.injectableParameters MALICIOUS_CODE EI_EXPOSE_REP 130 Medium
new mockit.internal.expectations.mocking.ParameterTypeRedefinitions(TestMethod, Object[]) may expose internal representation by storing an externally mutable object into ParameterTypeRedefinitions.testMethod MALICIOUS_CODE EI_EXPOSE_REP2 28 Medium

mockit.internal.expectations.mocking.TypeRedefinitions

Bug Category Details Line Priority
mockit.internal.expectations.mocking.TypeRedefinitions.getTargetClasses() may expose internal representation by returning TypeRedefinitions.targetClasses MALICIOUS_CODE EI_EXPOSE_REP 36 Medium

mockit.internal.expectations.state.ExecutingTest

Bug Category Details Line Priority
Shared primitive variable "proceeding" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 99 Medium
Shared primitive variable "proceeding" in one thread may not yield the value of the most recent write from another thread MT_CORRECTNESS AT_STALE_THREAD_WRITE_OF_PRIMITIVE 110 Medium
mockit.internal.expectations.state.ExecutingTest.getCascadingTypes() may expose internal representation by returning ExecutingTest.cascadingTypes MALICIOUS_CODE EI_EXPOSE_REP 197 Medium
mockit.internal.expectations.state.ExecutingTest.getParameterRedefinitions() may expose internal representation by returning ExecutingTest.parameterTypeRedefinitions MALICIOUS_CODE EI_EXPOSE_REP 151 Medium
mockit.internal.expectations.state.ExecutingTest.setParameterRedefinitions(ParameterTypeRedefinitions) may expose internal representation by storing an externally mutable object into ExecutingTest.parameterTypeRedefinitions MALICIOUS_CODE EI_EXPOSE_REP2 155 Medium
Method mockit.internal.expectations.state.ExecutingTest.lambda$new$0() needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 48 Medium
Field mockit.internal.expectations.state.ExecutingTest.proceedingInvocation is an instance based ThreadLocal variable CORRECTNESS PMB_INSTANCE_BASED_THREAD_LOCAL Not available Medium
Field mockit.internal.expectations.state.ExecutingTest.shouldIgnoreMockingCallbacks is an instance based ThreadLocal variable CORRECTNESS PMB_INSTANCE_BASED_THREAD_LOCAL Not available Medium
Class mockit.internal.expectations.state.ExecutingTest creates and initializes a collection but never reads or gains information from it CORRECTNESS WOC_WRITE_ONLY_COLLECTION_FIELD Not available Medium

mockit.internal.expectations.state.MockedTypeCascade

Bug Category Details Line Priority
Class mockit.internal.expectations.state.MockedTypeCascade has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 38-300 Medium
Unwritten field: mockit.internal.expectations.state.MockedTypeCascade.mockedClass CORRECTNESS UWF_UNWRITTEN_FIELD 231 Medium

mockit.internal.expectations.transformation.ArgumentCapturing

Bug Category Details Line Priority
Class mockit.internal.expectations.transformation.ArgumentCapturing has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-133 Medium
Class mockit.internal.expectations.transformation.ArgumentCapturing has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 24-133 Medium

mockit.internal.expectations.transformation.ExpectationsTransformer

Bug Category Details Line Priority
Method mockit.internal.expectations.transformation.ExpectationsTransformer.modifyInvocationsSubclass(ClassReader, String) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 76 Medium

mockit.internal.expectations.transformation.InvocationBlockModifier

Bug Category Details Line Priority
Class mockit.internal.expectations.transformation.InvocationBlockModifier has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 59-330 Medium

mockit.internal.faking.FakeBridge

Bug Category Details Line Priority
Method mockit.internal.faking.FakeBridge.invoke(Object, Method, Object[]) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 27 Medium
Method mockit.internal.faking.FakeBridge.invoke(Object, Method, Object[]) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 36 Medium

mockit.internal.faking.FakeClassSetup

Bug Category Details Line Priority
Class mockit.internal.faking.FakeClassSetup has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 35-124 Medium

mockit.internal.faking.FakeClasses

Bug Category Details Line Priority
Unconstrained method mockit.internal.faking.FakeClasses.<static initializer for FakeClasses>() converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 32 High
Class mockit.internal.faking.FakeClasses has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 20-189 Medium
Class mockit.internal.faking.FakeClasses has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 20-189 Medium
Class mockit.internal.faking.FakeClasses has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 20-189 Medium
Method mockit.internal.faking.FakeClasses.notifyOfTearDown(MockUp) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 41 Medium
Method mockit.internal.faking.FakeClasses.<static initializer for FakeClasses>() uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 27 Medium
Method mockit.internal.faking.FakeClasses.<static initializer for FakeClasses>() uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 30 Medium

mockit.internal.faking.FakeClasses$SavePoint

Bug Category Details Line Priority
new mockit.internal.faking.FakeClasses$SavePoint(FakeClasses) may expose internal representation by storing an externally mutable object into FakeClasses$SavePoint.this$0 MALICIOUS_CODE EI_EXPOSE_REP2 197 Medium

mockit.internal.faking.FakeMethods

Bug Category Details Line Priority
method mockit.internal.faking.FakeMethods.hasIntrinsicCandidateAnnotation(Class, String, String) converts an exception into a boolean 'error code' value STYLE EXS_EXCEPTION_SOFTENING_RETURN_FALSE 272 Medium

mockit.internal.faking.FakeMethods$FakeMethod

Bug Category Details Line Priority
Comparison of String objects using == or != in mockit.internal.faking.FakeMethods$FakeMethod.hasInvocationParameter() BAD_PRACTICE ES_COMPARING_STRINGS_WITH_EQ 84 Medium
Class mockit.internal.faking.FakeMethods$FakeMethod defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 78 Medium

mockit.internal.faking.FakeState

Bug Category Details Line Priority
Unconstrained method mockit.internal.faking.FakeState.getRealMethodOrConstructor(Class, String, String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 110 High
Field mockit.internal.faking.FakeState.proceedingInvocation is an instance based ThreadLocal variable CORRECTNESS PMB_INSTANCE_BASED_THREAD_LOCAL Not available Medium

mockit.internal.faking.FakedImplementationClass

Bug Category Details Line Priority
new mockit.internal.faking.FakedImplementationClass(MockUp) may expose internal representation by storing an externally mutable object into FakedImplementationClass.fakeInstance MALICIOUS_CODE EI_EXPOSE_REP2 32 Medium

mockit.internal.injection.BeanExporter

Bug Category Details Line Priority
Class mockit.internal.injection.BeanExporter has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 18-51 Medium

mockit.internal.injection.InjectionPoint

Bug Category Details Line Priority
Equals method for mockit.internal.injection.InjectionPoint assumes the argument is of type InjectionPoint BAD_PRACTICE BC_EQUALS_METHOD_SHOULD_WORK_FOR_ALL_OBJECTS 130 Medium

mockit.internal.injection.InjectionProvider

Bug Category Details Line Priority
Empty method mockit.internal.injection.InjectionProvider.getAnnotations() could be declared abstract STYLE ACEM_ABSTRACT_CLASS_EMPTY_METHODS 47 Medium

mockit.internal.injection.InjectionProviders

Bug Category Details Line Priority
Class mockit.internal.injection.InjectionProviders defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 99 Medium
mockit.internal.injection.InjectionProviders.restoreConsumedInjectionProviders(List) may expose internal representation by storing an externally mutable object into InjectionProviders.consumedInjectionProviders MALICIOUS_CODE EI_EXPOSE_REP2 226 Medium

mockit.internal.injection.InjectionState

Bug Category Details Line Priority
Class mockit.internal.injection.InjectionState defines static field "mockit.internal.injection.InjectionState.globalObjects" which appears to allow memory bloat CORRECTNESS PMB_POSSIBLE_MEMORY_BLOAT Not available Medium

mockit.internal.injection.LifecycleMethods

Bug Category Details Line Priority
Class mockit.internal.injection.LifecycleMethods defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 50 Medium
method mockit.internal.injection.LifecycleMethods.hasLifecycleAnnotation(Method, boolean) converts an exception into a boolean 'error code' value STYLE EXS_EXCEPTION_SOFTENING_RETURN_FALSE 114 Medium

mockit.internal.injection.TestedClass

Bug Category Details Line Priority
Possible null pointer dereference in new mockit.internal.injection.TestedClass(Type, Class, TestedClass) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 60 Medium
Possible null pointer dereference in mockit.internal.injection.TestedClass.isClassFromSameModuleOrSystemAsTestedClass(Class) due to return value of called method STYLE NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE 95 Medium
This method mockit.internal.injection.TestedClass.isInSameSubpackageAsTestedClass(Class) parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 111 Medium
This method mockit.internal.injection.TestedClass.isInSameSubpackageAsTestedClass(Class) parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 119 Medium
This method mockit.internal.injection.TestedClass.isInSameSubpackageAsTestedClass(Class) parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 128 Medium

mockit.internal.injection.TestedObjectCreation

Bug Category Details Line Priority
new mockit.internal.injection.TestedObjectCreation(InjectionState, FullInjection, Class) may expose internal representation by storing an externally mutable object into TestedObjectCreation.fullInjection MALICIOUS_CODE EI_EXPOSE_REP2 59 Medium
new mockit.internal.injection.TestedObjectCreation(InjectionState, FullInjection, Class) may expose internal representation by storing an externally mutable object into TestedObjectCreation.injectionState MALICIOUS_CODE EI_EXPOSE_REP2 58 Medium

mockit.internal.injection.TestedParameters

Bug Category Details Line Priority
new mockit.internal.injection.TestedParameters(TestMethod) may expose internal representation by storing an externally mutable object into TestedParameters.testMethod MALICIOUS_CODE EI_EXPOSE_REP2 26 Medium

mockit.internal.injection.constructor.ConstructorInjection

Bug Category Details Line Priority
new mockit.internal.injection.constructor.ConstructorInjection(InjectionState, FullInjection, Constructor) may expose internal representation by storing an externally mutable object into ConstructorInjection.constructor MALICIOUS_CODE EI_EXPOSE_REP2 47 Medium

mockit.internal.injection.constructor.ConstructorSearch

Bug Category Details Line Priority
mockit.internal.injection.constructor.ConstructorSearch.findConstructorToUse() may expose internal representation by returning ConstructorSearch.constructor MALICIOUS_CODE EI_EXPOSE_REP 73 Medium
new mockit.internal.injection.constructor.ConstructorSearch(InjectionState, TestedClass, boolean) may expose internal representation by storing an externally mutable object into ConstructorSearch.injectionState MALICIOUS_CODE EI_EXPOSE_REP2 55 Medium
Primitive field mockit.internal.injection.constructor.ConstructorSearch.parameterProviders is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 59 Medium

mockit.internal.injection.field.FieldToInject

Bug Category Details Line Priority
new mockit.internal.injection.field.FieldToInject(Field) may expose internal representation by storing an externally mutable object into FieldToInject.targetField MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

mockit.internal.injection.full.FullInjection

Bug Category Details Line Priority
new mockit.internal.injection.full.FullInjection(InjectionState, Class, String) may expose internal representation by storing an externally mutable object into FullInjection.injectionState MALICIOUS_CODE EI_EXPOSE_REP2 62 Medium
Class mockit.internal.injection.full.FullInjection has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 42-325 Medium
Class mockit.internal.injection.full.FullInjection has a circular dependency with other classes CORRECTNESS FCCD_FIND_CLASS_CIRCULAR_DEPENDENCY 42-325 Medium
Method mockit.internal.injection.full.FullInjection.createProviderInstance(InjectionProvider) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 251 Medium

mockit.internal.injection.full.JPADependencies

Bug Category Details Line Priority
Method mockit.internal.injection.full.JPADependencies.createAndRegisterDependency(Class, InjectionPoint, InjectionProvider) returns different types of unrelated Objects STYLE URV_UNRELATED_RETURN_VALUES 107 Medium
The use of SAXParser.parse(...) (SAXParser) is vulnerable to XML External Entity attacks SECURITY XXE_SAXPARSER 84 Medium

mockit.internal.injection.full.ServletDependencies

Bug Category Details Line Priority
Method mockit.internal.injection.full.ServletDependencies.createAndRegisterDependency(Class) returns different types of unrelated Objects STYLE URV_UNRELATED_RETURN_VALUES 58 Medium

mockit.internal.injection.full.ServletDependencies$2

Bug Category Details Line Priority
Random object created and used only once in new mockit.internal.injection.full.ServletDependencies$2(ServletDependencies) BAD_PRACTICE DMI_RANDOM_USED_ONLY_ONCE 365 High

mockit.internal.injection.full.TestDataSource

Bug Category Details Line Priority
Unconstrained method mockit.internal.injection.full.TestDataSource.instantiateConfiguredDataSourceClass(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 125 High
Unconstrained method mockit.internal.injection.full.TestDataSource.instantiateConfiguredDataSourceClass(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 127 High
Unconstrained method mockit.internal.injection.full.TestDataSource.instantiateConfiguredDataSourceClass(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 129 High
Unconstrained method mockit.internal.injection.full.TestDataSource.instantiateConfiguredDataSourceClass(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 131 High
Unconstrained method mockit.internal.injection.full.TestDataSource.instantiateConfiguredDataSourceClass(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 133 High
Unconstrained method mockit.internal.injection.full.TestDataSource.setDataSourcePropertiesFromConfiguredValues(DataSourceDefinition) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 148 High

mockit.internal.reflection.AnnotationReflection

Bug Category Details Line Priority
Unconstrained method mockit.internal.reflection.AnnotationReflection.readAnnotationAttribute(Object, String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 24 High
Unconstrained method mockit.internal.reflection.AnnotationReflection.readAttribute(Object, String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 45 High
Unconstrained method mockit.internal.reflection.AnnotationReflection.readAttribute(Object, String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 47 High

mockit.internal.reflection.ConstructorReflection

Bug Category Details Line Priority
Unconstrained method mockit.internal.reflection.ConstructorReflection.invokeAccessible(Constructor, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 51 High
Unconstrained method mockit.internal.reflection.ConstructorReflection.invokeAccessible(Constructor, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 59 High
Unconstrained method mockit.internal.reflection.ConstructorReflection.invokeAccessible(Constructor, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 62 High
Unconstrained method mockit.internal.reflection.ConstructorReflection.newInstanceUsingDefaultConstructor(Class) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 80 High
Unconstrained method mockit.internal.reflection.ConstructorReflection.newInstanceUsingDefaultConstructor(Class) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 82 High
Unconstrained method mockit.internal.reflection.ConstructorReflection.newInstanceUsingPublicDefaultConstructor(Class) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 116 High
Method mockit.internal.reflection.ConstructorReflection.invokeAccessible(Constructor, Object[]) uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 46 Medium

mockit.internal.reflection.FieldReflection

Bug Category Details Line Priority
Unconstrained method mockit.internal.reflection.FieldReflection.getDeclaredField(Class, String, boolean) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 83 High
Unconstrained method mockit.internal.reflection.FieldReflection.getFieldValue(Field, Object) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 37 High
Unconstrained method mockit.internal.reflection.FieldReflection.setFieldValue(Field, Object, Object) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 183 High
Method mockit.internal.reflection.FieldReflection.getDeclaredField(Class, String, boolean) throws alternative exception from catch block without history CORRECTNESS LEST_LOST_EXCEPTION_STACK_TRACE 83 Medium

mockit.internal.reflection.GenericTypeReflection

Bug Category Details Line Priority
Method mockit.internal.reflection.GenericTypeReflection.resolveTypeVariable(TypeVariable) employs tail recursion PERFORMANCE TR_TAIL_RECURSION 520 Medium

mockit.internal.reflection.GenericTypeReflection$GenericSignature

Bug Category Details Line Priority
This method mockit.internal.reflection.GenericTypeReflection$GenericSignature.addNextParameter() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 275 Medium
This method mockit.internal.reflection.GenericTypeReflection$GenericSignature.addNextParameter() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 284 Medium
This method mockit.internal.reflection.GenericTypeReflection$GenericSignature.addNextParameter() parses a String that is a field STYLE STT_STRING_PARSING_A_FIELD 299 Medium

mockit.internal.reflection.MethodReflection

Bug Category Details Line Priority
Unconstrained method mockit.internal.reflection.MethodReflection.invoke(Object, Method, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 109 High
Unconstrained method mockit.internal.reflection.MethodReflection.invoke(Object, Method, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 112 High
Unconstrained method mockit.internal.reflection.MethodReflection.invoke(Object, Method, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 119 High
Unconstrained method mockit.internal.reflection.MethodReflection.invokeWithCheckedThrows(Object, Method, Object[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 137 High
Method mockit.internal.reflection.MethodReflection.invoke(Class, Object, String, Class[], Object[]) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 35 Medium
Method mockit.internal.reflection.MethodReflection.invoke(Class, Object, String, Object[]) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 157 Medium
Method mockit.internal.reflection.MethodReflection.invokePublicIfAvailable(Class, Object, String, Class[], Object[]) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 89 Medium
Method mockit.internal.reflection.MethodReflection.invokeWithCheckedThrows(Class, Object, String, Class[], Object[]) stores return result in local before immediately returning it STYLE USBR_UNNECESSARY_STORE_BEFORE_RETURN 98 Medium

mockit.internal.reflection.MockInvocationHandler

Bug Category Details Line Priority
Unconstrained method mockit.internal.reflection.MockInvocationHandler.newMockedInstance(Class) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 40 High

mockit.internal.reflection.ThrowOfCheckedException

Bug Category Details Line Priority
Class mockit.internal.reflection.ThrowOfCheckedException is not derived from an Exception, even though it is named as such BAD_PRACTICE NM_CLASS_NOT_EXCEPTION 13-24 Medium

mockit.internal.startup.JMockitInitialization

Bug Category Details Line Priority
Method mockit.internal.startup.JMockitInitialization.applyStartupFake(String) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 97 Medium
Method mockit.internal.startup.JMockitInitialization.applyInternalStartupFakesAsNeeded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 43 Medium
Method mockit.internal.startup.JMockitInitialization.applyInternalStartupFakesAsNeeded() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 44 Medium

mockit.internal.startup.Startup

Bug Category Details Line Priority
mockit.internal.startup.Startup.premain(String, Instrumentation) may expose internal static state by storing a mutable object into a static field mockit.internal.startup.Startup.instrumentation MALICIOUS_CODE EI_EXPOSE_STATIC_REP2 49 Medium
Unconstrained method mockit.internal.startup.Startup.detectMissingDependenciesIfAny(Class) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 115 High
Unconstrained method mockit.internal.startup.Startup.redefineMethods(ClassDefinition[]) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 98 High
mockit.internal.startup.Startup.initializing isn't final and cannot be protected from malicious code MALICIOUS_CODE MS_CANNOT_BE_FINAL Not available Medium
Public static mockit.internal.startup.Startup.instrumentation() may expose internal representation by returning Startup.instrumentation MALICIOUS_CODE MS_EXPOSE_REP 65 Medium
Primitive field mockit.internal.startup.Startup.initializing is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. BAD_PRACTICE PA_PUBLIC_PRIMITIVE_ATTRIBUTE 52 Medium

mockit.internal.state.CachedClassfiles

Bug Category Details Line Priority
Class mockit.internal.state.CachedClassfiles 'overloads' a method with both instance and static versions STYLE MOM_MISLEADING_OVERLOAD_MODEL 140-141 Medium

mockit.internal.state.MockFixture

Bug Category Details Line Priority
Class mockit.internal.state.MockFixture defines List based fields but uses them like Sets PERFORMANCE DLC_DUBIOUS_LIST_COLLECTION 154 Medium
Method mockit.internal.state.MockFixture.reregisterNativeMethodsForRestoredClass(Class) uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 462 Medium

mockit.internal.state.ParameterNames

Bug Category Details Line Priority
Class mockit.internal.state.ParameterNames defines static field "mockit.internal.state.ParameterNames.classesToMethodsToParameters" which appears to allow memory bloat CORRECTNESS PMB_POSSIBLE_MEMORY_BLOAT Not available Medium

mockit.internal.state.TestRun

Bug Category Details Line Priority
Method mockit.internal.state.TestRun.ensureThatClassIsInitialized(Class) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 207 Medium
Public static mockit.internal.state.TestRun.getExecutingTest() may expose internal representation by returning TestRun.executingTest MALICIOUS_CODE MS_EXPOSE_REP 101 Medium
Public static mockit.internal.state.TestRun.getFakeClasses() may expose internal representation by returning TestRun.fakeClasses MALICIOUS_CODE MS_EXPOSE_REP 121 Medium
Public static mockit.internal.state.TestRun.getFieldTypeRedefinitions() may expose internal representation by returning TestRun.fieldTypeRedefinitions MALICIOUS_CODE MS_EXPOSE_REP 86 Medium
Public static mockit.internal.state.TestRun.getTestedClassInstantiations() may expose internal representation by returning TestRun.testedClassInstantiations MALICIOUS_CODE MS_EXPOSE_REP 91 Medium
Public static mockit.internal.state.TestRun.mockFixture() may expose internal representation by returning TestRun.mockFixture MALICIOUS_CODE MS_EXPOSE_REP 96 Medium

mockit.internal.util.ClassLoad

Bug Category Details Line Priority
Unconstrained method mockit.internal.util.ClassLoad.loadFromLoader(ClassLoader, String) converts checked exception to unchecked STYLE EXS_EXCEPTION_SOFTENING_NO_CONSTRAINTS 118 High
Method mockit.internal.util.ClassLoad.loadClass(String) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 43 Medium
Method mockit.internal.util.ClassLoad.loadClassAtStartup(String) prints the stack trace to the console STYLE IMC_IMMATURE_CLASS_PRINTSTACKTRACE 95 Medium
Method mockit.internal.util.ClassLoad.loadFromLoader(ClassLoader, String) throws alternative exception from catch block without history CORRECTNESS LEST_LOST_EXCEPTION_STACK_TRACE 118 Medium
Method mockit.internal.util.ClassLoad.actualSuperClass(String, String) makes literal string comparisons passing the literal as an argument STYLE LSC_LITERAL_STRING_COMPARISON 178 High
Class mockit.internal.util.ClassLoad defines static field "mockit.internal.util.ClassLoad.LOADED_CLASSES" which appears to allow memory bloat CORRECTNESS PMB_POSSIBLE_MEMORY_BLOAT Not available Medium
Class mockit.internal.util.ClassLoad defines static field "mockit.internal.util.ClassLoad.SUPER_CLASSES" which appears to allow memory bloat CORRECTNESS PMB_POSSIBLE_MEMORY_BLOAT Not available Medium

mockit.internal.util.DefaultValues

Bug Category Details Line Priority
mockit.internal.util.DefaultValues.addJava8TypeMapEntries() might ignore java.lang.Exception BAD_PRACTICE DE_MIGHT_IGNORE 185 Medium
Exception is caught when Exception is not thrown in mockit.internal.util.DefaultValues.addJava8TypeMapEntries() STYLE REC_CATCH_EXCEPTION 185 Medium
Method mockit.internal.util.DefaultValues.computeForWrapperType(Type) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 295 Medium
Method mockit.internal.util.DefaultValues.defaultValueForPrimitiveType(Class) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 264 Medium

mockit.internal.util.MethodFormatter

Bug Category Details Line Priority
mockit.internal.util.MethodFormatter.getParameterTypes() may expose internal representation by returning MethodFormatter.parameterTypes MALICIOUS_CODE EI_EXPOSE_REP 63 Medium
classDesc must be non-null but is marked as nullable STYLE NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE 35-40 High
Double assignment of field MethodFormatter.methodDesc in new mockit.internal.util.MethodFormatter(String, String, boolean) STYLE SA_FIELD_DOUBLE_ASSIGNMENT 52 Medium

mockit.internal.util.ObjectMethods

Bug Category Details Line Priority
Method mockit.internal.util.ObjectMethods.evaluateOverride(Object, String, Object[]) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 23 Medium

mockit.internal.util.StackTrace

Bug Category Details Line Priority
new mockit.internal.util.StackTrace(Throwable) may expose internal representation by storing an externally mutable object into StackTrace.throwable MALICIOUS_CODE EI_EXPOSE_REP2 21 Medium

mockit.internal.util.TestMethod

Bug Category Details Line Priority
new mockit.internal.util.TestMethod(Method, Object[]) may expose internal representation by storing an externally mutable object into TestMethod.parameterValues MALICIOUS_CODE EI_EXPOSE_REP2 41 Medium

mockit.internal.util.TypeConversion

Bug Category Details Line Priority
Method mockit.internal.util.TypeConversion.newWrapperInstance(Class, String) throws alternative exception from catch block without history CORRECTNESS LEST_LOST_EXCEPTION_STACK_TRACE 80 Medium
Method mockit.internal.util.TypeConversion.enumValue(Class, String) declares unbound method template parameter(s) CORRECTNESS UMTP_UNBOUND_METHOD_TEMPLATE_PARAMETER 89-90 Medium
Method mockit.internal.util.TypeConversion.newWrapperInstance(Class, String) returns more specific type of object than declared STYLE URV_CHANGE_RETURN_TYPE 77 Medium

mockit.internal.util.Utilities

Bug Category Details Line Priority
Method mockit.internal.util.Utilities.ensureThatMemberIsAccessible(AccessibleObject) uses AccessibleObject.setAccessible to modify accessibility of classes CORRECTNESS RFI_SET_ACCESSIBLE 45 Medium

otherTests.BaseClass

Bug Category Details Line Priority
Class otherTests.BaseClass defines fields that are used only as locals CORRECTNESS FCBL_FIELD_COULD_BE_LOCAL 30 Medium

otherTests.DeencapsulationTest

Bug Category Details Line Priority
otherTests.DeencapsulationTest.lambda$attemptToSetStaticFieldByTypeWithWrongType$9() invokes inefficient new String() constructor PERFORMANCE DM_STRING_VOID_CTOR 289 Medium

otherTests.DeencapsulationTest$Subclass

Bug Category Details Line Priority
Unread field: otherTests.DeencapsulationTest$Subclass.initialValue; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 24 Medium

otherTests.JUnit4Test

Bug Category Details Line Priority
Call to mockit.ClassWithObjectOverrides.equals(String) in otherTests.JUnit4Test.useMockedInstance() CORRECTNESS EC_UNRELATED_TYPES 45 Medium
Method otherTests.JUnit4Test.useMockedInstance() ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 45 Medium
Method otherTests.JUnit4Test.useMockedInstance() ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 47 Medium
Return value of new mockit.ClassWithObjectOverrides(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 43 Medium
Method otherTests.JUnit4Test.useArgumentMatchingFields(JUnit4Test$AnotherClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 114 Medium
Method otherTests.JUnit4Test.useArgumentMatchingMethods(JUnit4Test$AnotherClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 131 Medium
Method otherTests.JUnit4Test.useArgumentMatchingMethods(JUnit4Test$AnotherClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 170 Medium
Method otherTests.JUnit4Test.useMockedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 43 Medium
Method otherTests.JUnit4Test.useMockedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 49 Medium

otherTests.JUnit4Test$1

Bug Category Details Line Priority
Call to mockit.ClassWithObjectOverrides.equals(String) in new otherTests.JUnit4Test$1(JUnit4Test) CORRECTNESS EC_UNRELATED_TYPES 52 High
Method new otherTests.JUnit4Test$1(JUnit4Test) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 52 Medium
Method new otherTests.JUnit4Test$1(JUnit4Test) ignores return value of a non mutating method CORRECTNESS NPMC_NON_PRODUCTIVE_METHOD_CALL 58 Medium

otherTests.JUnit4Test$3

Bug Category Details Line Priority
Return value of JUnit4Test$AnotherClass.getModifiedValue(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 136 Medium

otherTests.JUnit4Test$3$1

Bug Category Details Line Priority
Uncallable method otherTests.JUnit4Test$3$1.delegate(Invocation, String) defined in anonymous class CORRECTNESS UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS 151-155 Medium

otherTests.JUnit4Test$4

Bug Category Details Line Priority
Return value of JUnit4Test$AnotherClass.getModifiedValue(String) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 173 Medium

otherTests.JUnit4Test$AnotherClass

Bug Category Details Line Priority
To make log readable, log format ({}) should contain non-sign character. BAD_PRACTICE SLF4J_SIGN_ONLY_FORMAT 89 Medium
To make log readable, log format ({}) should contain non-sign character. BAD_PRACTICE SLF4J_SIGN_ONLY_FORMAT 90 Medium

otherTests.SubclassTest

Bug Category Details Line Priority
Method otherTests.SubclassTest.captureSubclassThroughClassfileTransformer(SubclassTest$SuperClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 82 Medium
Method otherTests.SubclassTest.captureSubclassThroughRedefinitionOfPreviouslyLoadedClasses(SubclassTest$SuperClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 96 Medium
Method otherTests.SubclassTest.mockSubclassUsingExpectationsWithFirstSuperConstructor(SubclassTest$SubClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 110 Medium
Method otherTests.SubclassTest.mockSubclassUsingExpectationsWithFirstSuperConstructor(SubclassTest$SubClass) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 116 Medium
Write to static field otherTests.SubclassTest.subClassConstructorCalled from instance method otherTests.SubclassTest.setUp() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 71 High
Write to static field otherTests.SubclassTest.superClassConstructorCalled from instance method otherTests.SubclassTest.setUp() STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 70 High

otherTests.SubclassTest$1

Bug Category Details Line Priority
Method new otherTests.SubclassTest$1(SubclassTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 112 Medium

otherTests.SubclassTest$SubClass

Bug Category Details Line Priority
Write to static field otherTests.SubclassTest.subClassConstructorCalled from instance method new otherTests.SubclassTest$SubClass(String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 61 Medium

otherTests.SubclassTest$SuperClass

Bug Category Details Line Priority
Write to static field otherTests.SubclassTest.superClassConstructorCalled from instance method new otherTests.SubclassTest$SuperClass(int, String) STYLE ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD 44 Medium

otherTests.multicast.Message

Bug Category Details Line Priority
new otherTests.multicast.Message(Client[], String, StatusListener) may expose internal representation by storing an externally mutable object into Message.to MALICIOUS_CODE EI_EXPOSE_REP2 19 Medium

otherTests.multicast.Message$MessageDispatcher

Bug Category Details Line Priority
Found reliance on default encoding in otherTests.multicast.Message$MessageDispatcher.readRequiredReceipts(InputStream): new java.io.InputStreamReader(InputStream) I18N DM_DEFAULT_ENCODING 67 High
Found reliance on default encoding in otherTests.multicast.Message$MessageDispatcher.sendMessage(OutputStream): new java.io.PrintWriter(OutputStream, boolean) I18N DM_DEFAULT_ENCODING 62 High
Unencrypted socket to otherTests.multicast.Message$MessageDispatcher (instead of SSLSocket) SECURITY UNENCRYPTED_SOCKET 55 Medium

otherTests.multicast.MessageTest

Bug Category Details Line Priority
Method otherTests.multicast.MessageTest.sendMessageToMultipleClients(Socket) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 63 Medium
Method otherTests.multicast.MessageTest.sendMessageToMultipleClients(Socket) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 73 Medium
Method otherTests.multicast.MessageTest.sendMessageToMultipleClients(Socket) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 82 Medium

otherTests.multicast.MessageTest$1

Bug Category Details Line Priority
Exception thrown in class otherTests.multicast.MessageTest$1 at new otherTests.multicast.MessageTest$1(MessageTest, Socket) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 65 Medium

otherTests.multicast.MessageTest$TaskExecution

Bug Category Details Line Priority
otherTests.multicast.MessageTest$TaskExecution.waitForCompletionOfNewTasks(List): 1st parameter 'tasksBefore' could be declared as java.util.Collection instead STYLE OCP_OVERLY_CONCRETE_COLLECTION_PARAMETER 40 Medium

otherTests.testng.BaseTestNGDecoratorTest

Bug Category Details Line Priority
Method otherTests.testng.BaseTestNGDecoratorTest.beforeBase() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 34 Medium

otherTests.testng.DynamicMockingInBeforeMethodTest

Bug Category Details Line Priority
Method otherTests.testng.DynamicMockingInBeforeMethodTest.recordExpectationsOnDynamicallyMockedClass() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 27 Medium
Method otherTests.testng.DynamicMockingInBeforeMethodTest.verifyThatDynamicallyMockedClassIsStillMocked() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 38 Medium

otherTests.testng.DynamicMockingInBeforeMethodTest$1

Bug Category Details Line Priority
Method new otherTests.testng.DynamicMockingInBeforeMethodTest$1(DynamicMockingInBeforeMethodTest, Object[]) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 30 Medium
Return value of DynamicMockingInBeforeMethodTest$MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 29 Medium

otherTests.testng.DynamicMockingInBeforeMethodTest$2

Bug Category Details Line Priority
Return value of DynamicMockingInBeforeMethodTest$MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 40 Medium

otherTests.testng.TestNGCascadingInSetupTest

Bug Category Details Line Priority
Method otherTests.testng.TestNGCascadingInSetupTest.recordValueForCascadedInstance() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 29 Medium

otherTests.testng.TestNGCascadingInSetupTest$1

Bug Category Details Line Priority
Return value of TestNGCascadingInSetupTest$Bar.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 31 Medium

otherTests.testng.TestNGCascadingTest

Bug Category Details Line Priority
Method otherTests.testng.TestNGCascadingTest.useExpectationResultRecordedOnCascadedInstance(ITestContext) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 30 Medium

otherTests.testng.TestNGCascadingTest$1

Bug Category Details Line Priority
Return value of TestNGCascadingTest$Bar.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 32 Medium

otherTests.testng.TestNGDecoratorTest

Bug Category Details Line Priority
Method otherTests.testng.TestNGDecoratorTest.applyAndUseFakesAgain() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 41 Medium
Method otherTests.testng.TestNGDecoratorTest.applyAndUseSomeFakes() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 30 Medium

otherTests.testng.TestNGExpectationsTest

Bug Category Details Line Priority
Method otherTests.testng.TestNGExpectationsTest.setUpTestMethod1() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 31 Medium
Method otherTests.testng.TestNGExpectationsTest.setUpTestMethod2() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 42 Medium
Method otherTests.testng.TestNGExpectationsTest.tearDownTestMethod() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 53 Medium
Method otherTests.testng.TestNGExpectationsTest.testSomething() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 62 Medium
Method otherTests.testng.TestNGExpectationsTest.testSomething() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 75 Medium
Method otherTests.testng.TestNGExpectationsTest.testSomethingElse() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 88 Medium

otherTests.testng.TestNGExpectationsTest$1

Bug Category Details Line Priority
Method new otherTests.testng.TestNGExpectationsTest$1(TestNGExpectationsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 34 Medium
Return value of mockit.integration.MockedClass.doSomethingElse(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 33 Medium

otherTests.testng.TestNGExpectationsTest$2

Bug Category Details Line Priority
Return value of mockit.integration.MockedClass.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 44 Medium

otherTests.testng.TestNGExpectationsTest$3

Bug Category Details Line Priority
Return value of mockit.integration.MockedClass.doSomethingElse(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 55 Medium

otherTests.testng.TestNGExpectationsTest$4

Bug Category Details Line Priority
Method new otherTests.testng.TestNGExpectationsTest$4(TestNGExpectationsTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 65 Medium
Return value of mockit.integration.MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 64 Medium

otherTests.testng.TestNGExpectationsTest$5

Bug Category Details Line Priority
Return value of mockit.integration.MockedClass.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 77 Medium

otherTests.testng.TestNGExpectationsTest$6

Bug Category Details Line Priority
Return value of mockit.integration.MockedClass.doSomething(int) ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 91 Medium
Return value of mockit.integration.MockedClass.getValue() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 90 Medium

otherTests.testng.TestNGSharedMockFieldTest

Bug Category Details Line Priority
Method otherTests.testng.TestNGSharedMockFieldTest.preventAllWritesToMockedBufferedWritersFromSUT() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 61 Medium
Method otherTests.testng.TestNGSharedMockFieldTest.recordAndReplayExpectationsOnSharedMocks() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 34 Medium
Method otherTests.testng.TestNGSharedMockFieldTest.recordAndReplayExpectationsOnSharedMocksAgain() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 48 Medium

otherTests.testng.TestNGSharedMockFieldTest$1

Bug Category Details Line Priority
Method new otherTests.testng.TestNGSharedMockFieldTest$1(TestNGSharedMockFieldTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 37 Medium

otherTests.testng.TestNGSharedMockFieldTest$2

Bug Category Details Line Priority
Method new otherTests.testng.TestNGSharedMockFieldTest$2(TestNGSharedMockFieldTest) needlessly boxes a boolean constant PERFORMANCE NAB_NEEDLESS_BOOLEAN_CONSTANT_CONVERSION 51 Medium

otherTests.testng.TestNGSharedMockFieldTest$3

Bug Category Details Line Priority
Exception thrown in class otherTests.testng.TestNGSharedMockFieldTest$3 at new otherTests.testng.TestNGSharedMockFieldTest$3(TestNGSharedMockFieldTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 63 Medium

otherTests.testng.TestNGViolatedExpectationsTest

Bug Category Details Line Priority
Return value of new mockit.integration.Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 46 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_1(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 18 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_2(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 27 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_3(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 39 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_3(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 46 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_3(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 47 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_4(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 52 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_5(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 68 Medium
Method otherTests.testng.TestNGViolatedExpectationsTest.expectInvocationWhichDoesNotOccurInTestedCodeThatThrowsAnException_6(Collaborator) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 83 Medium

otherTests.testng.TestNGViolatedExpectationsTest$3

Bug Category Details Line Priority
Return value of new mockit.integration.Collaborator() ignored, but method has no side effect STYLE RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT 41 Medium
Method new otherTests.testng.TestNGViolatedExpectationsTest$3(TestNGViolatedExpectationsTest) uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 41 Medium

otherTests.testng.TestedAndInjectablesTest

Bug Category Details Line Priority
Method otherTests.testng.TestedAndInjectablesTest.firstTest() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 102 Medium
Method otherTests.testng.TestedAndInjectablesTest.recordAndVerifyExpectationsOnMockedInterface() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 144 Medium
Method otherTests.testng.TestedAndInjectablesTest.recordAndVerifyExpectationsOnMockedInterface() uses a Side Effect Constructor STYLE SEC_SIDE_EFFECT_CONSTRUCTOR 155 Medium

otherTests.testng.TestedAndInjectablesTest$2

Bug Category Details Line Priority
Exception thrown in class otherTests.testng.TestedAndInjectablesTest$2 at new otherTests.testng.TestedAndInjectablesTest$2(TestedAndInjectablesTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 146 Medium

otherTests.testng.TestedAndInjectablesTest$3

Bug Category Details Line Priority
Exception thrown in class otherTests.testng.TestedAndInjectablesTest$3 at new otherTests.testng.TestedAndInjectablesTest$3(TestedAndInjectablesTest) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. BAD_PRACTICE CT_CONSTRUCTOR_THROW 157 Medium

otherTests.testng.TestedAndInjectablesTest$SUT

Bug Category Details Line Priority
Read of unwritten field collaborator2 in otherTests.testng.TestedAndInjectablesTest$SUT.useCollaborators() CORRECTNESS NP_UNWRITTEN_FIELD 42 Medium
Unwritten field: otherTests.testng.TestedAndInjectablesTest$SUT.collaborator2 CORRECTNESS UWF_UNWRITTEN_FIELD 42 Medium