blib/lib/CAM/PDF/Decrypt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 29 | 44.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
123 | 28 | 0 | 0 | $$dict{'V'}{'value'} != 1 and $$dict{'V'}{'value'} != 2 |
391 | 8 | 0 | 77 | $objnum and $$self{'EncryptBlock'} |
8 | 69 | 8 | $objnum and $$self{'EncryptBlock'} and $objnum == $$self{'EncryptBlock'} |
line | l | !l | condition |
---|---|---|---|
342 | 12 | 0 | $pkg->new($doc, $opass, $upass, 0) || die("$CAM::PDF::errstr\n") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
123 | 0 | 0 | 28 | $$dict{'Filter'}{'value'} ne 'Standard' or $$dict{'V'}{'value'} != 1 and $$dict{'V'}{'value'} != 2 |
133 | 0 | 0 | 28 | 40 > $$self{'keylength'} or 128 < $$self{'keylength'} |
0 | 0 | 28 | 40 > $$self{'keylength'} or 128 < $$self{'keylength'} or 0 != $$self{'keylength'} % 8 | |
279 | 12 | 0 | 0 | shift() || $$self{'P'} || $self->encode_permissions(1, 1, 1, 1) |
385 | 0 | 0 | 85 | ref $content or ref $objnum |
0 | 0 | 85 | ref $content or ref $objnum or ref $gennum |