GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

io.mcarle.sciurus.ExecutionIdentifier   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 18
c 1
b 0
f 0
dl 0
loc 28
ccs 10
cts 10
cp 1
rs 10
wmc 7

4 Methods

Rating   Name   Duplication   Size   Complexity  
A toString() 0 3 1
A hashCode() 0 3 1
A ExecutionIdentifier(String,Object[]) 0 3 1
A equals(Object) 0 8 4
1
package io.mcarle.sciurus;
2
3
import java.util.Arrays;
4
5
public class ExecutionIdentifier {
6
7
    private final String signature;
8
    private final Object[] args;
9
10 1
    public ExecutionIdentifier(String signature, Object[] args) {
11 1
        this.signature = signature;
12 1
        this.args = args;
13 1
    }
14
15
    @Override
16
    public boolean equals(Object o) {
17 1
        if (this == o) return true;
18 1
        if (o == null || getClass() != o.getClass()) return false;
19
20 1
        ExecutionIdentifier source = (ExecutionIdentifier) o;
21
22 1
        return signature.equals(source.signature) && Arrays.deepEquals(args, source.args);
23
    }
24
25
    @Override
26
    public int hashCode() {
27 1
        return 29 * signature.hashCode() + Arrays.deepHashCode(args);
28
    }
29
30
    @Override
31
    public String toString() {
32 1
        return signature;
33
    }
34
}