Branch Coverage

lib/Log/Shiras/Telephone.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
75 4 1 scalar(@passed) % 2 == 0 ? :
82 2 0 if ($attempt and is_HashRef($attempt) and exists $attempt->{'message'} || exists $attempt->{'ask'} || exists $attempt->{'level'} && $attempt->{'level'} =~ /fatal/i)
93 0 1 is_ArrayRef($passed[0]) && scalar @passed == 1 ? :
98 5 0 is_ArrayRef($data_ref->{'message'}) ? :
104 1 4 unless ($data_ref->{'report'})
112 1 4 unless ($data_ref->{'level'})
134 0 5 if ($data_ref->{'ask'})
144 0 0 if ($input and length $input > 0)
156 0 3 if ($report_count < 1 and $data_ref->{'fail_over'} || $self->should_fail_over)
160 0 0 unless $ENV{'hide_warn'}