Branch Coverage

blib/lib/Protocol/DBus/Authn/Mechanism/DBUS_COOKIE_SHA1/Pieces.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
14 0 2 if (eval { do { require Digest::SHA1; 1 } }) { }
2 0 elsif (eval { do { require Digest::SHA; 1 } }) { }
48 1 4 unless open my $rfh, '<', $path
53 3 3 if 0 != index($line, "$ck_id ")
58 0 1 if $!