line |
true |
false |
branch |
64
|
0 |
0 |
if $App::MultiModule::instantiated
|
67
|
0 |
0 |
if not $args{'state_dir'} or ref $args{'state_dir'}
|
71
|
0 |
0 |
if ($args{'module_prefixes'})
|
72
|
0 |
0 |
if (ref $args{'module_prefixes'} and ref $args{'module_prefixes'} eq 'ARRAY') { }
|
81
|
0 |
0 |
unless defined $debug
|
103
|
0 |
0 |
if $args{'config_file'}
|
106
|
0 |
0 |
if ($args{'config_file'})
|
109
|
0 |
0 |
if ref $args{'config_file'} or not -r $args{'config_file'}
|
112
|
0 |
0 |
unless defined $$self{'last_config_stat'}
|
114
|
0 |
0 |
if $ctime == $$self{'last_config_stat'}
|
119
|
0 |
0 |
unless my $conf = do $args{'config_file'}
|
121
|
0 |
0 |
unless ($$conf{'.multimodule'})
|
132
|
0 |
0 |
if ($@ and $@ ne "all good\n")
|
187
|
0 |
0 |
if ($$control{'config'})
|
195
|
0 |
0 |
if ($@)
|
196
|
0 |
0 |
if $$self{'debug'} > 1
|
200
|
0 |
0 |
if ($$control{'control'})
|
201
|
0 |
0 |
if $$self{'debug'} > 1 and ref $$control{'control'} ne 'ARRAY'
|
203
|
0 |
0 |
if ($$control{'type'} eq 'cleanly_exit')
|
204
|
0 |
0 |
if $$self{'debug'} > 1
|
229
|
0 |
0 |
unless $$self{'tasks'}{$task_name}
|
234
|
0 |
0 |
unless $$stats{'qnum'}
|
244
|
0 |
0 |
if ($@)
|
260
|
0 |
0 |
if ($task_status and $$task_status{'is_running'})
|
265
|
0 |
0 |
if ($task_status and $$task_status{'is_my_pid'})
|
270
|
0 |
0 |
if ($is_loaded and $task_is_stateful)
|
279
|
0 |
0 |
if (not $is_loaded and $is_running and not $is_my_pid and $args{'exit_externals'})
|
309
|
0 |
0 |
if ($$self{'module'} eq 'main')
|
326
|
0 |
0 |
if ($$self{'module'} ne 'main') { }
|
331
|
0 |
0 |
if ($$module_info{'config'} and $$module_info{'config'}{'is_external'})
|
343
|
0 |
0 |
if $mode eq 'local'
|
344
|
0 |
0 |
if $mode eq 'non-local'
|
356
|
0 |
0 |
unless $$stats{'qnum'}
|
360
|
0 |
0 |
if ($$self{'tasks'}{$qname} and $$self{'tasks'}{$qname}{'config_is_set'}) { }
|
|
0 |
0 |
elsif ($$self{'tasks'}{$qname} and not $$self{'tasks'}{$qname}{'config_is_set'}) { }
|
369
|
0 |
0 |
if ($$message{'.multimodule'} and $$message{'.multimodule'}{'transform'})
|
371
|
0 |
0 |
if $$self{'debug'} > 1
|
378
|
0 |
0 |
if $@
|
380
|
0 |
0 |
if $$self{'debug'} > 5
|
388
|
0 |
0 |
unless $$self{'message_counts'}{$qname}
|
393
|
0 |
0 |
if ($@)
|
413
|
0 |
0 |
if $$self{'debug'} > 5
|
418
|
0 |
0 |
if $$self{'debug'} > 5
|
423
|
0 |
0 |
if ($@)
|
444
|
0 |
0 |
if $$self{'debug'} > 5
|
445
|
0 |
0 |
if $$self{'debug'} > 5
|
447
|
0 |
0 |
if $$self{'tasks'}{$task_name}
|
448
|
0 |
0 |
if $$self{'debug'} > 5
|
455
|
0 |
0 |
if $$self{'debug'} > 5
|
456
|
0 |
0 |
if ($task_status and $$task_status{'is_running'} and not $$task_status{'is_my_pid'})
|
477
|
0 |
0 |
if ($$self{'module'} ne 'main')
|
479
|
0 |
0 |
if ($task_name ne $$self{'module'})
|
481
|
0 |
0 |
if ($task_is_stateful)
|
489
|
0 |
0 |
if ($wants_external and not $task_is_stateful)
|
497
|
0 |
0 |
if ($wants_external and $$self{'module'} eq 'main')
|
513
|
0 |
0 |
unless defined $pid
|
514
|
0 |
0 |
unless ($pid)
|
516
|
0 |
0 |
unless defined $pid
|
517
|
0 |
0 |
if ($pid)
|
526
|
0 |
0 |
if $$self{'debug'} > 1
|
543
|
0 |
0 |
if $$self{'debug'} > 5
|
545
|
0 |
0 |
if $$self{'debug'} > 5
|
549
|
0 |
0 |
if $err and $$self{'debug'} > 4
|
551
|
0 |
0 |
if ($err)
|
552
|
0 |
0 |
unless ($err =~ /Can't locate /)
|
555
|
0 |
0 |
if $wants_external
|
573
|
0 |
0 |
unless (&$function_exists($function_path))
|
589
|
0 |
0 |
if $$self{'debug'} > 5
|
593
|
0 |
0 |
unless ($module)
|
597
|
0 |
0 |
if $$self{'debug'} > 5
|
609
|
0 |
0 |
if ($config)
|
613
|
0 |
0 |
unless $$module{'config_hash'}
|
614
|
0 |
0 |
if ($$module{'config_hash'} ne $config_hash)
|
622
|
0 |
0 |
if ($task_is_stateful)
|
629
|
0 |
0 |
if ($$self{'all_modules_info'} and $$self{'all_modules_info'}{$task_name} and $$self{'all_modules_info'}{$task_name}{'config'} and $$self{'all_modules_info'}{$task_name}{'config'}{'intervals'} and $$self{'all_modules_info'}{$task_name}{'config'}{'intervals'}{'save_state'}) { }
|
643
|
0 |
0 |
if $$self{'hold_events_for'}{$task_name}
|
644
|
0 |
0 |
if $$self{'debug'} > 2
|