Condition Coverage

blib/lib/DTL/Fast.pm
Criterion Covered Total %
condition 26 64 40.6


and 3 conditions

line !l l&&!r l&&r condition
112 0 68 0 defined $kwargs{'dirs'} and ref $kwargs{'dirs'}
0 68 0 defined $kwargs{'dirs'} and ref $kwargs{'dirs'} and scalar @{$kwargs{'dirs'};}
137 0 53 0 defined $template and exists $kwargs{'cache'}
53 0 0 defined $template and exists $kwargs{'cache'} and $kwargs{'cache'}
0 0 0 defined $template and exists $kwargs{'cache'} and $kwargs{'cache'} and $kwargs{'cache'}->isa('DTL::Fast::Cache')
162 7 0 66 -e $template_path and -f $template_path
7 0 66 -e $template_path and -f $template_path and -r $template_path
247 0 30 0 exists $TAG_HANDLERS{$keyword} and $TAG_HANDLERS{$keyword} ne $module
262 5880 0 0 exists $FILTER_HANDLERS{$slug} and $FILTER_HANDLERS{$slug} ne $module
301 2058 0 0 exists $OPS_HANDLERS{$operator} and $OPS_HANDLERS{$operator} ne $module

or 2 conditions

line l !l condition
95 4 156 $kwargs{'ssi_dirs'} // []
297 1176 882 $KNOWN_OPS{$priority} //= {}

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 92 not defined $kwargs{'dirs'} or ref $kwargs{'dirs'} ne 'ARRAY'
0 0 92 not defined $kwargs{'dirs'} or ref $kwargs{'dirs'} ne 'ARRAY' or not scalar @{$kwargs{'dirs'};}
61 85 7 0 $RUNTIME_CACHE //= 'DTL::Fast::Cache::Runtime'->new
63 0 68 24 $kwargs{'no_cache'} or not defined($template = $RUNTIME_CACHE->get($cache_key))
117 0 68 0 $kwargs{'no_cache'} or not exists $kwargs{'cache'}
68 0 0 $kwargs{'no_cache'} or not exists $kwargs{'cache'} or not $kwargs{'cache'}
68 0 0 $kwargs{'no_cache'} or not exists $kwargs{'cache'} or not $kwargs{'cache'} or not $kwargs{'cache'}->isa('DTL::Fast::Cache')
0 0 0 $kwargs{'no_cache'} or not exists $kwargs{'cache'} or not $kwargs{'cache'} or not $kwargs{'cache'}->isa('DTL::Fast::Cache') or not defined($template = $kwargs{'cache'}->get($cache_key))
204 0 0 2 not ref $template_names or ref $template_names ne 'ARRAY'
0 0 2 not ref $template_names or ref $template_names ne 'ARRAY' or not scalar @$template_names