Condition Coverage

lib/Log/Shiras/Telephone.pm
Criterion Covered Total %
condition 17 33 51.5


and 3 conditions

line !l l&&!r l&&r condition
82 1 1 4 $attempt and is_HashRef($attempt)
2 4 0 $attempt and is_HashRef($attempt) and exists $attempt->{'message'} || exists $attempt->{'ask'} || exists $attempt->{'level'} && $attempt->{'level'} =~ /fatal/i
93 1 0 0 is_ArrayRef($passed[0]) && scalar @passed == 1
144 0 0 0 $input and length $input > 0
156 1 3 0 $report_count < 1 and $data_ref->{'fail_over'} || $self->should_fail_over

or 3 conditions

line l !l&&r !l&&!r condition
82 0 0 2 exists $attempt->{'message'} || exists $attempt->{'ask'} || exists $attempt->{'level'} && $attempt->{'level'} =~ /fatal/i
93 4 1 0 $data_ref //= is_ArrayRef($passed[0]) && scalar @passed == 1 ? {'message', $passed[0]} : {'message', [@passed]}
96 3 2 0 $data_ref->{'message'} //= $self->get_shared_message
120 0 5 0 $data_ref->{'name_space'} //= $self->get_name_space
123 1 0 4 $data_ref->{'carp_stack'} //= $self->should_carp_longmess
156 0 0 3 $data_ref->{'fail_over'} || $self->should_fail_over