Condition Coverage

blib/lib/FU/SQL.pm
Criterion Covered Total %
condition 22 25 88.0


and 3 conditions

line !l l&&!r l&&r condition
36 4 0 4 @_ == 1 && ref $_[0] eq 'HASH'
49 1 3 2 @_ == 1 && ref $_[0] eq 'HASH'
1 2 1 @_ == 1 && ref $_[0] eq 'ARRAY'
64 39 56 164 length $$sql and not $$sql =~ /\s$/u

or 2 conditions

line l !l condition
96 3 42 $opt{'placeholder_style'} ||= "dbi"
97 2 43 $opt{'in_style'} ||= "dbi"

or 3 conditions

line l !l&&r !l&&!r condition
41 2 0 7 !@_ || @_ == 1 && ref $_[0] eq 'HASH' && keys %{$_[0]} == 0
42 1 1 1 !@_ || @_ == 1 && ref $_[0] eq 'HASH' && keys %{$_[0]} == 0
95 9 1 0 /^(placeholder_style|in_style|quote_identifier)$/u or confess("Unknown flag: $_")