Condition Coverage

blib/lib/App/GitHooks/Utils.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

line !l l&&!r l&&r condition
187 0 0 0 defined $ticket_id and defined $normalize
0 0 0 defined $ticket_id and defined $normalize and $normalize =~ /\S/
190 0 0 0 defined $match and defined $replacement

or 2 conditions

line l !l condition
50 0 0 $app->get_config->{'_'}{'project_prefixes'} // ''
123 0 0 $app->get_config->get_regex('_', 'extract_ticket_id_from_commit') // '^($project_prefixes-\\d+|--)\\: ?'

or 3 conditions

line l !l&&r !l&&!r condition
170 0 0 0 -d 'File::Spec'->catfile($git_directory, 'rebase-merge') or -d 'File::Spec'->catfile($git_directory, 'rebase-apply')