blib/lib/Zonemaster/Engine/Nameserver.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 34 | 52 | 65.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 12531 | 8897 | 1 | $self->address->version == 4 and not 'Zonemaster::Engine'->config->ipv4_ok |
110 | 8897 | 12515 | 16 | $self->address->version == 6 and not 'Zonemaster::Engine'->config->ipv6_ok |
134 | 21374 | 0 | 38 | $type eq 'DS' and $class eq 'IN' |
21374 | 36 | 2 | $type eq 'DS' and $class eq 'IN' and $self->fake_ds->{lc $name} | |
152 | 1 | 5 | 1 | lc $name eq lc $fname and $type eq 'NS' |
484 | 0 | 0 | 0 | $self->address->version == 4 and not 'Zonemaster::Engine'->config->ipv4_ok |
489 | 0 | 0 | 0 | $self->address->version == 6 and not 'Zonemaster::Engine'->config->ipv6_ok |
line | l | !l | condition |
---|---|---|---|
103 | 21428 | 1 | $type //= 'A' |
127 | 19368 | 2044 | $href->{'class'} // 'IN' |
254 | 3 | 0 | $type //= 'A' |
255 | 0 | 3 | $href->{'class'} //= 'IN' |
414 | 1 | 0 | &max(@{$self->times;}) // 0 |
420 | 1 | 0 | &min(@{$self->times;}) // 0 |
426 | 2 | 0 | &sum(@{$self->times;}) // 0 |
476 | 0 | 16 | $class //= 'IN' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
128 | 164 | 0 | 21248 | $href->{'dnssec'} // $defaults{'dnssec'} |
129 | 108 | 0 | 21304 | $href->{'usevc'} // $defaults{'usevc'} |
130 | 270 | 0 | 21142 | $href->{'recurse'} // $defaults{'recurse'} |
131 | 10 | 0 | 21402 | $href->{'edns_size'} // $defaults{'edns_size'} |
277 | 0 | 2 | 6 | $href->{$flag} // $defaults{$flag} |