blib/lib/Protocol/DBus/Authn/Mechanism/DBUS_COOKIE_SHA1/Pieces.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 3 | 66.6 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
13 | 1 | 2 | 0 | $sha1_module ||= do { if (eval { do { require Digest::SHA1; 1 } }) { 'Digest::SHA1'; } elsif (eval { do { require Digest::SHA; 1 } }) { 'Digest::SHA'; } else { die 'No SHA module available!'; } } |