| blib/lib/Test/Chunks.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 44 | 60 | 73.3 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 73 | 56 | 3 | 13 | @_ > 1 and not grep(/^-base$/i, @_) | 
| 115 | 87 | 2 | 0 | @_ and not $_[0] =~ /^[a-zA-Z]\w*$/ | 
| 145 | 2 | 5 | 19 | defined $chunk and not $chunk->is_filtered | 
| 233 | 3 | 5 | 31 | exists $$chunk{$x} and exists $$chunk{$y} | 
| 245 | 0 | 0 | 2 | exists $$chunk{$x} and exists $$chunk{$y} | 
| 257 | 1 | 0 | 9 | exists $$chunk{$x} and defined $y | 
| 270 | 0 | 0 | 1 | exists $$chunk{$x} and defined $y | 
| 479 | 0 | 20 | 15 | @value == 1 and $value[0] =~ /\A(\d+|)\z/ | 
| line | l | !l | condition | 
|---|---|---|---|
| 120 | 2 | 74 | shift() || '' | 
| 336 | 3 | 133 | $description ||= '' | 
| 502 | 72 | 108 | shift() || '' | 
| 505 | 13 | 167 | $self->chunks_object->_filters_map->{$type} || [] | 
| 563 | 173 | 7 | shift() || '' | 
| 727 | 4 | 2 | $flags ||= '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 57 | 256 | 57 | 0 | $default_object ||= $default_class->new | 
| 160 | 4 | 0 | 0 | $chunk_delimiter ||= $self->chunk_delim_default | 
| 161 | 4 | 0 | 0 | $data_delimiter ||= $self->data_delim_default | 
| 205 | 0 | 151 | 4 | $ENV{'TEST_SHOW_NO_DIFFS'} or $actual eq $expected | 
| 151 | 0 | 4 | $ENV{'TEST_SHOW_NO_DIFFS'} or $actual eq $expected or not $self->have_text_diff | |
| 151 | 1 | 3 | $ENV{'TEST_SHOW_NO_DIFFS'} or $actual eq $expected or not $self->have_text_diff or not $expected =~ /\n./s | |
| 322 | 13 | 0 | 195 | $$reserved_section_names{$id} or $id =~ /^_/ | 
| 479 | 1 | 0 | 35 | not @value or @value == 1 and $value[0] =~ /\A(\d+|)\z/ |