Branch Coverage

blib/lib/HealthCheck/Diagnostic/DBHPing.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
19 0 4 @params == 1 && (ref $params[0] || '') eq 'HASH' ? :
31 4 5 if ref $self
32 3 6 if ref $dbh eq 'CODE'
34 5 4 unless $dbh and do { local $@; local $SIG{'__DIE__'}; eval { do { $dbh->can('ping') } } }
47 2 2 $dbh->ping ? :
48 2 2 $status eq 'OK' ? :
52 2 2 if $dbh->{'Username'}