inc/Test/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 83 | 20.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
147 | 4 | 0 | 0 | @_ and not $_[0] =~ /^[a-zA-Z]\w*$/ |
177 | 0 | 0 | 0 | defined $block and not $block->is_filtered |
241 | 0 | 0 | 0 | eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= 0.35 |
302 | 0 | 0 | 0 | exists $$block{$x} and exists $$block{$y} |
324 | 0 | 0 | 0 | exists $$block{$x} and exists $$block{$y} |
337 | 0 | 0 | 0 | exists $$block{$x} and exists $$block{$y} |
350 | 0 | 0 | 0 | exists $$block{$x} and defined $y |
364 | 0 | 0 | 0 | exists $$block{$x} and defined $y |
393 | 0 | 0 | 0 | exists $$block{$x} and exists $$block{$y} |
616 | 0 | 0 | 0 | @value == 1 && !defined($value[0]) |
621 | 0 | 0 | 0 | @value == 1 and defined $value[0] |
0 | 0 | 0 | @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ | |
624 | 0 | 0 | 0 | $value[0] and $_ eq $old |
line | l | !l | condition |
---|---|---|---|
152 | 0 | 4 | shift() || '' |
460 | 0 | 27 | $description ||= '' |
647 | 4 | 85 | shift() || '' |
650 | 47 | 42 | $self->blocks_object->_filters_map->{$type} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
64 | 18 | 4 | 0 | $default_object ||= $default_class->new |
203 | 0 | 0 | 0 | $block_delimiter ||= $self->block_delim_default |
204 | 0 | 0 | 0 | $data_delimiter ||= $self->data_delim_default |
250 | 0 | 0 | 12 | $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual |
0 | 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 | |
293 | 4 | 0 | 0 | $Have_Plan or $DIED |
4 | 0 | 0 | $Have_Plan or $DIED or not $import_called | |
446 | 0 | 0 | 89 | $$reserved_section_names{$id} or $id =~ /^_/ |
621 | 0 | 0 | 0 | not @value or @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ |