| line |
true |
false |
branch |
|
84
|
0 |
0 |
if not $message or $message =~ /^[\n\r]$/g |
|
88
|
0 |
0 |
unless ($yt_id) |
|
96
|
0 |
0 |
unless ($yt_ticket) |
|
100
|
0 |
0 |
if ($yt_ticket and $git->get_config_boolean($CFG, 'print-info')) |
|
134
|
0 |
0 |
if ($git->get_config_boolean($CFG, 'required')) { } |
|
165
|
0 |
0 |
unless $git->is_reference_enabled($ref) |
|
166
|
0 |
0 |
unless check_ref($git, $ref) |
|
170
|
0 |
0 |
if ($errors) |
|
185
|
0 |
0 |
unless check_commit_msg($git, $commit->message) |
|
215
|
0 |
0 |
if ($msg) |
|
227
|
0 |
0 |
unless ($yt_id) |
|
234
|
0 |
0 |
unless ($task) |
|
243
|
0 |
0 |
unless open my $out, '>', path($commit_msg_file) |
|
255
|
0 |
0 |
unless defined $msg |
|
292
|
0 |
0 |
unless $yt_token |
|
294
|
0 |
0 |
unless ($yt_token) |
|
318
|
0 |
0 |
unless ($ticket->is_success) |
|
326
|
0 |
0 |
unless ($ticket_details->{'ticket_id'}) |
|
331
|
0 |
0 |
unless $ticket_details->{'Assignee'} |
|
345
|
0 |
0 |
unless $json |
|
352
|
0 |
0 |
if ($json->{'project'} and $json->{'project'}{'shortName'}) |
|
356
|
0 |
0 |
if ($json->{'customFields'}) |
|
359
|
0 |
0 |
if (ref $field->{'value'} eq 'HASH') { } |
|
|
0 |
0 |
elsif (ref $field->{'value'} eq 'ARRAY') { } |
|
384
|
0 |
0 |
if ($message =~ /$matchkey/i) |