Condition Coverage

blib/lib/File/Signature.pm
Criterion Covered Total %
condition 4 21 19.0


and 3 conditions

line !l l&&!r l&&r condition
91 0 0 16 /hex/ and 'Digest::MD5'->new->addfile($fh)->hexdigest
0 0 0 /b64/ and 'Digest::MD5'->new->addfile($fh)->b64digest
0 0 0 /bin/ and 'Digest::MD5'->new->addfile($fh)->digest
159 0 0 0 exists $$self{'old_sig'} and $$self{'old_sig'}->error

or 3 conditions

line l !l&&r !l&&!r condition
79 0 9 14 $CONFIG{'allow_relative_paths'} or 0 == index($pathname, '/')
91 16 0 0 /hex/ and 'Digest::MD5'->new->addfile($fh)->hexdigest or /b64/ and 'Digest::MD5'->new->addfile($fh)->b64digest
0 0 0 /hex/ and 'Digest::MD5'->new->addfile($fh)->hexdigest or /b64/ and 'Digest::MD5'->new->addfile($fh)->b64digest or /bin/ and 'Digest::MD5'->new->addfile($fh)->digest