Condition Coverage

blib/lib/CAS/DB.pm
Criterion Covered Total %
condition 5 39 12.8


and 3 conditions

line !l l&&!r l&&r condition
90 0 0 0 require diagnostics and 'diagnostics'->import
211 0 0 0 $$HR_params{'USER'} and $$HR_params{'USER'} =~ /^\d+$/
222 0 0 0 $$HR_params{'CLIENT'} and $$HR_params{'CLIENT'} =~ /^\d+$/
229 0 0 0 $$HR_params{'MASK'} and $$HR_params{'MASK'} =~ /^\d{1,2}$/
0 0 0 $$HR_params{'PERMISSION'} and $from_text_mask{$$HR_params{'PERMISSION'}}
509 0 0 0 $dbh and $dbh->ping

or 2 conditions

line l !l condition
82 0 8 $$HR_params{'server'} || 'mysql'
83 8 0 $$HR_params{'host'} || $ENV{'DBHost'} || 'localhost'
88 0 8 $$HR_params{'DEBUG'} || 0
99 0 8 $$HR_params{'DBIconnectAttributes'} || {'PrintError', 1}
207 0 0 $$HR_params{'DEBUG'} || $$self{'debug'} || 0
248 0 0 $$HR_params{'MATCHKEY'} ||= '%'
362 0 0 $$HR_params{'DEBUG'} || $$self{'debug'} || 0
382 0 0 $dbh->selectrow_hashref("SELECT * FROM Clients\n\t\t$where") || ''
409 0 0 $self->debug || 0

or 3 conditions

line l !l&&r !l&&!r condition
74 0 8 0 ref $proto || $proto