Condition Coverage

blib/lib/SQL/Statement/Operation.pm
Criterion Covered Total %
condition 22 47 46.8


and 3 conditions

line !l l&&!r l&&r condition
204 81 95 150 $left && $right
304 0 0 0 $left && $right
364 0 0 0 $left && $right
426 105 0 123 &looks_like_number($left) && &looks_like_number($r)
482 27 0 44 &looks_like_number($left) and &looks_like_number($right[0])
27 0 44 &looks_like_number($left) and &looks_like_number($right[0]) and &looks_like_number($right[1])
486 22 6 16 $left >= $right[0] && $left <= $right[1]
490 0 12 15 $left ge $right[0] && $left le $right[1]
553 2 0 567 defined $left and defined $right
554 62 0 505 &looks_like_number($left) && &looks_like_number($right)
919 0 0 81 defined $left and defined $right

or 2 conditions

line l !l condition
102 0 0 ref $_[0] || 'SQL::Statement::Operation'
561 0 0 ref $_[0] || 'SQL::Statement::Operation::Equality'
566 0 0 ref $_[0] || 'SQL::Statement::Operation::Equality'
910 0 0 ref $_[0] || 'SQL::Statement::Operation::Regexp'

or 3 conditions

line l !l&&r !l&&!r condition
251 5 1 5 $left || $right
308 0 0 0 !defined($left) || $left eq ''