• 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

81.25
/samples/tutorial/src/main/java/tutorial/domain/EntityX.java
1
/*
2
 * MIT License
3
 * Copyright (c) 2006-2025 JMockit developers
4
 * See LICENSE file for full license text.
5
 */
6
package tutorial.domain;
7

8
import jakarta.persistence.Column;
9
import jakarta.persistence.Entity;
10
import jakarta.persistence.GeneratedValue;
11
import jakarta.persistence.Id;
12

13
import java.math.BigDecimal;
14

15
@Entity
16
public class EntityX {
17
    @Id
18
    @GeneratedValue
19
    private int id;
20
    @Column(length = 20, nullable = false)
21
    private String someProperty;
22
    @Column(length = 100)
23
    private String customerEmail;
24
    @Column(precision = 15, scale = 2)
25
    private BigDecimal total;
26

27
    public EntityX() {
1✔
28
    }
1✔
29

30
    public EntityX(int type, String code, String customerEmail) {
1✔
31
        this.customerEmail = customerEmail;
1✔
32
        someProperty = "abc";
1✔
33
    }
1✔
34

35
    public int getId() {
36
        return id;
1✔
37
    }
38

39
    public String getSomeProperty() {
40
        return someProperty;
1✔
41
    }
42

43
    public void setSomeProperty(String someProperty) {
44
        this.someProperty = someProperty;
×
45
    }
×
46

47
    public String getCustomerEmail() {
48
        return customerEmail;
1✔
49
    }
50

51
    public void setCustomerEmail(String customerEmail) {
52
        this.customerEmail = customerEmail;
1✔
53
    }
1✔
54

55
    public BigDecimal getTotal() {
56
        return total;
×
57
    }
58

59
    public void setTotal(BigDecimal total) {
60
        this.total = total;
1✔
61
    }
1✔
62
}
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