| blib/lib/Crypto/API.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 47 | 29.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 156 | 1 | 0 | 1 | $required and not defined $value |
| 169 | 0 | 0 | 0 | defined $value and not grep({ref $_ ? $value =~ /$_/ : $value eq $_;} @$type) |
| 174 | 0 | 0 | 0 | defined $value and not $value =~ /^[\d\.]+$/ |
| 179 | 0 | 0 | 0 | defined $value and not $value =~ /^[01]$/ |
| 184 | 0 | 0 | 0 | defined $value and not $value =~ /^[0-9a0-f]$/i |
| 326 | 0 | 0 | 0 | $action and not $action =~ /^(next|last)$/ |
| 441 | 1 | 0 | 27 | defined $default && length $default |
| line | l | !l | condition |
|---|---|---|---|
| 126 | 5 | 2 | $data ||= {} |
| 143 | 0 | 5 | $include ||= "" |
| 249 | 0 | 5 | $headers ||= {} |
| 5 | 0 | $events ||= {} | |
| 325 | 0 | 0 | $self->$filter(\%mapped_row, $row) || '' |
| 381 | 0 | 0 | $options{'head'} // "\$_" |
| 383 | 0 | 0 | $options{'tail'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 100 | 0 | 10 | 1 | delete $o{'spec'} // $self->$route_spec_func |
| 206 | 3 | 0 | 0 | defined $value or $include eq "always" |
| 236 | 0 | 0 | 0 | $data->{$my_alias} || $my_alias |
| 487 | 1 | 0 | 20 | $my_alias =~ /^_/ or $from_exchange eq "[X]" |