| blib/lib/NoZone.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 28 | 60.7 |
| line | true | false | branch |
|---|---|---|---|
| 77 | 2 | 0 | $params{'datadir'} ? : |
| 78 | 2 | 0 | $params{'confdir'} ? : |
| 79 | 1 | 1 | $params{'masters'} ? : |
| 120 | 4 | 2 | if ($inherits) |
| 142 | 0 | 2 | unless my $mainfh = 'IO::File'->new(">$mainfile") |
| 146 | 6 | 0 | if $verbose |
| 154 | 0 | 6 | unless my $conffh = 'IO::File'->new(">$conffile") |
| 156 | 6 | 0 | if $verbose |
| 158 | 0 | 6 | unless $conffh->close |
| 160 | 3 | 3 | if int @{$$self{'masters'};} |
| 162 | 0 | 3 | unless my $datafh = 'IO::File'->new(">$datafile") |
| 164 | 3 | 0 | if $verbose |
| 166 | 0 | 3 | unless $datafh->close |
| 170 | 0 | 2 | unless $mainfh->close |