Condition Coverage

blib/lib/JMX/Jmx4Perl/Product/BaseHandler.pm
Criterion Covered Total %
condition 8 53 15.0


and 3 conditions

line !l l&&!r l&&r condition
45 0 0 5 $self->{'aliases'} and $self->{'aliases'}{'attributes'}
0 0 5 $self->{'aliases'} and $self->{'aliases'}{'attributes'} and not $self->{'aliases'}{'attributes'}{'SERVER_VERSION'}
117 0 0 0 $what ne 'version' and $what ne 'vendor'
128 0 0 0 $transform and $self->{$what}
176 0 0 0 $val and !$pattern || ref $pattern ne 'Regexp'
177 0 0 0 $val and $pattern
257 0 5 0 defined $resolved_ref and not $resolved_ref
299 0 0 5 $aliases && $$aliases{$alias->{'alias'}}
420 0 0 0 $self->vendor and $self->vendor ne $self->name
556 0 0 0 $servers and @$servers
572 0 0 0 $type eq 'str' and @$content

or 2 conditions

line l !l condition
135 0 0 $self->{$what} ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
39 5 0 0 shift() || croak('No associated JMX::Jmx4Perl given')
43 0 5 0 ref $class || $class
176 0 0 0 !$pattern || ref $pattern ne 'Regexp'
251 3 0 0 'JMX::Jmx4Perl::Alias'->by_name($alias_or_name) || croak("No alias $alias_or_name known")
260 5 0 0 $resolved_ref || $alias->default
397 0 0 0 $response->status == 404 or $response->status == 400