Branch Coverage

blib/lib/Jifty/DBI/Filter/Boolean.pm
Criterion Covered Total %
branch 17 20 85.0


line true false branch
18 74 998 if $value eq $_
28 1 76 unless defined $value
31 76 168 if $value eq $_
55 13 43 unless defined $$value_ref
57 21 22 if ($self->_is_true($$value_ref)) { }
22 0 elsif ($self->_is_false($$value_ref)) { }
80 14 108 unless defined $$value_ref or $self->column->mandatory
81 0 108 if uc($$value_ref || '') eq 'NULL' and not $self->column->mandatory
83 53 55 if ($self->_is_true($$value_ref)) { }
55 0 elsif ($self->_is_false($$value_ref)) { }