Condition Coverage

blib/lib/Imager/Expr.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
124 175 0 13 $op->[0] eq "div" and $op->[2] =~ /^r(\d+)/
175 1 12 $op->[0] eq "div" and $op->[2] =~ /^r(\d+)/ and defined $self->{'nregs'}[$1]
166 42 0 154 exists $attr->{$_} and length $attr->{$_}{'types'}
188 0 0 6 exists $$attr{$_ . "p"} and $types eq $$attr{$_ . "p"}{'types'}
484 0 0 0 exists $Imager::Expr::Infix::Attr{$opp} and $types eq $Imager::Expr::Infix::Attr{$opp}{'types'}

or 3 conditions

line l !l&&r !l&&!r condition
466 2 0 2 $tree =~ /^$numre$/ or exists $self->{'constants'}{$tree}