Condition Coverage

lib/Panotools/Script.pm
Criterion Covered Total %
condition 22 102 21.5


and 3 conditions

line !l l&&!r l&&r condition
349 35 65 1 defined $self->Image->[$index]{$entry} and $self->Image->[$index]{$entry} =~ /=/
494 60 20 130 scalar @{$pto_out->{'image'};} > 0 and $image->{$key} eq $pto_out->{'image'}[0]{$key}
80 45 85 scalar @{$pto_out->{'image'};} > 0 and $image->{$key} eq $pto_out->{'image'}[0]{$key} and $key =~ /^([abcdev]|R[abcde]|V[abcdxy])$/
608 0 0 0 $self_mask->{'i'} eq $mask->{'i'} and $self_mask->{'p'} eq $mask->{'p'}
799 0 0 0 abs $image0->y - $image1->y < $maxShift || abs $image0->y - $image1->y > $minShift and abs $image0->p - $image1->p < $maxShift
910 5655 1694 536 $n == $a and $N == $b
6878 471 0 $n == $b and $N == $a
933 0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'} and $img->Vb($self) eq $base_img->{'Vb'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'} and $img->Vb($self) eq $base_img->{'Vb'} and $img->Vc($self) eq $base_img->{'Vc'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'} and $img->Vb($self) eq $base_img->{'Vb'} and $img->Vc($self) eq $base_img->{'Vc'} and $img->Vd($self) eq $base_img->{'Vd'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'} and $img->Vb($self) eq $base_img->{'Vb'} and $img->Vc($self) eq $base_img->{'Vc'} and $img->Vd($self) eq $base_img->{'Vd'} and $img->Vx($self) eq $base_img->{'Vx'}
0 0 0 $img->v($self) eq $base_img->{'v'} and $img->a($self) eq $base_img->{'a'} and $img->b($self) eq $base_img->{'b'} and $img->c($self) eq $base_img->{'c'} and $img->d($self) eq $base_img->{'d'} and $img->e($self) eq $base_img->{'e'} and $img->Ra($self) eq $base_img->{'Ra'} and $img->Rb($self) eq $base_img->{'Rb'} and $img->Rc($self) eq $base_img->{'Rc'} and $img->Rd($self) eq $base_img->{'Rd'} and $img->Re($self) eq $base_img->{'Re'} and $img->Va($self) eq $base_img->{'Va'} and $img->Vb($self) eq $base_img->{'Vb'} and $img->Vc($self) eq $base_img->{'Vc'} and $img->Vd($self) eq $base_img->{'Vd'} and $img->Vx($self) eq $base_img->{'Vx'} and $img->Vy($self) eq $base_img->{'Vy'}
1019 0 0 14 $_[0] =~ /^[0-9]+$/ and $_[1] =~ /^[0-9]+$/

or 2 conditions

line l !l condition
87 6 0 shift() || (return 0)
168 7 0 shift() || (return 0)
169 0 7 shift() || ''
548 1 0 shift() || (return 0)
819 0 0 shift() || 0.5
1043 0 0 shift() || 1
1082 0 0 shift() || (return 0)
1086 0 0 $self->{'trafo_forward'}{'pid'} || undef
1092 0 0 $self->{'trafo_reverse'}{'pid'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
56 0 10 0 ref $class || $class
428 0 0 0 $point->{'t'} > 0 or $point->Distance($self) < $threshold
799 0 0 0 abs $image0->y - $image1->y < $maxShift || abs $image0->y - $image1->y > $minShift
910 536 0 7349 $n == $a and $N == $b or $n == $b and $N == $a