Branch Coverage

blib/lib/Module/Manifest.pm
Criterion Covered Total %
branch 43 64 67.1


line true false branch
115 1 14 unless defined wantarray
122 0 15 if &Params::Util::_STRING($skipfile)
123 0 15 if &Params::Util::_STRING($manifest)
149 1 3 unless ref $self
150 2 1 unless (defined $name and length $name)
158 1 0 unless (-f $file and -r _)
163 0 0 unless (CORE::open MANFILE, $file)
168 0 0 unless (close MANFILE)
203 1 4 unless ref $self
204 1 3 unless (ref $array eq 'ARRAY')
211 0 8 unless $line =~ /^\s*([^\s#]\S*)/
212 1 7 if ($hash{$1}++)
218 1 2 if ($type eq 'skip') { }
1 1 elsif ($type eq 'manifest') { }
255 1 9 unless ref $self
256 1 8 unless defined wantarray
257 2 7 unless (defined $file and length $file)
262 1 6 unless exists $$self{'skiplist'}
266 4 10 if $file =~ /$mask/i
303 0 0 unless defined wantarray
304 0 0 unless (defined $path and length $path)
309 0 0 if (not defined $rel or $path)
314 0 0 if ($platforms{$^O})
340 1 1 unless ref $self
341 1 0 unless defined wantarray
358 1 1 unless ref $self
359 1 0 unless defined wantarray
376 1 1 unless ref $self
377 1 0 unless defined wantarray
398 1 1 unless ref $self
399 1 0 unless defined wantarray
400 0 1 if (exists $$self{'manifest'})