Branch Coverage

blib/lib/PlackX/Framework/Template.pm
Criterion Covered Total %
branch 5 28 17.8


line true false branch
18 0 0 if $class eq __PACKAGE__
22 0 0 if $class->get_engine
23 0 0 if $options and not ref $options and $options eq ':manual' || $options eq ':no-auto'
27 0 0 unless eval 'require ' . $class->engine_class
30 0 0 unless ($options)
33 0 0 if $config->{'pxf'}{'template'}
34 0 0 if $config->{'pxf_template'}
46 0 1 unless $response and ref $response
48 0 1 unless $engine
49 0 1 unless $engine and ref $engine
60 0 1 if $params and ref $params eq "HASH"
63 0 0 $self->{'engine'}->can('error') ? :
0 1 unless $self->{'engine'}->process($file, $self->{'params'}, $output_to)
75 0 0 ref $self ? :