Condition Coverage

inc/Test/Base.pm
Criterion Covered Total %
condition 18 74 24.3


and 3 conditions

line !l l&&!r l&&r condition
146 1 0 0 @_ and not $_[0] =~ /^[a-zA-Z]\w*$/
176 0 0 0 defined $block and not $block->is_filtered
240 0 0 0 eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35
301 0 0 0 exists $$block{$x} and exists $$block{$y}
323 0 0 5 exists $$block{$x} and exists $$block{$y}
336 0 0 0 exists $$block{$x} and exists $$block{$y}
349 0 0 0 exists $$block{$x} and defined $y
363 0 0 0 exists $$block{$x} and defined $y
590 0 10 0 @value == 1 and $value[0] =~ /\A(\d+|)\z/
593 0 0 0 $value[0] and $_ eq $old

or 2 conditions

line l !l condition
151 0 1 shift() || ''
431 0 5 $description ||= ''
616 0 10 shift() || ''
619 10 0 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

line l !l&&r !l&&!r condition
63 7 1 0 $default_object ||= $default_class->new
202 0 0 0 $block_delimiter ||= $self->block_delim_default
203 0 0 0 $data_delimiter ||= $self->data_delim_default
249 0 0 5 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual
0 0 5 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected
0 5 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected
5 0 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected or not $self->have_text_diff
5 0 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected or not $self->have_text_diff or not $expected =~ /\n./s
292 1 0 0 $Have_Plan or $DIED
1 0 0 $Have_Plan or $DIED or not $import_called
417 0 0 10 $$reserved_section_names{$id} or $id =~ /^_/
590 0 0 10 not @value or @value == 1 and $value[0] =~ /\A(\d+|)\z/