Condition Coverage

blib/lib/Dist/Zilla/Plugin/Manifest/Read.pm
Criterion Covered Total %
condition 10 16 62.5


and 2 conditions

line l !l condition
294 0 4 &$error($item, 'does not exist') and next
296 0 1 &$error($item, 'is not a directory') and next
298 0 1 &$error($item, 'is not a plain file') and next

and 3 conditions

line !l l&&!r l&&r condition
335 0 0 1 &blessed($ex) and $ex->isa('Path::Tiny::Error')
428 3 63 0 $line =~ / \A \s *+ # requires perl v5.10 ( $RE{'name'} ) (*PRUNE) # requires perl v5.10 (?: \s ++ ( $RE{'mark'} ) (*PRUNE) (?: \s ++ ( $RE{'comment'} ) ) ? ) ? \s * \z /x and do { my($name, $mark, $comment) = ($1, $2, $3); if ($name =~ s/ \A ' ( . * ) ' \z /$1;/ex) { $name =~ s/ \\ ( ['\\] ) /$1;/egx; } ; if (exists $files{$name}) { my $f = $files{$name}; $self->log_error(['%s at %s line %d', $name, $manifest, $n]); $self->log_error([' also listed at %s line %d.', $manifest, $f->{'line'}]); push @errors, $n, 'The file also listed at line ' . $f->{'line'} . '.', $f->{'line'}, 'The file also listed at line ' . $n . '.'; next; } ; my $file = {'name', $name, 'mark', $mark // '+', 'comment', $comment, 'line', $n}; $files{$name} = $file; push @files, $file; 1 }

or 2 conditions

line l !l condition
149 10 1 $plugin->find_files // []
419 48 13 $mark // '+'