1 |
|
package org.kuali.maven.mojo.s3; |
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
|
|
| 11.8% |
Uncovered Elements: 30 (34) |
Complexity: 15 |
Complexity Density: 0.88 |
|
6 |
|
public class DisplayRow implements Comparable<DisplayRow> { |
7 |
|
String show; |
8 |
|
String image; |
9 |
|
String ahref; |
10 |
|
String lastModified; |
11 |
|
String size; |
12 |
|
|
|
|
| 0% |
Uncovered Elements: 13 (13) |
Complexity: 5 |
Complexity Density: 0.71 |
|
13 |
0
|
@Override... |
14 |
|
public int compareTo(DisplayRow other) { |
15 |
0
|
if (show == null && other.getShow() == null) { |
16 |
0
|
return 0; |
17 |
|
} |
18 |
0
|
if (show == null) { |
19 |
0
|
return -1; |
20 |
|
} |
21 |
0
|
if (other.getShow() == null) { |
22 |
0
|
return -1; |
23 |
|
} |
24 |
0
|
return show.compareTo(other.getShow()); |
25 |
|
} |
26 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
27 |
0
|
public String getImage() {... |
28 |
0
|
return image; |
29 |
|
} |
30 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
31 |
0
|
public void setImage(final String image) {... |
32 |
0
|
this.image = image; |
33 |
|
} |
34 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
35 |
0
|
public String getAhref() {... |
36 |
0
|
return ahref; |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0
|
public void setAhref(final String ahref) {... |
40 |
0
|
this.ahref = ahref; |
41 |
|
} |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0
|
public String getLastModified() {... |
44 |
0
|
return lastModified; |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0
|
public void setLastModified(final String date) {... |
48 |
0
|
this.lastModified = date; |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0
|
public String getSize() {... |
52 |
0
|
return size; |
53 |
|
} |
54 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
55 |
0
|
public void setSize(final String size) {... |
56 |
0
|
this.size = size; |
57 |
|
} |
58 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
28
|
public String getShow() {... |
60 |
28
|
return show; |
61 |
|
} |
62 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
63 |
12
|
public void setShow(String show) {... |
64 |
12
|
this.show = show; |
65 |
|
} |
66 |
|
|
67 |
|
} |