blib/lib/Data/Validate/DNS/SSHFP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 22 | 68.1 |
line | true | false | branch |
---|---|---|---|
43 | 0 | 11 | unless defined $value |
47 | 0 | 11 | if ($value =~ /[^0-9]/) |
52 | 11 | 0 | if ($opts{'strict'}) |
53 | 2 | 9 | if ($value < 1 or $value > 4) |
67 | 0 | 16 | unless defined $value |
71 | 0 | 16 | if ($value =~ /[^0-9]/) |
76 | 16 | 0 | if ($opts{'strict'}) |
77 | 2 | 14 | if ($value < 1 or $value > 2) |
93 | 0 | 9 | unless defined $value and is_sshfp_fptype($fptype, %opts) |
102 | 4 | 5 | if (length $data != $digest_length{$fptype}) |
112 | 15 | 21 | if ref $_[0] |