| line |
true |
false |
branch |
|
18
|
0 |
7 |
if (ref $data) { } |
|
|
6 |
1 |
elsif ($data) { } |
|
40
|
0 |
37 |
unless $self->can($method) |
|
50
|
1 |
6 |
if (defined $w) |
|
52
|
1 |
0 |
if ($w > $$self{'w'}) { } |
|
70
|
1 |
6 |
if (defined $h) |
|
71
|
1 |
0 |
if ($h > $$self{'h'}) { } |
|
88
|
1 |
6 |
if (defined $max) |
|
102
|
48 |
6 |
if (defined $new_value) |
|
104
|
48 |
0 |
ref $new_value ? : |
|
117
|
0 |
76 |
unless defined $pixel |
|
120
|
64 |
12 |
if (defined $new_value) |
|
125
|
8 |
68 |
unless (ref $pixel) |
|
143
|
96 |
192 |
if (ref $_) { } |
|
149
|
192 |
96 |
$val * 2 > $$self{'max'} ? : |
|
167
|
96 |
192 |
if (ref $_) { } |
|
189
|
144 |
192 |
ref $_ ? : |
|
208
|
96 |
192 |
if (ref $_) { } |
|
214
|
192 |
96 |
$val * 2 > $$self{'max'} ? : |
|
238
|
96 |
192 |
if (ref $_) { } |
|
260
|
96 |
192 |
ref $_ ? : |
|
274
|
0 |
0 |
unless length $line or length $rest |
|
284
|
0 |
6 |
unless open my $fh, '<', $filename |
|
298
|
0 |
218 |
unless defined $line |
|
308
|
0 |
6 |
unless $w and $h |
|
314
|
0 |
6 |
unless $self->can($method) |
|
331
|
16 |
32 |
&$next_word() ? : |
|
342
|
0 |
1 |
unless $max =~ /^[0-9]+$/ and $max > 0 |
|
363
|
0 |
1 |
unless $max =~ /^[0-9]+$/ and $max > 0 |
|
395
|
16 |
32 |
&$next_word() ? : |
|
406
|
0 |
1 |
unless $max =~ /^[0-9]+$/ and $max > 0 |
|
427
|
0 |
1 |
unless $max =~ /^[0-9]+$/ and $max > 0 |
|
453
|
193 |
47 |
unless (@words) |
|
455
|
0 |
193 |
unless $line |
|
457
|
192 |
1 |
if ($ws) { } |
|
465
|
0 |
240 |
unless $word =~ /^[0-9]+$/ and $word >= 0 and $word <= $$self{'max'} |
|
477
|
3 |
237 |
unless (@words) |
|
479
|
0 |
3 |
unless $line |
|
480
|
1 |
2 |
if ($bits) { } |
|
496
|
0 |
240 |
unless $word =~ /^[0-9]+$/ and $word >= 0 and $word <= $$self{'max'} |