Condition Coverage

blib/lib/Dist/Metadata/Dist.pm
Criterion Covered Total %
condition 15 20 75.0


and 3 conditions

line !l l&&!r l&&r condition
36 0 84 5 $req and not $$self{$req}
261 0 13 63 $dni_name and $dni_version
353 58 81 87 not exists $$self{$fields[$i]} and defined $values[$i]

or 2 conditions

line l !l condition
119 22 0 $type ||= 'md5'
226 41 0 $provides || {}
272 11 12 $_[0]{'path_class_dir'} ||= 'Path::Class::Dir'
273 447 64 $_[0]{'path_class_file'} ||= 'Path::Class::File'

or 3 conditions

line l !l&&r !l&&!r condition
261 63 13 0 $dni_name and $dni_version or not $name