Skip to content

Makes more improvements suggested by PITest #2230

Makes more improvements suggested by PITest

Makes more improvements suggested by PITest #2230

Triggered via push September 24, 2024 11:28
Status Success
Total duration 1m 32s
Artifacts

ci.yml

on: push
Matrix: supported-jdk
Fit to window
Zoom out
Zoom in

Annotations

1 error and 43 warnings
Experimental JDK EA (full)
Process completed with exit code 1.
A change can be made to line 248 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/instantiation/SubjectCreator.java#L248
removed call to nl/jqno/equalsverifier/internal/reflection/FieldCache::put (609 tests run VoidMethodCallMutator)
A change can be made to line 38 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/ClassProbe.java#L38
replaced boolean return with false for isSealed (558 tests run BooleanFalseReturnValsMutator)
A change can be made to line 29 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/ClassProbe.java#L29
replaced boolean return with false for isRecord (626 tests run BooleanFalseReturnValsMutator)
A change can be made to line 22 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L22
replaced return value with Stream.empty for fields (0 tests run EmptyObjectReturnValsMutator)
A change can be made to a lambda on line 29 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L29
replaced return value with "" for 2nd lambda in callRecordConstructor (0 tests run EmptyObjectReturnValsMutator)
A change can be made to a lambda on line 28 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L28
replaced return value with null for 1st lambda in callRecordConstructor (0 tests run NullReturnValsMutator)
A change can be made to line 34 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L34
replaced return value with null for getRecordConstructor (0 tests run NullReturnValsMutator)
A change can be made to a lambda on line 41 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L41
removed call to java/lang/reflect/Constructor::setAccessible in 1st lambda in getRecordConstructor (0 tests run VoidMethodCallMutator)
A change can be made to line 27 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L27
replaced return value with null for callRecordConstructor (0 tests run NullReturnValsMutator)
A change can be made to line 83 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L83
replaced return value with "" for buildMessage (0 tests run EmptyObjectReturnValsMutator)
A change can be made to line 54 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L54
replaced return value with "" for buildMessage (0 tests run EmptyObjectReturnValsMutator)
A change can be made to a lambda on line 42 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/RecordProbe.java#L42
replaced return value with null for 1st lambda in getRecordConstructor (0 tests run NullReturnValsMutator)
A change can be made to line 95 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/vintage/prefabvalues/factories/FallbackFactory.java#L95
removed call to nl/jqno/equalsverifier/internal/reflection/instantiation/VintageValueProvider::realizeCacheFor (122 tests run VoidMethodCallMutator)
A change can be made to a lambda on line 86 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/reflection/Instantiator.java#L86
replaced return value with null for 1st lambda in giveDynamicSubclass (145 tests run NullReturnValsMutator)
A change can be made to line 54 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/util/PrefabValuesApi.java#L54
removed call to nl/jqno/equalsverifier/internal/reflection/FieldCache::put (0 tests run VoidMethodCallMutator)
A change can be made to line 56 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/checkers/ExamplesChecker.java#L56
replaced return value with Collections.emptyList for ensureEnoughExamples (5 tests run EmptyObjectReturnValsMutator)
A change can be made to line 60 without causing a test to fail: equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/testhelpers/Util.java#L60
replaced boolean return with true for isRelevant (239 tests run BooleanTrueReturnValsMutator)