Condition Coverage

blib/lib/App/GitHooks/StagedChanges.pm
Criterion Covered Total %
condition 0 27 0.0


and 2 conditions

line l !l condition
424 0 0 $fork_manager->start && (next)

and 3 conditions

line !l l&&!r l&&r condition
174 0 0 0 $allow_commit &&= $file_passes
253 0 0 0 defined $skip_directories and $file =~ /$skip_directories/
274 0 0 0 defined $first_line and $first_line =~ /^#!.*perl/
305 0 0 0 $git_action eq 'D' and scalar grep({$$_{'return_value'} != $App::GitHooks::StagedChanges::PLUGIN_RETURN_SKIPPED;} @$ordered_output) == 0

or 2 conditions

line l !l condition
445 0 0 $return_value // ''
501 0 0 $error_message //= '(no error message specified)'

or 3 conditions

line l !l&&r !l&&!r condition
175 0 0 0 $has_warnings ||= $file_warnings
268 0 0 0 not defined $extension or $extension eq ''
331 0 0 0 $return_value == $App::GitHooks::StagedChanges::PLUGIN_RETURN_PASSED or $return_value == $App::GitHooks::StagedChanges::PLUGIN_RETURN_SKIPPED