blib/lib/OpenPlugin.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 32 | 53.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 116 | 36 | 0 | defined $key and not defined $value |
116 | 0 | 36 | defined $key and defined $value | |
183 | 0 | 0 | 27 | ref $plugin_info eq 'HASH' and $$plugin_info{'driver'} |
286 | 0 | 0 | 27 | $driver_count == 1 and not defined $default_driver |
478 | 1 | 5 | 0 | $$params{'config'}{'data'} and $$params{'config'}{'src'} |
line | l | !l | condition |
---|---|---|---|
59 | 0 | 6 | $$params{'log'} || "\n log4perl.rootLogger = WARN, stderr\n log4perl.appender.stderr = Log::Dispatch::Screen\n log4perl.appender.stderr.layout = org.apache.log4j.PatternLayout\n log4perl.appender.stderr.layout.ConversionPattern = %C (%L) %m%n\n " |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
23 | 0 | 6 | 0 | ref $pkg || $pkg |
36 | 1 | 0 | 5 | $$params{'config'}{'src'} ||= $OpenPlugin::Config::Src |
38 | 1 | 5 | 0 | $$params{'config'}{'src'} or $$params{'config'}{'data'} |
360 | 24 | 0 | 0 | $driver ||= $self->get_default_driver($plugin) |
398 | 24 | 128 | 0 | $driver ||= $self->get_default_driver($plugin) |