| blib/lib/EasyDNS/DDNS/State.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 0 | 5 | unless $path |
| 34 | 2 | 3 | unless -f $path |
| 36 | 0 | 3 | unless open my $fh, "<", $path |
| 48 | 0 | 3 | unless $path |
| 51 | 0 | 3 | if $ip eq "" |
| 54 | 0 | 3 | unless (-d $dir) |
| 55 | 0 | 0 | unless make_path($dir) |
| 60 | 0 | 3 | unless print {$fh;} $ip, "\n" |
| 61 | 0 | 3 | unless close $fh |
| 63 | 0 | 3 | unless rename $tmp, $path |