line |
true |
false |
branch |
85
|
0 |
0 |
if not $message or $message =~ /^[\n\r]$/g |
91
|
0 |
0 |
unless ($yt_id) |
99
|
0 |
0 |
unless ($yt_ticket) |
103
|
0 |
0 |
if ($yt_ticket and $git->get_config_boolean($CFG, 'print-info')) |
105
|
0 |
0 |
if $commit_id |
139
|
0 |
0 |
if ($git->get_config_boolean($CFG, 'required')) { } |
170
|
0 |
0 |
unless $git->is_reference_enabled($ref) |
171
|
0 |
0 |
if (check_ref($git, $ref)) |
176
|
0 |
0 |
if ($errors) |
193
|
0 |
0 |
if (check_commit_msg($git, $commit->message, $commit->commit)) |
225
|
0 |
0 |
if ($msg) |
237
|
0 |
0 |
unless ($yt_id) |
244
|
0 |
0 |
unless ($task) |
253
|
0 |
0 |
unless open my $out, '>', path($commit_msg_file) |
265
|
0 |
0 |
unless defined $msg |
302
|
0 |
0 |
unless $yt_token |
304
|
0 |
0 |
unless ($yt_token) |
328
|
0 |
0 |
unless ($ticket->is_success) |
336
|
0 |
0 |
unless ($ticket_details->{'ticket_id'}) |
341
|
0 |
0 |
unless $ticket_details->{'Assignee'} |
355
|
0 |
0 |
unless $json |
362
|
0 |
0 |
if ($json->{'project'} and $json->{'project'}{'shortName'}) |
366
|
0 |
0 |
if ($json->{'customFields'}) |
369
|
0 |
0 |
if (ref $field->{'value'} eq 'HASH') { } |
|
0 |
0 |
elsif (ref $field->{'value'} eq 'ARRAY') { } |
396
|
0 |
0 |
if ($message =~ /$matchkey/i) |