Condition Coverage

blib/lib/Test/Base.pm
Criterion Covered Total %
condition 57 83 68.6


and 3 conditions

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

or 2 conditions

line l !l condition
163 3 54 shift() || ''
472 3 163 $description ||= ''
659 87 135 shift() || ''
662 20 202 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

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