Condition Coverage

blib/lib/JMX/Jmx4Perl.pm
Criterion Covered Total %
condition 8 75 10.6


and 3 conditions

line !l l&&!r l&&r condition
215 4 1 0 $product and not $PRODUCT_HANDLER{lc $product}
504 0 0 0 ref $val eq 'ARRAY' && @$val
901 0 0 0 $path_or_resp and UNIVERSAL::isa($path_or_resp, 'JMX::Jmx4Perl::Response')
950 0 0 0 @{$p;} == 1 and not $args{'with_value'}
0 0 0 @{$p;} == 2 and $args{'with_value'}
1029 0 0 0 $f->{'domain'} and $f->{'properties'} || $f->{'props'}

or 3 conditions

line l !l&&r !l&&!r condition
211 0 5 0 delete $cfg->{'mode'} || autodiscover_mode()
214 5 0 0 $REGISTRY->{$mode} || croak('Unknown runtime mode ' . $mode)
226 0 5 0 ref $class || $class
472 0 0 0 $self->{'product_handler'} || $self->_create_handler
492 0 0 0 shift() || croak('No pattern provided')
698 5 0 0 shift() || croak('No alias provided')
700 2 3 0 $self->{'product_handler'} || $self->_create_handler
732 0 0 0 $self->{'product_handler'} || $self->_create_handler
751 0 0 0 $self->{'product_handler'} || $self->_create_handler
944 0 0 0 $f->{'mbean'} || $self->_glue_mbean_name($f) || croak('No MBean name or domain + properties given')
950 0 0 0 @{$p;} == 1 and not $args{'with_value'} or @{$p;} == 2 and $args{'with_value'}
0 0 0 @{$p;} == 1 and not $args{'with_value'} or @{$p;} == 2 and $args{'with_value'} or $self->_is_alias($p->[0])
984 0 0 0 $args->{'arguments'} || $args->{'args'}
988 0 0 0 $args->{'mbean'} || $self->_glue_mbean_name($args) || croak('No MBean name or domain + properties given')
990 0 0 0 $args->{'operation'} || croak('No operation given')
992 0 0 0 $args->{'arguments'} || $args->{'args'}
1029 0 0 0 $f->{'properties'} || $f->{'props'}
1031 0 0 0 $f->{'properties'} || $f->{'props'}
1145 0 0 0 !$attr->{'rw'} || 'false' eq lc $attr->{'rw'}