Condition Coverage

blib/lib/Log/Any/Adapter/Capture.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 15 $to and ref $to eq 'CODE' || ref $to eq 'ARRAY'
62 12 0 3 defined $self->{'log_level'} and $self->{'log_level'} =~ /\D/
79 5 2 0 defined $self->{'log_level'} and $method_level > $self->{'log_level'}
90 9 2 1 defined $_[0]{'log_level'} && !($method_level <= $_[0]{'log_level'})
99 4 0 0 defined $self->{'log_level'} and Log::Any::Adapter::Util::numeric_level($method) > $self->{'log_level'}

or 2 conditions

line l !l condition
37 9 6 $self->{'format'} || 'messages'

or 3 conditions

line l !l&&r !l&&!r condition
32 3 12 0 ref $to eq 'CODE' || ref $to eq 'ARRAY'