blib/lib/POE/Component/PluginManager.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 58 | 0.0 |
line | true | false | branch |
---|---|---|---|
52 | 0 | 0 | if $DEBUG |
57 | 0 | 0 | if (@_ & 1) |
62 | 0 | 0 | if (exists $options{'Alias'}) { } |
70 | 0 | 0 | if (exists $options{'Debug'}) |
74 | 0 | 0 | if (keys %options > 0) |
82 | 0 | 0 | unless 'POE::Session'->create('inline_states', {'_start', \&start, '_stop', \&stop, '_dump', \&_dump, '_generate_event', \&_generate_event, '_child', \&child, 'shutdown', \&component_shutdown, 'unload', \&unload_plugin, 'load', \&load_plugin, 'show_plugin_table', \&show_plugin_table, 'register', \®ister, 'unregister', \&unregister, 'unregister_all', \&unregister_all, 'add_plugin', \&add_plugin, 'remove_plugin', \&remove_plugin, 'plugin_error', \&plugin_error, 'plugin_warning', \&plugin_warning, 'relayed_warning', \&relayed_warning}) |
114 | 0 | 0 | if ($reason eq 'create') { } |
0 | 0 | elsif ($reason eq 'lose') { } | |
149 | 0 | 0 | unless ref $arguments ne 'ARRAY' |
150 | 0 | 0 | unless ($name and $longname and $license and $version and $author) |
175 | 0 | 0 | unless $quit_message |
176 | 0 | 0 | unless ($name) |
193 | 0 | 0 | if ($pluginmanager_shutdown) |
197 | 0 | 0 | if ($plugin_count == 0) { } |
217 | 0 | 0 | unless $plugin |
222 | 0 | 0 | if ($_[3]{'plugins'}{$classname}) |
235 | 0 | 0 | if ($INC{$filename}) |
239 | 0 | 0 | if ($@) { } |
249 | 0 | 0 | if ($@) { } |
267 | 0 | 0 | unless $plugin |
268 | 0 | 0 | unless $mode |
269 | 0 | 0 | if (exists $_[3]{'plugins'}{$plugin}) { } |
284 | 0 | 0 | unless $name |
298 | 0 | 0 | unless ($name) |
313 | 0 | 0 | unless $name |
329 | 0 | 0 | unless $mode |
339 | 0 | 0 | if ($plugins_pending == 0) |
368 | 0 | 0 | unless ($session) |
381 | 0 | 0 | unless ($session) |