Branch Coverage

blib/lib/App/Manager.pm
Criterion Covered Total %
branch 0 102 0.0


line true false branch
34 0 0 if $verbose, shift()
48 0 0 if not $read and $! == 11
49 0 0 unless $read > 0
64 0 0 unless defined $abspath{$dir}
71 0 0 if ($type eq 'S') { }
0 0 elsif ($type eq 'C') { }
0 0 elsif ($type eq 'I') { }
88 0 0 unless $unix
90 0 0 unless -x LIBTRACER_SO
104 0 0 if (select($r = $rm, undef, undef, undef) > 0)
105 0 0 if ($unix and vec $r, fileno $unix, 1)
111 0 0 if (vec $r, $f, 1)
113 0 0 unless (eval { do { handle_msg() } })
117 0 0 if $@ and $@ ne "\n"
134 0 0 if (fork == 0)
165 0 0 if ($$self{'dirty'})
168 0 0 unless nstore($self, $$self{'path'} . '/db')
197 0 0 unless mkdir $$self{'path'}, 511
208 0 0 @stat ? :
241 0 0 if (defined $$stat{'mode'})
242 0 0 if (S_ISREG($$stat{'mode'})) { }
0 0 elsif (&App::Manager::S_ISLNK($$stat{'mode'})) { }
0 0 elsif (&App::Manager::S_ISDIR($$stat{'mode'})) { }
245 0 0 unless copy($$stat{'path'}, $$stat{'savepath'})
248 0 0 unless $$stat{'symlink'} = readlink $$stat{'path'}
266 0 0 if (defined $$stat{'mode'} or defined $$nstat{'mode'}) { }
267 0 0 if (($$stat{'mode'} ^ $$nstat{'mode'}) & &App::Manager::S_IFMT() or defined $$stat{'mode'} ^ defined $$nstat{'mode'}) { }
273 0 0 if (S_ISREG($$stat{'mode'})) { }
0 0 elsif (S_ISDIR($$stat{'mode'})) { }
0 0 elsif (S_ISLNK($$stat{'mode'})) { }
275 0 0 if ($samecontent)
284 0 0 if $samecontent
285 0 0 if ($samecontent and $$stat{'uid'} eq $$nstat{'uid'} and $$stat{'gid'} eq $$nstat{'gid'} and $$stat{'size'} eq $$nstat{'size'} and $level > 0 || $$stat{'mtime'} eq $$nstat{'mtime'})
313 0 0 if (-e _)
314 0 0 if (-d _) { }
315 0 0 unless rmdir $path
318 0 0 unless unlink $path
326 0 0 if (defined $$stat{'mode'})
327 0 0 if (S_ISREG($$stat{'mode'})) { }
0 0 elsif (S_ISLNK($$stat{'mode'})) { }
0 0 elsif (S_ISDIR($$stat{'mode'})) { }
328 0 0 if (exists $$stat{'savepath'})
330 0 0 unless $$stat{'savetype'} == 1
332 0 0 unless copy($$stat{'savepath'}, $$stat{'path'})
337 0 0 unless symlink $$stat{'symlink'}, $$stat{'path'}
341 0 0 unless mkdir $$stat{'path'}, $$stat{'mode'} & 4095
346 0 0 unless (S_ISLNK($$stat{'mode'}))
347 0 0 unless chmod $$stat{'mode'} & 4095, $$stat{'path'}
349 0 0 unless chown $$stat{'uid'}, $$stat{'gid'}, $$stat{'path'}
351 0 0 unless utime $$stat{'atime'}, $$stat{'mtime'}, $$stat{'path'}
366 0 0 if exists $$stat{'savepath'}