Condition Coverage

blib/lib/Xporter.pm
Criterion Covered Total %
condition 17 61 27.8


and 2 conditions

line l !l condition
2 0 14 require $_ . '.pm' and $_->import
17 0 14 require $_ . '.pm' and $_->import

and 3 conditions

line !l l&&!r l&&r condition
73 0 31 15 ref $arg && 'HASH' eq ref $arg && defined $field && exists $$arg{$field}
79 0 0 0 $i < @$v2 and $i < @$v1
103 0 0 0 $pkg_ver and ($pkg_ver cmp $requires) >= 0
104 0 0 0 $pkg_ver ne '(undef)' and $pkg_ver >= $requires
142 4 12 0 @_ and $_[0]
0 12 0 @_ and $_[0] and $_[0] =~ /^(v?[\d\._]+)$/
145 0 0 0 $pkg->can('VERSION') and @t < 3
0 0 0 $pkg->can('VERSION') and @t < 3 and $1
153 2 5 1 @_ and $_[0] eq 'import'
173 2 6 0 @_ and $_[0]
0 6 0 @_ and $_[0] and $_[0] eq '!' || $_[0] eq '-'

or 2 conditions

line l !l condition
83 0 0 $v1p || ''
0 0 $v1s || ''
0 0 $v2p || ''
0 0 $v2s || ''
96 0 0 ${$pkg . '::VERSION';} || '(undef)'
166 8 0 \@{$pkg . '::' . 'EXPORT';} || []
167 8 0 \@{$pkg . '::' . 'EXPORT_OK';} || []
204 0 0 $type || '(undef)'
0 0 $_ || '(undef)'

or 3 conditions

line l !l&&r !l&&!r condition
100 0 0 0 @v1 > 2 or @v2 > 2
173 1 0 5 $_[0] eq '!' || $_[0] eq '-'