inc/Test/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 83 | 26.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
158 | 2 | 0 | 0 | @_ and not $_[0] =~ /^[a-zA-Z]\w*$/ |
188 | 0 | 0 | 0 | defined $block and not $block->is_filtered |
252 | 0 | 0 | 0 | eval { do { require Text::Diff; 1 } } and $Text::Diff::VERSION >= "0.35" |
316 | 0 | 0 | 0 | exists $block->{$x} and exists $block->{$y} |
338 | 0 | 1 | 4 | exists $block->{$x} and exists $block->{$y} |
351 | 0 | 0 | 5 | exists $block->{$x} and exists $block->{$y} |
364 | 0 | 0 | 0 | exists $block->{$x} and defined $y |
378 | 0 | 0 | 0 | exists $block->{$x} and defined $y |
407 | 0 | 0 | 0 | exists $block->{$x} and exists $block->{$y} |
632 | 0 | 9 | 0 | @value == 1 && !defined($value[0]) |
637 | 0 | 0 | 9 | @value == 1 and defined $value[0] |
0 | 9 | 0 | @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ | |
640 | 0 | 0 | 0 | $value[0] and $_ eq $old |
line | l | !l | condition |
---|---|---|---|
163 | 0 | 2 | shift() || '' |
476 | 0 | 28 | $description ||= "" |
663 | 0 | 64 | shift() || '' |
666 | 25 | 39 | $self->blocks_object->_filters_map->{$type} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
75 | 159 | 40 | 0 | $default_object ||= $default_class->new |
214 | 40 | 0 | 0 | $block_delimiter ||= $self->block_delim_default |
215 | 40 | 0 | 0 | $data_delimiter ||= $self->data_delim_default |
262 | 143 | 0 | 0 | $ENV{'TEST_SHOW_NO_DIFFS'} or not defined $actual |
143 | 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 | |
306 | 40 | 0 | 0 | $Have_Plan or $DIED |
40 | 0 | 0 | $Have_Plan or $DIED or not $import_called | |
463 | 0 | 0 | 66 | $reserved_section_names->{$id} or $id =~ /^_/ |
637 | 0 | 0 | 9 | not @value or @value == 1 and defined $value[0] and $value[0] =~ /\A(\d+|)\z/ |