| blib/lib/Net/DNSServer/ConfParser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 0 | 12 | 0.0 |
| line | true | false | branch |
|---|---|---|---|
| 12 | 0 | 0 | unless ($self and $$self{'opts_callback'} and $$self{'zone_callback'} and $$self{'conf_file'}) |
| 23 | 0 | 0 | if ($$self{'conf_file'} =~ m[^([\w\-/\.]+)]) { } |
| 30 | 0 | 0 | unless $io |
| 45 | 0 | 0 | if ($entry =~ s/^\s*(\w+)\s//) { } |
| 47 | 0 | 0 | if ($tag =~ /options/i and $entry =~ s/^\{(.*)\};$/$1/s) { } |
| 0 | 0 | elsif ($tag =~ /zone/i and $entry =~ s/^\s*"*([\w\-\.]+)"*\s*([A-Z]*)\s+\{(.*)\};$/$3/s) { } |