blib/lib/Wiktionary/Parser/Section/Pronunciation/Audio.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 14 | 0.0 |
line | true | false | branch |
---|---|---|---|
35 | 0 | 0 | unless my $directory = $args{'directory'} |
38 | 0 | 0 | unless $filename |
46 | 0 | 0 | if ($$api{'error'}{'code'}) |
50 | 0 | 0 | unless (defined $file_content and &bytes::length($file_content)) |
56 | 0 | 0 | unless (-e $directory) |
61 | 0 | 0 | unless (-w $directory) |
65 | 0 | 0 | unless open my $fh, '>', $download_location |