blib/lib/App/Padadoy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 54 | 16.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
91 | 1 | 0 | 0 | $$self{'remote'} and not $$self{'remote'} =~ qr"^[^\@]+\@[^:]+:[~/].*$" |
103 | 0 | 1 | 0 | $module and not $module =~ /^([a-z][a-z0-9]*(::[a-z][a-z0-9]*)*)$/i |
316 | 0 | 0 | 0 | $$self{'pidfile'} and -f $$self{'pidfile'} |
355 | 0 | 0 | 0 | $pid and $pid2 |
0 | 0 | 0 | $pid and $pid2 and $pid eq $pid2 | |
0 | 0 | 0 | not $pid and $user | |
0 | 0 | 0 | not $pid and $user and $user eq $$self{'user'} |
line | l | !l | condition |
---|---|---|---|
82 | 0 | 1 | $$yaml{'port'} || 6000 |
241 | 5 | 2 | $$self{$_} // '' |
317 | 0 | 0 | read_file($$self{'pidfile'}) || 0 |
379 | 0 | 0 | $revision ||= 'master' |
428 | 0 | 0 | shift() || 'master' |
504 | 0 | 0 | $App::Padadoy::VERSION || '??' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
73 | 0 | 1 | 0 | $values{'base'} // cwd() |
80 | 0 | 1 | 0 | $$yaml{'user'} || getlogin || getpwuid $< |
81 | 0 | 1 | 0 | $$yaml{'repository'} || catdir($$self{'base'}, 'repository') |
83 | 0 | 1 | 0 | $$yaml{'pidfile'} || catfile($$self{'base'}, 'starman.pid') |
348 | 0 | 0 | 0 | not $pid2 or $f[1] < $pid2 |
354 | 0 | 0 | 0 | $sock or $pid2 |
380 | 0 | 0 | 0 | $directory ||= catdir($$self{'base'}, $revision) |