| line |
true |
false |
branch |
|
34
|
1 |
4 |
if ref $class eq 'Haineko::CLI' |
|
36
|
0 |
4 |
-t STDIN ? : |
|
|
0 |
4 |
-t STDOUT ? : |
|
|
0 |
4 |
-t STDERR ? : |
|
65
|
0 |
4 |
unless scalar @$paths |
|
67
|
1 |
24 |
unless -d $e |
|
70
|
21 |
3 |
unless -f $f |
|
71
|
0 |
3 |
unless -x $f |
|
97
|
5 |
6 |
if defined $argv |
|
105
|
2 |
4 |
if defined $argv |
|
111
|
1 |
1 |
unless length $mesg |
|
114
|
0 |
1 |
unless $$self{'logging'}{'disabled'} |
|
115
|
0 |
1 |
if ($self->stderr) |
|
117
|
0 |
0 |
unless $cont |
|
119
|
1 |
0 |
$cont ? : |
|
124
|
1 |
1 |
unless length $mesg |
|
127
|
1 |
0 |
unless $self->stderr |
|
129
|
0 |
0 |
if ($rung > -1) { } |
|
130
|
0 |
0 |
unless $self->v |
|
131
|
0 |
0 |
unless $self->v >= $rung |
|
150
|
0 |
1 |
unless ref $argv |
|
151
|
0 |
1 |
unless ref $argv eq 'ARRAY' |
|
152
|
0 |
1 |
unless scalar @$argv |
|
154
|
1 |
0 |
if ($$self{'pidfile'} and not $$self{'runfile'}) |
|
159
|
0 |
1 |
unless $$self{'runfile'} |
|
161
|
0 |
1 |
if -e $$self{'runfile'} |
|
165
|
1 |
0 |
flock($file, 2) ? : |
|
166
|
1 |
0 |
flock($file, 8) ? : |
|
173
|
0 |
1 |
unless -f $$self{'runfile'} |
|
183
|
0 |
1 |
unless $$self{'pidfile'} |
|
184
|
0 |
1 |
if -e $$self{'pidfile'} |
|
189
|
1 |
0 |
flock($file, 2) ? : |
|
190
|
1 |
0 |
flock($file, 8) ? : |
|
196
|
0 |
1 |
unless -f $$self{'pidfile'} |
|
204
|
0 |
1 |
unless -e $$self{'pidfile'} |
|
205
|
0 |
1 |
unless -f $$self{'pidfile'} |
|
206
|
0 |
1 |
unless -s $$self{'pidfile'} |
|
225
|
2 |
5 |
if $argvs eq 'o' or $argvs eq 'option' |
|
226
|
2 |
3 |
if $argvs eq 's' or $argvs eq 'subcommand' |
|
227
|
2 |
1 |
if $argvs eq 'e' or $argvs eq 'example' |