• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / jmockit1 / 496

15 Nov 2025 05:33PM UTC coverage: 72.192% (-0.008%) from 72.2%
496

push

github

web-flow
Merge pull request #412 from hazendaz/renovate/major-spring-core

Update spring core to v7 (major)

5677 of 8360 branches covered (67.91%)

Branch coverage included in aggregate %.

11922 of 16018 relevant lines covered (74.43%)

0.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.48
/coverageTests/src/main/java/integration/tests/data/ClassWithFields.java
1
/*
2
 * MIT License
3
 * Copyright (c) 2006-2025 JMockit developers
4
 * See LICENSE file for full license text.
5
 */
6
package integration.tests.data;
7

8
public class ClassWithFields {
1✔
9
    private static int static1;
10
    private static String static2 = "B2";
1✔
11
    private static long static3;
12

13
    // Instance fields:
14
    // (coverage accounts for each owner instance)
15
    private boolean instance1 = true;
1✔
16
    private Boolean instance2;
17
    private double instance3;
18

19
    public static int getStatic1() {
20
        return static1;
1✔
21
    }
22

23
    public static void setStatic1(int static1) {
24
        ClassWithFields.static1 = static1;
1✔
25
    }
1✔
26

27
    public static String getStatic2() {
28
        return static2;
×
29
    }
30

31
    public static void setStatic2(String static2) {
32
        ClassWithFields.static2 = static2;
1✔
33
    }
1✔
34

35
    public static long getStatic3() {
36
        return static3;
1✔
37
    }
38

39
    public static void setStatic3(long static3) {
40
        ClassWithFields.static3 = static3;
1✔
41
    }
1✔
42

43
    /**
44
     * Indicates whether {@link #instance1} is <code>true</code> or <code>false</code>.
45
     *
46
     * @return true, if is instance 1
47
     */
48
    public boolean isInstance1() {
49
        return instance1;
1✔
50
    }
51

52
    public void setInstance1(boolean instance1) {
53
        this.instance1 = instance1;
1✔
54
    }
1✔
55

56
    public Boolean getInstance2() {
57
        return instance2;
×
58
    }
59

60
    public void setInstance2(Boolean instance2) {
61
        this.instance2 = instance2;
1✔
62
    }
1✔
63

64
    public double getInstance3() {
65
        return instance3;
1✔
66
    }
67

68
    public void setInstance3(double instance3) {
69
        this.instance3 = instance3;
1✔
70
    }
1✔
71
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc