Branch Coverage

blib/lib/Template/Directive/XSSAudit.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
168 8 11 if ($callback)
169 1 7 if (ref $callback ne 'CODE')
197 7 9 if ($callback)
198 1 6 if (ref $callback ne 'CODE')
216 2 3 @$filters ? :
2 5 $event eq 'on_filtered' ? :
219 4 3 @$filters ? :
246 6 12 if ($array_ref)
247 1 5 if (ref $array_ref ne 'ARRAY')
266 14 6 if ($_[0] =~ /stash->get/)
275 9 0 if (@checking_get)
288 21 0 unless (@checking_get)
323 19 56 if ($text =~ /^(#line.*)$/m)
330 14 31 if (@checking_get)
332 9 5 if (@applied_filters)
335 6 21 if $union{$e}++
343 8 6 !@good_filters ? :