Branch Coverage

blib/lib/Template/Pure/Filters.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
46 58 143 if (&Scalar::Util::blessed($value) and $value->isa('Template::Pure::EncodedString') || $value->isa('Mojo::DOM58')) { }
54 131 1 unless not defined $value or &Scalar::Util::blessed($value) and $value->isa('Template::Pure::UndefObject')
68 0 1 unless &Scalar::Util::blessed($date_obj) and $date_obj->can('strftime')
81 1 1 $check ? :
85 0 1 if ($unsafe) { }
94 0 1 if ($unsafe) { }
139 5 2 if (length $data > $allowed_length)
164 0 0 defined $data ? :