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
30 8 0 3 $meta and ref $meta eq ref {}
34 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
47 15 0 0 $meta->{$rel} and ref $meta->{$rel} eq ref {}
49 0 0 0 $prereqs_r and ref $prereqs_r eq ref {}
108 0 0 0 $hashref and ref $hashref eq ref {}
174 0 0 0 $hashref and ref $hashref eq ref {}
197 0 0 0 $prereqs and ref $prereqs eq ref {}
215 0 0 0 $prereqs_p and ref $prereqs_p eq ref {}
218 0 0 0 $prereqs_r and ref $prereqs_r eq ref {}
242 0 0 0 $config and ref $config eq ref {}
269 0 0 0 $conf and ref $conf eq ref {}

or 2 conditions

line l !l condition
34 3 0 $spec->{'version'} || 0
52 0 0 $res{$module} ||= []
111 0 0 $hashref->{$module} || 0
112 0 0 $res{$module} ||= []
157 0 0 shift @tuples || 0
158 0 0 $res{$module} ||= []
177 0 0 $res{$module} ||= []
221 0 0 $res{$module} ||= []
278 0 0 $res{$module} ||= []

or 3 conditions

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