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

kit-data-manager / pit-service / #576

30 Sep 2025 10:09AM UTC coverage: 78.134% (+5.4%) from 72.712%
#576

Pull #264

github

web-flow
Merge 269776c6c into ef6582172
Pull Request #264: Development branch for v3.0.0

661 of 796 new or added lines in 25 files covered. (83.04%)

3 existing lines in 2 files now uncovered.

1072 of 1372 relevant lines covered (78.13%)

0.78 hits per line

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

70.0
/src/main/java/edu/kit/datamanager/pit/domain/SimplePair.java
1
package edu.kit.datamanager.pit.domain;
2

3
public class SimplePair {
4
    private String key;
5

6
    private String value;
7

8
    /**
9
     * Required for (de-)serialization.
10
     */
11
    SimplePair() {}
1✔
12

13
    SimplePair(String key, String value) {
1✔
14
        this.key = key;
1✔
15
        this.value = value;
1✔
16
    }
1✔
17

18
    public String getKey() {
19
        return key;
1✔
20
    }
21

22
    public String getValue() {
23
        return value;
1✔
24
    }
25

26
    @Override
27
    public int hashCode() {
28
        final int prime = 31;
1✔
29
        int result = 1;
1✔
30
        result = prime * result + ((key == null) ? 0 : key.hashCode());
1✔
31
        result = prime * result + ((value == null) ? 0 : value.hashCode());
1✔
32
        return result;
1✔
33
    }
34

35
    @Override
36
    public boolean equals(Object obj) {
37
        if (this == obj)
1✔
38
            return true;
×
39
        if (obj == null)
1✔
40
            return false;
×
41
        if (getClass() != obj.getClass())
1✔
42
            return false;
×
43
        SimplePair other = (SimplePair) obj;
1✔
44
        if (key == null) {
1✔
45
            if (other.key != null)
×
46
                return false;
×
47
        } else if (!key.equals(other.key))
1✔
UNCOV
48
            return false;
×
49
        if (value == null) {
1✔
50
            if (other.value != null)
×
51
                return false;
×
52
        } else if (!value.equals(other.value))
1✔
53
            return false;
×
54
        return true;
1✔
55
    }
56
}
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