| blib/lib/URI/ni.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 23 | 21.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 215 | 0 | 0 | 0 | &Scalar::Util::blessed($digest) and $digest->isa('Digest::base') |
| line | l | !l | condition |
|---|---|---|---|
| 128 | 1 | 0 | $algo ||= 'sha-256' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 109 | 0 | 0 | 0 | $ctx ||= eval { do { 'Digest'->new(uc $algo) } } |
| 117 | 0 | 1 | 0 | $ctx ||= 'Digest'->new(uc $algo) |
| 123 | 0 | 0 | 0 | $algo ||= (my $a = lc $self->algorithm) |
| 225 | 0 | 1 | 0 | $OP{$kind} || $OP{$KINDS{$kind}} |
| 260 | 0 | 0 | 2 | not defined $o or $o =~ m[^/+$] |
| 279 | 0 | 0 | 4 | not defined $hash or $hash =~ m[^/+$] |