line |
true |
false |
branch |
32
|
2 |
0 |
@blocks && $blocks[0] =~ tr/\n// == 1 ? : |
43
|
1 |
1 |
if (my $footer = pop @blocks) |
47
|
0 |
2 |
if ($in_footer_comment) { } |
|
0 |
2 |
elsif (/^\[[\w-]+:/iu) { } |
|
2 |
0 |
elsif (/^([\w-]+):\s*(.*)/iu) { } |
52
|
0 |
0 |
if /\]$/u |
78
|
0 |
2 |
@blocks ? : |
87
|
0 |
8 |
if (defined $title) |
88
|
0 |
0 |
unless $title =~ /^[^\n]+\n$/su |
97
|
0 |
4 |
if (defined $body) |
98
|
0 |
0 |
unless $body =~ /\n$/su |
112
|
1 |
3 |
unless %$footer |
115
|
2 |
1 |
if (my $signoff = delete $footer->{'signed-off-by'}) { } |
124
|
6 |
0 |
if (ref $line) { } |
149
|
0 |
0 |
if (my $values = $self->{'footer'}{lc $key}) { } |
158
|
0 |
2 |
unless $key =~ /^[\w-]+$/iu |