@@ -91,7 +91,8 @@
Loading
91 91
                new ByteBuddy()
92 92
                        .with(TypeValidation.DISABLED)
93 93
                        .with(Implementation.Context.Disabled.Factory.INSTANCE)
94 -
                        .with(MethodGraph.Compiler.ForDeclaredMethods.INSTANCE);
94 +
                        .with(MethodGraph.Compiler.ForDeclaredMethods.INSTANCE)
95 +
                        .ignore(isSynthetic().and(not(isConstructor())).or(isDefaultFinalizer()));
95 96
        mocked = new WeakConcurrentSet<>(WeakConcurrentSet.Cleaner.INLINE);
96 97
        flatMocked = new WeakConcurrentSet<>(WeakConcurrentSet.Cleaner.INLINE);
97 98
        String identifier = RandomString.make();

@@ -397,13 +397,14 @@
Loading
397 397
                                .getDeclaredMethods()
398 398
                                .filter(isConstructor().and(not(isPrivate())));
399 399
                int arguments = Integer.MAX_VALUE;
400 -
                boolean visible = false;
400 +
                boolean packagePrivate = true;
401 401
                MethodDescription.InDefinedShape current = null;
402 402
                for (MethodDescription.InDefinedShape constructor : constructors) {
403 403
                    if (constructor.getParameters().size() < arguments
404 -
                            && (!visible || constructor.isPackagePrivate())) {
404 +
                            && (packagePrivate || !constructor.isPackagePrivate())) {
405 +
                        arguments = constructor.getParameters().size();
406 +
                        packagePrivate = constructor.isPackagePrivate();
405 407
                        current = constructor;
406 -
                        visible = constructor.isPackagePrivate();
407 408
                    }
408 409
                }
409 410
                if (current != null) {
Files Complexity Coverage
src/main/java/org/mockito 85.60% 84.91%
subprojects 79.06% 85.34%
Project Totals (325 files) 85.51% 84.92%
4792.5
TRAVIS_OS_NAME=linux
openjdk14=
4792.2
TRAVIS_OS_NAME=linux
openjdk8=
4792.3
openjdk11=
TRAVIS_OS_NAME=linux
4792.4
openjdk11=
TRAVIS_OS_NAME=linux
4792.6
TRAVIS_OS_NAME=linux
openjdk14=

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading