Condition Coverage

blib/lib/DBIx/SecureCGI.pm
Criterion Covered Total %
condition 5 111 4.5


and 3 conditions

line !l l&&!r l&&r condition
130 0 0 0 $cache and ref $cache eq 'HASH'
289 0 0 0 not $func and ref $$P{$k}
293 0 0 0 ref $$P{$k} && $func ne 'eq' && $func ne 'ne'
295 0 0 0 $v =~ /$$cmd[0]/ms && sprintf($$cmd[1], $f, $v)
304 0 0 0 $func and not $func =~ /\Aset_/ms
318 0 0 0 $order =~ /\A(\w+)\s*( ASC| DESC|)\z/ms and $qualify{$1}
325 0 0 0 $group =~ /\A(\w+)\s*( ASC| DESC|)\z/ms and $qualify{$1}
380 0 0 0 $$SQL{'UpdateWhere'} eq '1' and not $$P{'__force'}
461 0 0 0 $$SQL{'Where'} eq '1' and not $$P{'__force'}
477 0 0 0 $$SQL{'Where'} eq '1' and not $$P{'__force'}
485 0 0 0 $res and @tables
542 0 0 0 @bind && _is_cb($bind[-1])
560 0 0 0 @bind && _is_cb($bind[-1])

or 2 conditions

line l !l condition
133 0 0 $$dbh{$PRIVATE} //= {}
231 0 0 $2 // 'INNER'
284 0 0 $2 // ''
285 0 0 $func or 'eq'
312 0 0 $SQL{'Where'} ||= '1'
313 0 0 $SQL{'UpdateWhere'} ||= '1'

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 336 not $func or ref $func
0 0 336 not $func or ref $func or not $func =~ /\A[A-Za-z]\w*\z/ms
87 0 0 126 2 != @{$cmd;} or ref $$cmd[0] ne 'Regexp'
0 0 126 ref $$cmd[1] or 2 != (() = $$cmd[1] =~ /%s/gms)
0 0 126 2 != @{$cmd;} or ref $$cmd[0] ne 'Regexp' or (ref $$cmd[1] or 2 != (() = $$cmd[1] =~ /%s/gms))
162 0 0 0 1 != @pk or $pk[0] != 0
176 0 0 0 not @tables or grep {/\A\z|\s/ms;} @tables
302 0 0 0 not $func or $func =~ /\Aset_/ms
334 0 0 0 $$P{'__limit'} // ()
384 0 0 0 $$SQL{'Limit'} || ()
464 0 0 0 $$SQL{'Limit'} || ()
481 0 0 0 $$SQL{'Limit'} || ()
502 0 0 0 $$SQL{'Order'} || ()
0 0 0 $$SQL{'SelectLimit'} || ()
504 0 0 0 $cb // ()
513 0 0 0 $cb // ()
520 0 0 0 $$SQL{'Group'} || ()
0 0 0 $$SQL{'Order'} || ()
0 0 0 $$SQL{'SelectLimit'} || ()
537 0 0 0 $ref eq 'CODE' || $ref eq 'AnyEvent::CondVar'