Condition Coverage

inc/Test/Base.pm
Criterion Covered Total %
condition 4 74 5.4


and 3 conditions

line !l l&&!r l&&r condition
79 0 1 1 @_ > 1 and not grep(/^-base$/i, @_)
137 0 0 0 @_ and not $_[0] =~ /^[a-zA-Z]\w*$/
167 0 0 0 defined $block and not $block->is_filtered
226 0 0 0 eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35
287 0 0 0 exists $$block{$x} and exists $$block{$y}
309 0 0 0 exists $$block{$x} and exists $$block{$y}
322 0 0 0 exists $$block{$x} and exists $$block{$y}
335 0 0 0 exists $$block{$x} and defined $y
349 0 0 0 exists $$block{$x} and defined $y
573 0 0 0 @value == 1 and $value[0] =~ /\A(\d+|)\z/

or 2 conditions

line l !l condition
142 0 0 shift() || ''
415 0 0 $description ||= ''
596 0 0 shift() || ''
599 0 0 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

line l !l&&r !l&&!r condition
61 0 0 0 $default_object ||= $default_class->new
188 0 0 0 $block_delimiter ||= $self->block_delim_default
189 0 0 0 $data_delimiter ||= $self->data_delim_default
235 0 0 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual
0 0 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected
0 0 0 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected
0 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
0 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
278 1 0 0 $Have_Plan or $DIED
1 0 0 $Have_Plan or $DIED or not $import_called
401 0 0 0 $$reserved_section_names{$id} or $id =~ /^_/
573 0 0 0 not @value or @value == 1 and $value[0] =~ /\A(\d+|)\z/