Condition Coverage

blib/lib/Module/CPANTS/Kwalitee/Prereq.pm
Criterion Covered Total %
condition 10 66 15.1


and 3 conditions

line !l l&&!r l&&r condition
35 9 0 3 $meta and ref $meta eq ref {}
39 0 0 3 $spec and ref $spec eq ref {}
0 0 3 $spec and ref $spec eq ref {} and ($spec->{'version'} || 0) =~ /^(\d+)/
0 3 0 $spec and ref $spec eq ref {} and ($spec->{'version'} || 0) =~ /^(\d+)/ and $1 >= 2
52 15 0 0 $meta->{$rel} and ref $meta->{$rel} eq ref {}
54 0 0 0 $prereqs_r and ref $prereqs_r eq ref {}
113 0 0 0 $hashref and ref $hashref eq ref {}
179 0 0 0 $hashref and ref $hashref eq ref {}
202 0 0 0 $prereqs and ref $prereqs eq ref {}
220 0 0 0 $prereqs_p and ref $prereqs_p eq ref {}
223 0 0 0 $prereqs_r and ref $prereqs_r eq ref {}
247 0 0 0 $config and ref $config eq ref {}
274 0 0 0 $conf and ref $conf eq ref {}

or 2 conditions

line l !l condition
39 3 0 $spec->{'version'} || 0
57 0 0 $res{$module} ||= []
116 0 0 $hashref->{$module} || 0
117 0 0 $res{$module} ||= []
162 0 0 shift @tuples || 0
163 0 0 $res{$module} ||= []
182 0 0 $res{$module} ||= []
226 0 0 $res{$module} ||= []
283 0 0 $res{$module} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
20 0 0 12 $class->_from_meta($me) or $class->_from_cpanfile($me)
0 0 12 $class->_from_meta($me) or $class->_from_cpanfile($me) or $class->_from_build_pl($me)
0 12 0 $class->_from_meta($me) or $class->_from_cpanfile($me) or $class->_from_build_pl($me) or $class->_from_makefile_pl($me)