blib/lib/WebNano/Renderer/TTiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 28 | 75.0 |
line | true | false | branch |
---|---|---|---|
11 | 12 | 16 | if (ref $_[0]) { } |
0 | 16 | elsif (not defined $_[0]) { } | |
27 | 22 | 0 | if ($c) |
33 | 0 | 22 | unless (@search_path) |
37 | 1 | 21 | unless ($template) |
42 | 0 | 1 | if $self->TEMPLATE_EXTENSION |
48 | 6 | 27 | if (not $self->root or 'File::Spec'->file_name_is_absolute($path)) { } |
50 | 4 | 2 | if (-f $to_check) |
58 | 17 | 21 | if (-f $to_check) |
66 | 1 | 21 | unless ($full_template) |
72 | 1 | 0 | if (-f $to_check) |
78 | 0 | 22 | unless defined $full_template |
79 | 0 | 22 | unless open my $fh, $full_template |
81 | 4 | 18 | unless ($self->_tt_tiny) |