blib/lib/Math/PSNR.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 18 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
125 | 6 | 6 | 90 | exists $self->x->{$key} and exists $self->y->{$key} |
129 | 6 | 6 | 78 | ref $self->x->{$key} eq 'ARRAY' and ref $self->y->{$key} eq 'ARRAY' |
148 | 4 | 2 | 12 | $signal_length_x == $#{$self->x->{'g'};} and $signal_length_x == $#{$self->x->{'b'};} |
156 | 4 | 2 | 6 | $signal_length_y == $#{$self->y->{'g'};} and $signal_length_y == $#{$self->y->{'b'};} |
173 | 2 | 2 | 8 | ref $self->x eq 'ARRAY' and ref $self->y eq 'ARRAY' |
216 | 2 | 2 | 42 | ref $self->x eq 'HASH' and ref $self->y eq 'HASH' |