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 3 if (eval { do { require Digest::SHA1; 1 } }) { }
3 0 elsif (eval { do { require Digest::SHA; 1 } }) { }
48 1 5 unless open my $rfh, "<", $path
53 3 4 if 0 != index($line, "$ck_id ")
58 0 1 if $!