Condition Coverage

inc/Test/Base.pm
Criterion Covered Total %
condition 20 71 28.1


and 3 conditions

line !l l&&!r l&&r condition
145 5 0 0 @_ and not $_[0] =~ /^[a-zA-Z]\w*$/
175 0 0 0 defined $block and not $block->is_filtered
234 0 0 16 eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35
295 0 0 0 exists $block->{$x} and exists $block->{$y}
317 0 0 0 exists $block->{$x} and exists $block->{$y}
330 0 0 0 exists $block->{$x} and exists $block->{$y}
343 0 0 0 exists $block->{$x} and defined $y
357 0 0 0 exists $block->{$x} and defined $y
581 0 0 0 @value == 1 and $value[0] =~ /\A(\d+|)\z/

or 2 conditions

line l !l condition
150 0 5 shift() || ''
423 0 38 $description ||= ''
604 0 115 shift() || ''
607 28 87 $self->blocks_object->_filters_map->{$type} || []

or 3 conditions

line l !l&&r !l&&!r condition
62 73 6 0 $default_object ||= $default_class->new
196 0 0 0 $block_delimiter ||= $self->block_delim_default
197 0 0 0 $data_delimiter ||= $self->data_delim_default
243 0 0 63 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual
0 0 63 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected
0 47 16 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected
47 0 16 $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected or not $self->have_text_diff
47 16 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
286 6 0 0 $Have_Plan or $DIED
6 0 0 $Have_Plan or $DIED or not $import_called
410 0 0 152 $reserved_section_names->{$id} or $id =~ /^_/
581 0 0 0 not @value or @value == 1 and $value[0] =~ /\A(\d+|)\z/