Branch Coverage

blib/lib/Lingua/Boolean.pm
Criterion Covered Total %
branch 19 20 95.0


line true false branch
27 66 104 if defined $lang and $$obj{'LANG'} ne $lang
47 80 93 if ($self->_looks_true($to_test, $lang)) { }
75 18 elsif ($self->_looks_false($to_test, $lang)) { }
59 134 77 ref $_[0] eq 'Lingua::Boolean' ? :
69 2 2 ref $_[0] eq 'Lingua::Boolean' ? :
80 3 1 ref $_[0] eq 'Lingua::Boolean' ? :
93 38 173 unless exists $$self{'languages'}{$lang}{'match'}{'True'}
94 80 93 if $to_test ~~ $$self{'languages'}{$lang}{'match'}{'True'}
104 0 93 unless exists $$self{'languages'}{$lang}{'match'}{'False'}
105 75 18 if $to_test ~~ $$self{'languages'}{$lang}{'match'}{'False'}