| lib/Tie/EncryptedHash.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 37 | 55 | 67.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 59 | 73 | 1 | 4 | $delete and $key =~ /__password/ |
| 73 | 347 | 0 | 144 | ref $ctext and not $value |
| 81 | 258 | 89 | 0 | not $auth and ref $$self{$1} |
| 82 | 258 | 83 | 6 | not $auth and $$self{'__hide'} |
| 83 | 83 | 97 | 161 | $auth and $auth ne '1' |
| 84 | 279 | 0 | 62 | $value and $auth |
| 83 | 192 | 4 | $auth and $delete | |
| 232 | 0 | 43 | $isnot and not $value | |
| 149 | 0 | 83 | not $auth and $ctext | |
| 0 | 0 | 149 | $auth and not $isnot | |
| 148 | 258 | 0 | 0 | ref $$self{$key} and $$self{'__scaffolding'}{$key} ne $$self{'__password'} |
| line | l | !l | condition |
|---|---|---|---|
| 46 | 1 | 2 | $args{'__cipher'} || 'Blowfish' |
| 164 | 5 | 7 | $_[2] || 'Blowfish' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 54 | 659 | 0 | 0 | ref $self || $self |
| 56 | 491 | 0 | 64 | $key =~ /^(_{1}[^_][^:]*)$/ or $key =~ /.*?::(_{1}[^_][^:]*)/ |
| 64 | 0 | 0 | $key =~ /([^:]*)$/ or $key =~ /.*?::([^:]*)/ | |
| 58 | 73 | 5 | 26 | $value or $delete |
| 74 | 144 | 0 | 0 | $$self{'__scaffolding'}{$1} || $$self{'__password'} |
| 161 | 0 | 0 | 12 | ref $_[0] || $_[0] |