line |
true |
false |
branch |
38
|
0 |
0 |
if ($$self{'list_plugins'}) |
53
|
0 |
0 |
if ($$self{'check_cfg'}) |
58
|
0 |
0 |
if ($$self{'daemonize'}) |
62
|
0 |
0 |
if (defined $$self{'log_file'}) |
63
|
0 |
0 |
unless open STDOUT, '>>:encoding(utf8)', $$self{'log_file'} |
65
|
0 |
0 |
unless open STDERR, '>>&STDOUT' |
71
|
0 |
0 |
if $@ |
74
|
0 |
0 |
if (defined $$self{'pid_file'}) |
75
|
0 |
0 |
unless sysopen my $fh, $$self{'pid_file'}, 193 |
98
|
0 |
0 |
if defined $$self{'pid_file'} |
105
|
0 |
0 |
if (defined $$self{'cfg'}{'pid_file'}) |
109
|
0 |
0 |
if (defined $$self{'cfg'}{'log_file'}) |
111
|
0 |
0 |
unless open my $fh, '>>', $log |
116
|
0 |
0 |
unless ($$self{'no_color'}) |
121
|
0 |
0 |
if (defined $$self{'cfg'}{'lib'}) |
122
|
0 |
0 |
if (ref $$self{'cfg'}{'lib'} eq 'ARRAY' and @{$$self{'cfg'}{'lib'};}) { } |
138
|
0 |
0 |
unless $$cfg{'plugins'} |
142
|
0 |
0 |
unless (defined $$cfg{'config'}) |
146
|
0 |
0 |
if (defined $$cfg{'class'}) { } |
155
|
0 |
0 |
if defined $error |
156
|
0 |
0 |
unless $success |
166
|
0 |
0 |
if defined $$plug_spec[2] |
168
|
0 |
0 |
unless defined $args |
220
|
0 |
0 |
unless $isa |
235
|
0 |
0 |
if ($$self{'interactive'}) |
252
|
0 |
0 |
$$self{'cfg'}{'flood'} ? : |
|
0 |
0 |
defined $$self{'cfg'}{'auth'} ? : |
259
|
0 |
0 |
unless $isa |
269
|
0 |
0 |
if $success |
273
|
0 |
0 |
if $success |
275
|
0 |
0 |
if defined $error |
295
|
0 |
0 |
unless defined $denials |
300
|
0 |
0 |
unless (defined $netmask) |
312
|
0 |
0 |
unless defined $exemptions |
316
|
0 |
0 |
unless (defined $netmask) |
328
|
0 |
0 |
unless defined $opers |
331
|
0 |
0 |
unless defined $$oper{'username'} |
332
|
0 |
0 |
if (ref $$oper{'ipmask'} eq 'ARRAY') |
336
|
0 |
0 |
unless (defined $netmask) |
353
|
0 |
0 |
unless defined $peers |
362
|
0 |
0 |
unless defined $auths |
371
|
0 |
0 |
unless defined $listeners |
379
|
0 |
0 |
if (ref $arg eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $arg eq 'HASH') { } |
|
0 |
0 |
elsif (ref $arg) { } |
|
0 |
0 |
elsif (defined $arg) { } |
398
|
0 |
0 |
if looks_like_number $arg |
409
|
0 |
0 |
unless (defined $event) |
426
|
0 |
0 |
if $$self{'trace'} |
433
|
0 |
0 |
if $$self{'trace'} |
440
|
0 |
0 |
if $$self{'trace'} |
451
|
0 |
0 |
if (ref $plugin ne 'App::Pocosi::Status') |
460
|
0 |
0 |
if $$self{'trace'} |
467
|
0 |
0 |
if (defined $value) |
470
|
0 |
0 |
if $$plugin[1]->can('verbose') |
478
|
0 |
0 |
if (defined $value) |
481
|
0 |
0 |
if $$plugin[1]->can('trace') |
491
|
0 |
0 |
if (defined $type and $type eq 'error') |
498
|
0 |
0 |
unless ($$self{'no_color'}) |
499
|
0 |
0 |
if (defined $type and $type eq 'error') { } |
|
0 |
0 |
elsif (defined $type and $type eq 'debug') { } |
510
|
0 |
0 |
unless $$self{'daemonize'} |
511
|
0 |
0 |
if (defined $$self{'log_file'}) |
512
|
0 |
0 |
if (open my $fh, '>>:encoding(utf8)', $$self{'log_file'}) { } |
|
0 |
0 |
elsif (not $$self{'daemonize'}) { } |
533
|
0 |
0 |
unless $$self{'shutdown'} |
539
|
0 |
0 |
unless $$self{'shutdown'} |
546
|
0 |
0 |
unless $$self{'shutdown'} |
553
|
0 |
0 |
if $$self{'shutdown'} |
555
|
0 |
0 |
if $$self{'ircd'} |