line |
true |
false |
branch |
140
|
1 |
2 |
unless (exists $args{'document_string'} or exists $args{'frontmatter_hashref'} or exists $args{'data_text'}) |
150
|
2 |
24 |
unless (exists $args{'document_string'} xor (exists $args{'frontmatter_hashref'} or exists $args{'data_text'})) |
161
|
15 |
9 |
if (exists $args{'document_string'}) { } |
|
9 |
0 |
elsif (exists $args{'frontmatter_hashref'} or exists $args{'data_text'}) { } |
184
|
6 |
3 |
if (defined $hashref) |
187
|
3 |
3 |
if defined $data |
190
|
6 |
3 |
if (defined $data) |
199
|
0 |
15 |
unless $fh |
205
|
12 |
29 |
if ($. == 1) { } |
207
|
11 |
1 |
if ($line =~ /$yaml_marker_re/) { } |
221
|
10 |
19 |
if ($line =~ /$yaml_marker_re/) |
244
|
0 |
15 |
unless open my $fh, '<:encoding(UTF-8)', \$byte_string |
264
|
1 |
3 |
if @_ |
266
|
0 |
3 |
unless (defined $self->{'yaml'}) |
270
|
3 |
0 |
unless ($self->{'yaml_hashref'}) |
289
|
1 |
10 |
if @_ |
307
|
1 |
4 |
if @_ |
309
|
0 |
4 |
unless (defined $self->{'data'}) |
314
|
0 |
4 |
unless open my $fh, '<', \$data |
331
|
1 |
12 |
if @_ |
345
|
1 |
9 |
if @_ |