| line |
true |
false |
branch |
|
22
|
8 |
18 |
if (@args == 1) { } |
|
23
|
1 |
7 |
if is_plain_hashref($args[0]) |
|
32
|
17 |
9 |
unless (defined $self->package) |
|
37
|
2 |
50 |
if (defined $self->$attr) |
|
38
|
1 |
1 |
unless (is_blessed_ref($self->$attr) and $self->$attr->isa("Path::Tiny")) |
|
51
|
4 |
28 |
unless (is_ref($self)) |
|
57
|
1 |
31 |
unless $all |
|
59
|
17 |
14 |
if (defined $name) { } |
|
60
|
16 |
1 |
if (exists $all->{$name}) |
|
79
|
42 |
2 |
if ($name =~ /\.(.*?)\z/u) |
|
81
|
19 |
23 |
if ($self->_formats->{$ext}) |
|
89
|
38 |
6 |
unless $encoding |
|
90
|
0 |
6 |
if ($encoding ne "base64") |
|
97
|
10 |
23 |
if $self->_cache |
|
101
|
1 |
22 |
if ($self->filename) { } |
|
107
|
1 |
22 |
unless defined fileno $fh |
|
126
|
4 |
38 |
if ($name_encoding =~ /^(.*)\s+\((.*?)\)$/u) { } |
|
132
|
2 |
40 |
if ($self->prefer_filesystem and -f (my $path = $self->prefer_filesystem->child($name))) |
|
133
|
1 |
1 |
$encoding ? : |
|
143
|
0 |
19 |
unless is_coderef($cb) |
|
151
|
0 |
13 |
unless $name =~ /^[a-z][a-z0-9_]+\z/u |
|
157
|
6 |
7 |
unless $self->_valid_plugin($class) |
|
160
|
6 |
7 |
if ($class->can('new')) { } |
|
163
|
0 |
7 |
if (%args) |
|
169
|
0 |
13 |
unless $self->_valid_plugin($plugin) |
|
172
|
13 |
0 |
if ($plugin->does("Data::Section::Pluggable::Role::ContentProcessorPlugin")) |
|
174
|
6 |
7 |
if is_plain_arrayref($extensions[0]) |
|
175
|
0 |
13 |
unless @extensions |
|
189
|
20 |
6 |
if $plugin->can("does") |
|
203
|
1 |
2 |
if (defined $encoding) { } |
|
204
|
1 |
0 |
if ($encoding eq 'base64') { } |