Condition Coverage

blib/lib/Class/DBI/ToSax.pm
Criterion Covered Total %
condition 18 27 66.6


and 3 conditions

line !l l&&!r l&&r condition
19 14 0 14 ref $val and $val->can('to_sax')
43 0 0 23 $handler and ref $handler
0 0 23 $handler and ref $handler and $handler->can('start_element')

or 2 conditions

line l !l condition
21 2 12 $opt{'_ancestors'} ||= []
134 0 1 $class->_has_many_methods || []
145 0 2 $class->_has_a_methods || []

or 3 conditions

line l !l&&r !l&&!r condition
32 1 0 13 not defined $val or length $val == 0
56 9 14 0 delete $opt{'wrapper'} || $self->table
81 9 5 7 $toplevel or $self->_stop_recursion(%opt)
84 15 9 13 $pk{$_} || $has_a{$_}