Branch Coverage

/usr/local/bin/find2perl
Criterion Covered Total %
branch 53 150 35.3


line true false branch
19 0 3 unless @roots
38 0 5 unless s/^-// or /^[()!]/
39 0 5 if ($_ eq '(') { }
0 5 elsif ($_ eq ')') { }
0 5 elsif ($_ eq 'follow') { }
0 5 elsif ($_ eq '!') { }
0 5 elsif (/^(i)?name$/) { }
0 5 elsif (/^(i)?path$/) { }
0 5 elsif ($_ eq 'perm') { }
3 2 elsif ($_ eq 'type') { }
0 2 elsif ($_ eq 'print') { }
0 2 elsif ($_ eq 'print0') { }
0 2 elsif ($_ eq 'fstype') { }
0 2 elsif ($_ eq 'user') { }
0 2 elsif ($_ eq 'group') { }
0 2 elsif ($_ eq 'nouser') { }
0 2 elsif ($_ eq 'nogroup') { }
0 2 elsif ($_ eq 'links') { }
0 2 elsif ($_ eq 'inum') { }
0 2 elsif ($_ eq 'size') { }
0 2 elsif ($_ eq 'atime') { }
0 2 elsif ($_ eq 'mtime') { }
0 2 elsif ($_ eq 'ctime') { }
1 1 elsif ($_ eq 'amin') { }
1 0 elsif ($_ eq 'mmin') { }
0 0 elsif ($_ eq 'cmin') { }
0 0 elsif ($_ eq 'exec') { }
0 0 elsif ($_ eq 'ok') { }
0 0 elsif ($_ eq 'prune') { }
0 0 elsif ($_ eq 'xdev') { }
0 0 elsif ($_ eq 'newer') { }
0 0 elsif ($_ eq 'eval') { }
0 0 elsif ($_ eq 'depth') { }
0 0 elsif ($_ eq 'ls') { }
0 0 elsif ($_ eq 'tar') { }
0 0 elsif (/^(n?)cpio\z/) { }
59 0 0 unless $onum =~ /^-?[0-7]+$/
62 0 0 if ($onum =~ s/^-//) { }
81 0 0 if ($type eq 'nfs') { }
107 0 0 if (s/c\z//) { }
0 0 elsif (s/k\z//) { }
131 0 0 if ($cmd[0] =~ m[^(?:(?:/usr)?/bin/)?rm$] and $cmd[$#cmd] eq '{}' and @cmd == 2 || @cmd == 3 && $cmd[1] eq '-f') { }
134 0 0 if (@cmd == 2) { }
0 0 elsif (not @ARGV) { }
187 0 0 unless @ARGV
198 0 0 unless @ARGV
213 2 3 if (@ARGV)
214 0 2 if ($ARGV[0] eq '-o') { }
216 0 0 if $indent_depth == 1 and exists $init{'delayedstat'}
220 2 0 unless $Skip_And or $ARGV[0] eq ")"
222 0 2 if $ARGV[0] eq "-a"
227 3 0 if ($print_needed)
229 3 0 unless ($t =~ /&&\s*$/)
255 0 3 if (exists $init{'doexec'})
263 0 3 if (exists $init{'ls'})
271 0 3 if (exists $init{'user'} or exists $init{'ls'} or exists $init{'tar'})
275 0 0 if exists $init{'user'}
277 0 0 if exists $init{'ls'} or exists $init{'tar'}
281 0 3 if (exists $init{'group'} or exists $init{'ls'} or exists $init{'tar'})
285 0 0 if exists $init{'group'}
287 0 0 if exists $init{'ls'} or exists $init{'tar'}
291 0 3 if $initnewer ne ""
292 0 3 if $initfile ne ""
294 3 0 if (exists $init{'declarestat'})
301 0 3 if ($follow_in_effect) { }
328 0 3 if (exists $init{'doexec'})
352 0 3 if (exists $init{'ls'})
416 0 3 if (exists $init{'cpio'} or exists $init{'tar'})
436 0 3 if (exists $init{'cpio'})
520 0 3 if (exists $init{'tar'})
633 3 5 unless ($main::statdone)
634 0 3 if ($_ =~ /^(?:name|print|prune|exec|ok|\(|\))/) { }
639 0 3 if (exists $init{'saw_or'}) { }
648 0 8 if $out =~ /!$/
662 0 2 unless $n =~ s/^-/< / or $n =~ s/^\+/> /