| blib/lib/App/GitHooks/Utils.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 12 | 16 | 75.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 85 | 3 | 6 | if (scalar @$prefixes == 0) { } | 
| 1 | 5 | elsif (scalar @$prefixes == 1) { } | |
| 165 | 1 | 3 | unless defined $ticket_regex | 
| 172 | 0 | 3 | if -d 'File::Spec'->catfile($git_directory, 'rebase-merge') or -d 'File::Spec'->catfile($git_directory, 'rebase-apply') | 
| 189 | 1 | 2 | if (defined $ticket_id and defined $normalize and $normalize =~ /\S/) | 
| 192 | 0 | 1 | unless defined $match and defined $replacement | 
| 194 | 0 | 1 | if $match =~ m[(?<!\\)/] | 
| 196 | 0 | 1 | if $replacement =~ m[(?<!\\)/] |