Branch Coverage

blib/lib/HTML/FormFu/Localize.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
30 41 21 unless ($self->{'has_default_localize_object'})
43 7 57 if $@
50 0 0 if (not $localize_data->{'dies_on_missing_key'} and scalar @original_strings == scalar @localized_strings and scalar &any(sub { not $_; } , &pairwise(sub { $a eq $b; } , \@original_strings, \@localized_strings)) == 0)
59 57 0 if @localized_strings
62 5 57 unless (@localized_strings)
66 14 48 wantarray ? :
72 0 2 if @_ < 2
77 2 0 if (&blessed($localize_object))
90 1 1 if (not exists $self->{'weaken_localize_object'} or $self->{'weaken_localize_object'} != 0 and not &isweak(@{$$self{'localize_data'};}[-1]->{'localize_object'})) { }
143 2 0 $@ ? :
171 0 64 unless (&blessed($localize_data->{'localize_object'}))