snf4j / snf4j

@@ -41,7 +41,7 @@
Loading
41 41
	}
42 42
43 43
	@Override
44 -
	int readSize() {
44 +
	int responseSize() {
45 45
		return 0;
46 46
	}
47 47
	

@@ -31,7 +31,7 @@
Loading
31 31
	
32 32
	final static byte METHOD_INDEX = 1;
33 33
34 -
	private final static int READ_SIZE = 2;
34 +
	private final static int RESPONSE_SIZE = 2;
35 35
36 36
	private final Socks5AuthMethod[] authMethods;
37 37
	
@@ -44,8 +44,8 @@
Loading
44 44
	}
45 45
46 46
	@Override
47 -
	int readSize() {
48 -
		return READ_SIZE;
47 +
	int responseSize() {
48 +
		return RESPONSE_SIZE;
49 49
	}
50 50
	
51 51
	@Override

@@ -35,7 +35,7 @@
Loading
35 35
36 36
	private final static byte REPLY_VERSION = 0;
37 37
38 -
	private final static int READ_SIZE = 8;
38 +
	private final static int RESPONSE_SIZE = 8;
39 39
	
40 40
	private final static byte[] DOMAIN_MARKER = new byte[] {0,0,0,1};
41 41
	
@@ -56,8 +56,8 @@
Loading
56 56
	}
57 57
58 58
	@Override
59 -
	int readSize() {
60 -
		return READ_SIZE;
59 +
	int responseSize() {
60 +
		return RESPONSE_SIZE;
61 61
	}
62 62
63 63
	@Override

@@ -97,7 +97,7 @@
Loading
97 97
	}
98 98
99 99
	@Override
100 -
	int readSize() {
100 +
	int responseSize() {
101 101
		//Ignored as we override available methods
102 102
		return 0;
103 103
	}

@@ -46,12 +46,12 @@
Loading
46 46
	}
47 47
48 48
	int available(byte[] data, int off, int len) {
49 -
		int size = readSize();
49 +
		int size = responseSize();
50 50
		
51 51
		return len < size ? 0 : size;
52 52
	}
53 53
	
54 -
	abstract int readSize();
54 +
	abstract int responseSize();
55 55
	
56 56
	abstract AbstractSocksState read(byte[] data);
57 57
	

@@ -34,7 +34,7 @@
Loading
34 34
	
35 35
	private final static byte SUCCESS = 0;
36 36
	
37 -
	private final static int READ_SIZE = 2;
37 +
	private final static int RESPONSE_SIZE = 2;
38 38
39 39
	final static int STATUS_INDEX = 1;
40 40
	
@@ -66,8 +66,8 @@
Loading
66 66
	}
67 67
	
68 68
	@Override
69 -
	int readSize() {
70 -
		return READ_SIZE;
69 +
	int responseSize() {
70 +
		return RESPONSE_SIZE;
71 71
	}
72 72
	
73 73
	@Override
Files Coverage
snf4j-core-log4j2/src/main/java/org/snf4j/core/logger/impl 96.66%
snf4j-core-slf4j/src/main/java/org/snf4j/core/logger/impl 96.66%
snf4j-core/src/main/java/org/snf4j/core 97.88%
snf4j-sctp/src/main/java/org/snf4j/core 98.56%
snf4j-websocket/src/main/java/org/snf4j/websocket 99.30%
Project Totals (219 files) 98.19%
codecov-umbrella
Build #1462593256 -
1
coverage:
2
  range: "70...100"
3
  round: down
4
  precision: 2
5
  
6
  status:
7
    project:
8
      default:
9
        enabled: yes
10
        target: 94%
11
        threshold: 5%
12
        
13
    patch:
14
      default:
15
        enabled: yes
16
        target: 85%
17
        threshold: 5%
18
        
19
    changes: no
20
    
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading