Branch Coverage

blib/lib/Nile/File.pm
Criterion Covered Total %
branch 10 62 16.1


line true false branch
89 0 1 unless ($OS = $^O)
90 0 1 if ($OS =~ /^darwin/i) { }
0 1 elsif ($OS =~ /^cygwin/i) { }
0 1 elsif ($OS =~ /^MSWin/i) { }
0 1 elsif ($OS =~ /^vms/i) { }
0 1 elsif ($OS =~ /^bsdos/i) { }
0 1 elsif ($OS =~ /^dos/i) { }
0 1 elsif ($OS =~ /^MacOS/i) { }
0 1 elsif ($OS =~ /^epoc/) { }
0 1 elsif ($OS =~ /^os2/i) { }
131 0 0 ref $_[0] eq 'HASH' ? :
141 0 0 if (is_uri($file))
301 0 0 if ($folders) { }
308 0 0 if ($relative)
310 0 0 if ($match)
316 0 0 if ($depth)
318 0 0 if (ref $dir eq 'ARRAY') { }
420 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }
0 0 elsif (@_ == 3) { }
433 0 0 unless CORE::open my $fh, $mode, $filename
434 0 0 if $charset
472 0 0 if (@_ == 1) { }
503 0 0 unless IO::Compress::Gzip::gzip($input, $output, 'Name', $outname)
528 0 0 unless IO::Uncompress::Gunzip::gunzip($input, $output)
551 0 0 unless ($output)
560 0 0 unless ($zip->writeToFileNamed($output) == 0)
583 0 0 unless ($zip->read($input) == 0)
587 0 0 unless ($dest)
613 0 0 unless $view =~ /\.html$/i
636 0 0 unless $file =~ /\.xml$/i