Condition Coverage

inc/Test/Base.pm
Criterion Covered Total %
condition 15 74 20.2


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 0 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 0 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 18 $description ||= ''
616 0 36 shift() || ''
619 0 36 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

line l !l&&r !l&&!r condition
63 11 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 10 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual
0 0 10 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected
0 10 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected
10 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
10 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 36 $$reserved_section_names{$id} or $id =~ /^_/
590 0 0 0 not @value or @value == 1 and $value[0] =~ /\A(\d+|)\z/