Condition Coverage

inc/Test/Base.pm
Criterion Covered Total %
condition 18 83 21.6


and 3 conditions

line !l l&&!r l&&r condition
158 0 0 0 @_ and not $_[0] =~ /^[a-zA-Z]\w*$/
188 0 0 0 defined $block and not $block->is_filtered
252 0 0 0 eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35
314 0 0 0 exists $$block{$x} and exists $$block{$y}
336 0 7 17 exists $$block{$x} and exists $$block{$y}
349 0 0 0 exists $$block{$x} and exists $$block{$y}
362 0 0 0 exists $$block{$x} and defined $y
376 0 0 0 exists $$block{$x} and defined $y
405 0 0 0 exists $$block{$x} and exists $$block{$y}
628 0 0 0 @value == 1 && !defined($value[0])
633 0 0 0 @value == 1 and defined $value[0]
0 0 0 @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/
636 0 0 0 $value[0] and $_ eq $old

or 2 conditions

line l !l condition
163 0 0 shift() || ''
472 0 24 $description ||= ''
659 0 46 shift() || ''
662 17 29 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

line l !l&&r !l&&!r condition
75 23 3 0 $default_object ||= $default_class->new
214 0 0 0 $block_delimiter ||= $self->block_delim_default
215 0 0 0 $data_delimiter ||= $self->data_delim_default
262 5 0 12 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual
5 0 12 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected
0 12 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected
12 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
12 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
305 3 0 0 $Have_Plan or $DIED
3 0 0 $Have_Plan or $DIED or not $import_called
458 0 0 60 $$reserved_section_names{$id} or $id =~ /^_/
633 0 0 0 not @value or @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/