blib/lib/Net/DNS/ZoneParse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 44 | 43.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
105 | 3 | 0 | 1 | $$param{'file'} and not $$param{'fh'} |
418 | 0 | 0 | 0 | not $$param{'self'}{'dummy'} and $$param{'name'} |
0 | 0 | 0 | not $$param{'self'}{'dummy'} and $$param{'name'} and not $$param{'nocache'} |
line | l | !l | condition |
---|---|---|---|
100 | 0 | 4 | $$param{'ttl'} || $$self{$$param{'name'}}{'ttl'} || 0 |
101 | 1 | 3 | $file || $$param{'file'} || $$self{$$param{'name'}}{'filename'} || '' |
110 | 0 | 4 | $$self{'conf'}{'parser'} || ['Native'] |
179 | 0 | 4 | $$config{'prefix'} || 'db.' |
0 | 4 | $$config{'suffix'} || '' | |
322 | 0 | 1 | $$prm{'origin'} || '' |
323 | 0 | 2 | $$prm{'ttl'} || $$self{$param{'origin'}}{'ttl'} || 0 |
327 | 0 | 2 | $$prm{'generator'} || $$self{'conf'}{'generator'} || ['Native'] |
335 | 0 | 2 | $param{'parser_args'}{$gen} || {} |
409 | 0 | 4 | $$param{'parser_args'}{$parser} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
103 | 3 | 0 | 1 | $fh || $$param{'fh'} |
224 | 0 | 0 | 1 | $$prm{'path'} || $$self{'conf'}{'path'} |
0 | 1 | 0 | $$prm{'filename'} || ($$prm{'prefix'} || $$self{'conf'}{'prefix'} || '') . $zone . ($$prm{'suffix'} || $$self{'conf'}{'suffix'} || '') | |
1 | 0 | 0 | $$prm{'dontload'} || $$self{'conf'}{'dontload'} | |
324 | 0 | 1 | 0 | $$prm{'rr'} || $$self{$param{'origin'}}->rr |