Condition Coverage

blib/lib/Regexp/Parser/Objects.pm
Criterion Covered Total %
condition 30 69 43.4


and 3 conditions

line !l l&&!r l&&r condition
552 0 0 12 @$st and @{$st->[-1];}
0 6 6 @$st and @{$st->[-1];} and $st->[-1][-1]->type eq 'ifthen'
0 0 6 @$st and @{$st->[-1];}
0 6 0 @$st and @{$st->[-1];} and $st->[-1][-1]->family eq $self->family
564 0 0 0 $br->{'zerolen'} &&= $_->{'zerolen'}
577 0 6 0 $tree->[-1]{'zerolen'} &&= $_->{'zerolen'}
666 15 0 5 $min == 0 and $max eq ''
9 0 6 $min == 1 and $max eq ''
674 47 2 35 $min == 0 and $max eq ''
22 0 27 $min == 1 and $max eq ''
20 0 2 $min == 0 and $max == 1
16 0 4 $max ne '' and $min == $max
723 9 8 0 $tree->[-1]->family eq 'exact' and @{$tree->[-1]{'data'};} > 1
735 17 0 0 $tree->[-1]->family eq 'assertion' and $tree->[-1]->type eq 'eval'
0 0 0 $self->{'min'} == 0 && $self->{'max'} == 1
17 0 0 $tree->[-1]{'zerolen'} and not $self->{'min'} == 0 && $self->{'max'} == 1
17 0 0 $tree->[-1]{'zerolen'} and $self->{'max'} eq ''
945 0 13 7 $self->family eq 'close' and $tree->[-1]->can('nparen')
1004 0 0 0 $self->family eq 'close' and $tree->[-1]->can('nparen')

or 3 conditions

line l !l&&r !l&&!r condition
715 0 0 17 @$tree == 0 or $tree->[-1]->family eq 'flags'
735 0 0 17 $tree->[-1]->family eq 'assertion' and $tree->[-1]->type eq 'eval' or $tree->[-1]{'zerolen'} and not $self->{'min'} == 0 && $self->{'max'} == 1
968 4 0 10 $tree->[-1]{'zerolen'} ||= !grep((!$_->{'zerolen'}), @{$$tree[-1]{'data'};})
1027 0 0 0 $tree->[-1]{'zerolen'} ||= !grep((!$_->{'zerolen'}), @{$$tree[-1]{'data'};})