blib/lib/Parse/RandGen/Regexp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 39 | 30.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
100 | 0 | 0 | 0 | defined $capture and $capture =~ /^(\d+)|([a-z]\w*)$/i |
107 | 0 | 0 | 0 | $num >= 1 and $num <= $numCaptures |
111 | 0 | 0 | 0 | defined $$self{'_captureNames'} and defined $$self{'_captureNames'}{$name} |
122 | 0 | 0 | 0 | defined $capNum and $capNum =~ /\d+/ |
125 | 0 | 0 | 0 | $capNum >= 1 and $capNum <= $numCaptures |
209 | 3 | 0 | 7 | $yType eq 'YAPE::Regex::text' and $cur{'off'}{'i'} |
3 | 0 | 7 | $yType eq 'YAPE::Regex::text' and $cur{'off'}{'i'} and not $quant | |
244 | 0 | 0 | 3 | not $on and $off eq 'imsx' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
160 | 5 | 3 | 10 | $yType eq 'YAPE::Regex::group' or $yType eq 'YAPE::Regex::capture' |
0 | 0 | 10 | $yType eq 'YAPE::Regex::whitespace' or $yType eq 'YAPE::Regex::anchor' | |
0 | 0 | 10 | $yType eq 'YAPE::Regex::whitespace' or $yType eq 'YAPE::Regex::anchor' or $yType eq 'YAPE::Regex::comment' | |
168 | 0 | 3 | 10 | $elemType eq 'YAPE::Regex::group' or $elemType eq 'YAPE::Regex::capture' |
222 | 0 | 0 | 0 | $nchar eq $char or $cur{'off'}{'i'} |