Condition Coverage

blib/lib/App/GitHooks.pm
Criterion Covered Total %
condition 18 34 52.9


and 3 conditions

line !l l&&!r l&&r condition
778 21 0 22 defined $ENV{'GITHOOKSRC_FORCE'} and -e $ENV{'GITHOOKSRC_FORCE'}
0 0 0 defined $ENV{'GITHOOKSRC'} and -e $ENV{'GITHOOKSRC'}
0 0 0 defined $ENV{'HOME'} and -e $ENV{'HOME'} . '/.githooksrc'
1080 0 21 23 defined $_ && $_ ne ''

or 2 conditions

line l !l condition
438 3 16 delete $args{'exit'} // 1
657 32 1 $self->{'plugins'}{$hook_name} // []
689 18 1 ($config->get('_', 'force_plugins') // $limit_plugins) // ''
746 0 290 $all_plugins->{$hook} //= []
986 0 0 $repository->run('config', '--get', 'remote.origin.url') // ''
990 0 0 $remote_name //= '(no remote found)'
1024 2 0 $self->{'arguments'} // []
1058 9 14 $indent //= ''

or 3 conditions

line l !l&&r !l&&!r condition
689 18 0 1 $config->get('_', 'force_plugins') // $limit_plugins
966 28 18 0 $self->{'repository'} //= 'Git::Repository'->new