blib/lib/Stream/DataInputStream.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 23 | 58 | 39.6 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 4 | unless @_ == 2 |
36 | 0 | 4 | unless defined $_[1] |
47 | 0 | 4 | unless @_ == 2 |
58 | 0 | 0 | unless @_ == 2 |
69 | 0 | 0 | unless @_ == 1 |
79 | 0 | 1 | unless @_ == 1 |
88 | 0 | 4 | unless @_ == 1 |
94 | 0 | 4 | unless defined $c |
100 | 0 | 4 | unless @_ == 1 |
106 | 0 | 4 | unless defined $data |
112 | 0 | 4 | unless @_ == 1 |
118 | 0 | 4 | unless defined $data |
124 | 0 | 4 | unless @_ == 1 |
130 | 0 | 4 | unless defined $data |
136 | 0 | 4 | unless @_ == 1 |
143 | 0 | 4 | unless defined $data1 |
144 | 0 | 4 | unless defined $data2 |
151 | 0 | 4 | unless @_ == 1 |
157 | 0 | 4 | unless defined $data |
163 | 0 | 20 | unless @_ == 1 |
172 | 0 | 32 | unless defined $c |
175 | 20 | 12 | if $n < 128 |
182 | 0 | 4 | unless @_ == 1 |
188 | 0 | 4 | unless defined $len |
194 | 0 | 0 | unless @_ == 1 |
199 | 0 | 0 | if $is->eoi |
205 | 0 | 0 | unless defined $_ |
206 | 0 | 0 | if (/\n/) |
208 | 0 | 0 | if length $r > 0 and substr($r, -1, 1) eq '\\r' |