line |
true |
false |
branch |
99
|
0 |
158 |
if ($var < 0) { } |
|
0 |
158 |
elsif ($var > $self->max_power) { } |
125
|
12 |
90 |
unless (exists $self->x->{$key} and exists $self->y->{$key}) |
129
|
12 |
78 |
unless (ref $self->x->{$key} eq 'ARRAY' and ref $self->y->{$key} eq 'ARRAY') |
148
|
6 |
12 |
unless ($signal_length_x == $#{$self->x->{'g'};} and $signal_length_x == $#{$self->x->{'b'};}) |
156
|
6 |
6 |
unless ($signal_length_y == $#{$self->y->{'g'};} and $signal_length_y == $#{$self->y->{'b'};}) |
163
|
2 |
4 |
unless ($signal_length_x == $signal_length_y) |
171
|
0 |
12 |
if defined $self->mse_cache |
173
|
4 |
8 |
unless (ref $self->x eq 'ARRAY' and ref $self->y eq 'ARRAY') |
178
|
4 |
4 |
unless ($signal_length == scalar @{$self->y;}) |
197
|
0 |
2 |
if defined $self->psnr_cache |
199
|
0 |
2 |
defined $self->mse_cache ? : |
200
|
1 |
1 |
if ($mse == 0) |
214
|
0 |
46 |
if defined $self->mse_cache |
216
|
4 |
42 |
unless (ref $self->x eq 'HASH' and ref $self->y eq 'HASH') |
243
|
0 |
2 |
if defined $self->psnr_cache |
245
|
0 |
2 |
defined $self->mse_cache ? : |
246
|
1 |
1 |
if ($mse == 0) |