inc/Test/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 83 | 18.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
145 | 1 | 0 | 0 | @_ and not $_[0] =~ /^[a-zA-Z]\w*$/ |
175 | 0 | 0 | 0 | defined $block and not $block->is_filtered |
239 | 0 | 0 | 0 | eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35 |
300 | 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 exists $$block{$y} |
348 | 0 | 0 | 0 | exists $$block{$x} and defined $y |
362 | 0 | 0 | 0 | exists $$block{$x} and defined $y |
391 | 0 | 0 | 0 | exists $$block{$x} and exists $$block{$y} |
614 | 0 | 0 | 0 | @value == 1 && !defined($value[0]) |
619 | 0 | 0 | 0 | @value == 1 and defined $value[0] |
0 | 0 | 0 | @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ | |
622 | 0 | 0 | 0 | $value[0] and $_ eq $old |
line | l | !l | condition |
---|---|---|---|
150 | 0 | 1 | shift() || '' |
458 | 0 | 500 | $description ||= '' |
645 | 0 | 1000 | shift() || '' |
648 | 0 | 1000 | $self->blocks_object->_filters_map->{$type} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 1001 | 1 | 0 | $default_object ||= $default_class->new |
201 | 0 | 0 | 0 | $block_delimiter ||= $self->block_delim_default |
202 | 0 | 0 | 0 | $data_delimiter ||= $self->data_delim_default |
248 | 0 | 0 | 1000 | $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual |
0 | 0 | 1000 | $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected | |
0 | 1000 | 0 | $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual or not defined $expected or $actual eq $expected | |
1000 | 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 | |
1000 | 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 | |
291 | 1 | 0 | 0 | $Have_Plan or $DIED |
1 | 0 | 0 | $Have_Plan or $DIED or not $import_called | |
444 | 0 | 0 | 1000 | $$reserved_section_names{$id} or $id =~ /^_/ |
619 | 0 | 0 | 0 | not @value or @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ |