Branch Coverage

lib/App/Followme/FIO.pm
Criterion Covered Total %
branch 65 84 77.3


line true false branch
37 0 0 if ($page) { }
59 0 3 $filename eq '.' ? :
62 2 1 if defined $ext
73 3 284 if (ref $data eq 'HASH')
83 5 282 if (ref $data eq 'ARRAY')
101 92 43 unless defined $format
112 18 136 if file_name_is_absolute($directories[-1])
121 1041 0 if (no_upwards($dir)) { }
124 0 0 unless $dir eq '.'
138 235 11 if (-e $filename) { }
155 1 0 if (-e $filename) { }
172 85 32 if ($patterns)
176 0 99 if ($pattern eq '*') { }
181 74 25 if ($pattern =~ s/^\*//) { }
188 25 74 if ($pattern =~ s/\*$//) { }
212 14 3 -e $target ? :
215 0 21 unless defined $source
217 1 20 unless -e $source
218 0 20 if fio_same_file($target, $source)
221 14 6 if $source_date >= $target_date
234 66 68 if $file =~ /$pattern/
254 68 66 unless fio_match_patterns($file, $globs)
258 40 26 if ($file_date > $newest_date)
272 0 331 unless defined $filename
276 14 317 unless $fd
278 15 302 if defined $binmode
290 20 24 unless defined $case_sensitivity
291 0 44 unless defined $filename1 and defined $filename2
295 10 34 unless @path1 == @path2
301 256 0 unless ($case_sensitivity)
306 11 245 unless $part1 eq $part2
318 12 15 if ($date =~ /[^\d]/)
319 0 12 unless $date =~ /T/
338 59 1094 if (-d $filename) { }
357 3 3 if -d $file
370 0 232 unless $dd
374 464 1072 unless no_upwards($file)
377 114 958 if (-d $path) { }
400 0 179 unless (-e $dir)
402 0 0 unless mkdir $dir
407 0 179 unless $fd
409 3 176 if defined $binmode