Branch Coverage

lib/Log/Shiras/Test2.pm
Criterion Covered Total %
branch 17 32 53.1


line true false branch
47 1 0 if ($self->_has_test_buffer($report_name))
83 0 0 if ($result != $expected)
84 0 0 if (not $result) { }
104 0 1 if ($actual_count != $guess)
127 19 0 if ($self->_has_test_buffer($report_name)) { }
139 0 19 if (not @buffer_list) { }
152 0 21 if (not $ref_element or length $ref_element == 0) { }
19 2 elsif (is_RegexpRef($line) and $ref_element =~ /$line/ or $ref_element eq $line) { }
161 18 1 unless $self->keep_matches
177 19 0 if ($result)
197 0 19 unless ($result)
220 10 2 if ($self->_has_test_buffer($report_name)) { }
233 4 0 if (is_ArrayRef($test_line)) { }
244 0 4 if (is_RegexpRef($line) and $ref_element =~ /$line/ or $ref_element eq $line) { }
266 10 0 if ($result)
277 0 12 unless ($result)