Condition Coverage

blib/lib/Net/Peep/Client/Logparser.pm
Criterion Covered Total %
condition 8 48 16.6


and 3 conditions

line !l l&&!r l&&r condition
133 0 0 0 $conf->optionExists('server') and $conf->optionExists('port')
0 0 0 $conf->optionExists('server') and $conf->optionExists('port') and $conf->getOption('server')
0 0 0 $conf->optionExists('server') and $conf->optionExists('port') and $conf->getOption('server') and $conf->getOption('port')
303 0 0 1 @version and $version[0] >= 0
0 0 1 @version and $version[0] >= 0 and $version[1] >= 4
0 0 1 @version and $version[0] >= 0 and $version[1] >= 4 and $version[2] > 3
0 0 0 @version and $version[0] >= 0
0 0 0 @version and $version[0] >= 0 and $version[1] >= 4
0 0 0 @version and $version[0] >= 0 and $version[1] >= 4 and $version[2] > 1

or 3 conditions

line l !l&&r !l&&!r condition
46 0 1 0 ref $self || $self
288 1 0 0 $self->name || confess('Cannot parse logparser events: Client name attribute not set.')
291 1 0 0 $self->conf || confess('Cannot parse logparser events: Configuration object not found.')
306 0 0 10 $line =~ /^\s*#/ or $line =~ /^\s*$/
330 0 0 0 $line =~ /^\s*#/ or $line =~ /^\s*$/
353 0 0 0 $line =~ /^\s*#/ or $line =~ /^\s*$/
381 10 0 0 shift() || confess('Cannot add logparser event: No event was provided.')