Condition Coverage

blib/lib/App/GitHooks/Test.pm
Criterion Covered Total %
condition 11 25 44.0


and 3 conditions

line !l l&&!r l&&r condition
281 0 0 9 defined $hook_template && $hook_template =~ /\w/

or 2 conditions

line l !l condition
153 0 0 delete $args{'files'} // {}
219 9 0 delete $args{'cleanup_test_repository'} // 1
220 9 0 delete $args{'config'} // ''
221 9 0 delete $args{'hooks'} // []
222 9 0 delete $args{'plugins'} // []
315 0 9 $ENV{'COVER_DB_PATH'} // ''
460 21 1 delete $args{'content'} // ''
552 3 0 delete $args{'cleanup_test_repository'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
234 9 0 0 ($ENV{'HARNESS_PERL_SWITCHES'} // '') =~ /Devel::Cover/ || ($ENV{'PERL5OPT'} // '') =~ /Devel::Cover/
328 0 9 0 $cover_db_path //= 'File::Spec'->catfile(Cwd::getcwd(), 'cover_db')