Branch Coverage

blib/lib/Nile/File.pm
Criterion Covered Total %
branch 10 60 16.6


line true false branch
88 0 1 unless ($OS = $^O)
89 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) { }
124 0 0 ref $_[0] eq 'HASH' ? :
289 0 0 if ($folders) { }
296 0 0 if ($relative)
298 0 0 if ($match)
304 0 0 if ($depth)
306 0 0 if (ref $dir eq 'ARRAY') { }
408 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }
0 0 elsif (@_ == 3) { }
421 0 0 unless CORE::open my $fh, $mode, $filename
422 0 0 if $charset
460 0 0 if (@_ == 1) { }
491 0 0 unless IO::Compress::Gzip::gzip($input, $output, 'Name', $outname)
516 0 0 unless IO::Uncompress::Gunzip::gunzip($input, $output)
539 0 0 unless ($output)
548 0 0 unless ($zip->writeToFileNamed($output) == 0)
571 0 0 unless ($zip->read($input) == 0)
575 0 0 unless ($dest)
601 0 0 unless $view =~ /\.html$/i
624 0 0 unless $file =~ /\.xml$/i