| 1 | # | ||||||||||||||||||||||||||||||||||||||
| 2 | # This parser was generated with | ||||||||||||||||||||||||||||||||||||||
| 3 | # Parse::RecDescent version 1.967015 | ||||||||||||||||||||||||||||||||||||||
| 4 | # | ||||||||||||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||||||||||||
| 6 | package File::System::Globber; | ||||||||||||||||||||||||||||||||||||||
| 7 | 8 | ▶ | use Parse::RecDescent; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 8 | 8 | { my $ERRORS; | |||||||||||||||||||||||||||||||||||||
| 9 | |||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||
| 11 | package Parse::RecDescent::File::System::Globber; | ||||||||||||||||||||||||||||||||||||||
| 12 | 8 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 13 | 8 | ▶ | use vars qw($skip $AUTOLOAD ); | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 14 | 8 | @Parse::RecDescent::File::System::Globber::ISA = (); | |||||||||||||||||||||||||||||||||||||
| 15 | 8 | $skip = '\\s*'; | |||||||||||||||||||||||||||||||||||||
| 16 | |||||||||||||||||||||||||||||||||||||||
| 17 | |||||||||||||||||||||||||||||||||||||||
| 18 | |||||||||||||||||||||||||||||||||||||||
| 19 | { | ||||||||||||||||||||||||||||||||||||||
| 20 | 0 | ▶ | local $SIG{__WARN__} = sub {0}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=0.4
| |||||||||||||||||||||||||||||||||||||||
| 21 | # PRETEND TO BE IN Parse::RecDescent NAMESPACE | ||||||||||||||||||||||||||||||||||||||
| 22 | *Parse::RecDescent::File::System::Globber::AUTOLOAD = sub | ||||||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=1 SCAR=2.2
| |||||||||||||||||||||||||||||||||||||||
| 24 | 8 | ▶ | no strict 'refs'; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 25 | |||||||||||||||||||||||||||||||||||||||
| 26 | 0 | ${"AUTOLOAD"} =~ s/^Parse::RecDescent::File::System::Globber/Parse::RecDescent/; | |||||||||||||||||||||||||||||||||||||
| 27 | 0 | goto &{${"AUTOLOAD"}}; | |||||||||||||||||||||||||||||||||||||
| 28 | } | ||||||||||||||||||||||||||||||||||||||
| 29 | 8 | } | |||||||||||||||||||||||||||||||||||||
| 30 | |||||||||||||||||||||||||||||||||||||||
| 31 | 8 | push @Parse::RecDescent::File::System::Globber::ISA, 'Parse::RecDescent'; | |||||||||||||||||||||||||||||||||||||
| 32 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 33 | sub Parse::RecDescent::File::System::Globber::glob | ||||||||||||||||||||||||||||||||||||||
| 34 | 18229 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
glob: called CC=21 SCAR=35.8
| |||||||||||||||||||||||||||||||||||||||
| 35 | 18229 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 36 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 37 | 18229 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 38 | 18229 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 39 | 18229 | my $thisrule = $thisparser->{"rules"}{"glob"}; | |||||||||||||||||||||||||||||||||||||
| 40 | |||||||||||||||||||||||||||||||||||||||
| 41 | 18229 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [glob]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 42 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 43 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 44 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 45 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||||||||||||
| 47 | |||||||||||||||||||||||||||||||||||||||
| 48 | 18229 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 49 | |||||||||||||||||||||||||||||||||||||||
| 50 | 18229 | my $score; | |||||||||||||||||||||||||||||||||||||
| 51 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 52 | 18229 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 53 | 18229 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 54 | 18229 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 55 | 18229 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 56 | 18229 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 57 | 18229 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 58 | 18229 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 59 | 18229 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 60 | 18229 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 61 | 18229 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 62 | 18229 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 63 | 18229 | my $text; | |||||||||||||||||||||||||||||||||||||
| 64 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 65 | 18229 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 66 | 18229 | my $expectation = new Parse::RecDescent::Expectation(q{match}); | |||||||||||||||||||||||||||||||||||||
| 67 | 18229 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 68 | |||||||||||||||||||||||||||||||||||||||
| 69 | 18229 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 70 | 18229 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 71 | |||||||||||||||||||||||||||||||||||||||
| 72 | |||||||||||||||||||||||||||||||||||||||
| 73 | |||||||||||||||||||||||||||||||||||||||
| 74 | 18229 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 75 | { | ||||||||||||||||||||||||||||||||||||||
| 76 | |||||||||||||||||||||||||||||||||||||||
| 77 | 18229 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 78 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 79 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 80 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 81 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 82 | 18229 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 83 | 18229 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 84 | 18229 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 85 | 18229 | @item = (q{glob}); | |||||||||||||||||||||||||||||||||||||
| 86 | 18229 | %item = (__RULE__ => q{glob}); | |||||||||||||||||||||||||||||||||||||
| 87 | 18229 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 88 | |||||||||||||||||||||||||||||||||||||||
| 89 | |||||||||||||||||||||||||||||||||||||||
| 90 | 18229 | ▶ | Parse::RecDescent::_trace(q{Trying repeated subrule: [match]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 91 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 92 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 93 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 94 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 95 | 18229 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 96 | |||||||||||||||||||||||||||||||||||||||
| 97 | 18229 | ▶ | unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::File::System::Globber::match, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 98 | { | ||||||||||||||||||||||||||||||||||||||
| 99 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [match]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 100 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 101 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 102 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 103 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 104 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 105 | } | ||||||||||||||||||||||||||||||||||||||
| 106 | 18229 | ▶ | Parse::RecDescent::_trace(q{>>Matched repeated subrule: [match]<< (} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 107 | . @$_tok . q{ times)}, | ||||||||||||||||||||||||||||||||||||||
| 108 | |||||||||||||||||||||||||||||||||||||||
| 109 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 110 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 111 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 112 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 113 | 18229 | $item{q{match(s)}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 114 | 18229 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 115 | |||||||||||||||||||||||||||||||||||||||
| 116 | |||||||||||||||||||||||||||||||||||||||
| 117 | |||||||||||||||||||||||||||||||||||||||
| 118 | 18229 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 119 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 120 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 121 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 122 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 123 | |||||||||||||||||||||||||||||||||||||||
| 124 | |||||||||||||||||||||||||||||||||||||||
| 125 | |||||||||||||||||||||||||||||||||||||||
| 126 | 18229 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 127 | 18229 | last; | |||||||||||||||||||||||||||||||||||||
| 128 | } | ||||||||||||||||||||||||||||||||||||||
| 129 | |||||||||||||||||||||||||||||||||||||||
| 130 | |||||||||||||||||||||||||||||||||||||||
| 131 | 18229 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or defined $score
MC/DC0%0/2
$_matched or defined $score
$_matched
defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 132 | { | ||||||||||||||||||||||||||||||||||||||
| 133 | |||||||||||||||||||||||||||||||||||||||
| 134 | |||||||||||||||||||||||||||||||||||||||
| 135 | 0 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 136 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 137 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 138 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 139 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 140 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 141 | 0 | return undef; | |||||||||||||||||||||||||||||||||||||
| 142 | } | ||||||||||||||||||||||||||||||||||||||
| 143 | 18229 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 144 | { | ||||||||||||||||||||||||||||||||||||||
| 145 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 146 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 147 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 148 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 149 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 150 | } | ||||||||||||||||||||||||||||||||||||||
| 151 | 18229 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 152 | 18229 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 153 | 18229 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 154 | { | ||||||||||||||||||||||||||||||||||||||
| 155 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 156 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 157 | q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 158 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 159 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 160 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 161 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 162 | , q{glob}, | ||||||||||||||||||||||||||||||||||||||
| 163 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 164 | } | ||||||||||||||||||||||||||||||||||||||
| 165 | 18229 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 166 | 18229 | return $return; | |||||||||||||||||||||||||||||||||||||
| 167 | } | ||||||||||||||||||||||||||||||||||||||
| 168 | |||||||||||||||||||||||||||||||||||||||
| 169 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 170 | sub Parse::RecDescent::File::System::Globber::match | ||||||||||||||||||||||||||||||||||||||
| 171 | 82138 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match: called CC=53 SCAR=42.2
| |||||||||||||||||||||||||||||||||||||||
| 172 | 82138 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 173 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 174 | 82138 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 175 | 82138 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 176 | 82138 | my $thisrule = $thisparser->{"rules"}{"match"}; | |||||||||||||||||||||||||||||||||||||
| 177 | |||||||||||||||||||||||||||||||||||||||
| 178 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 179 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 180 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 181 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 182 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 183 | |||||||||||||||||||||||||||||||||||||||
| 184 | |||||||||||||||||||||||||||||||||||||||
| 185 | 82138 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 186 | |||||||||||||||||||||||||||||||||||||||
| 187 | 82138 | my $score; | |||||||||||||||||||||||||||||||||||||
| 188 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 189 | 82138 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 190 | 82138 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 191 | 82138 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 192 | 82138 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 193 | 82138 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 194 | 82138 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 195 | 82138 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 196 | 82138 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 197 | 82138 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 198 | 82138 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 199 | 82138 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 200 | 82138 | my $text; | |||||||||||||||||||||||||||||||||||||
| 201 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 202 | 82138 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 203 | 82138 | my $expectation = new Parse::RecDescent::Expectation(q{match_one, or match_any, or match_alternative, or match_collection, or match_character}); | |||||||||||||||||||||||||||||||||||||
| 204 | 82138 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 205 | |||||||||||||||||||||||||||||||||||||||
| 206 | 82138 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 207 | 82138 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 208 | |||||||||||||||||||||||||||||||||||||||
| 209 | |||||||||||||||||||||||||||||||||||||||
| 210 | |||||||||||||||||||||||||||||||||||||||
| 211 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 212 | { | ||||||||||||||||||||||||||||||||||||||
| 213 | |||||||||||||||||||||||||||||||||||||||
| 214 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match_one]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 215 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 216 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 217 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 218 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 219 | 82138 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 220 | 82138 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 221 | 82138 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 222 | 82138 | @item = (q{match}); | |||||||||||||||||||||||||||||||||||||
| 223 | 82138 | %item = (__RULE__ => q{match}); | |||||||||||||||||||||||||||||||||||||
| 224 | 82138 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 225 | |||||||||||||||||||||||||||||||||||||||
| 226 | |||||||||||||||||||||||||||||||||||||||
| 227 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_one]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 228 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 229 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 230 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 231 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 232 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 233 | 82138 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 234 | 82138 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_one($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 235 | { | ||||||||||||||||||||||||||||||||||||||
| 236 | |||||||||||||||||||||||||||||||||||||||
| 237 | 80288 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_one]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 238 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 239 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 240 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 241 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 242 | 80288 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 243 | 80288 | last; | |||||||||||||||||||||||||||||||||||||
| 244 | } | ||||||||||||||||||||||||||||||||||||||
| 245 | 1850 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_one]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 246 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 247 | |||||||||||||||||||||||||||||||||||||||
| 248 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 249 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 250 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 251 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 252 | 1850 | $item{q{match_one}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 253 | 1850 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 254 | |||||||||||||||||||||||||||||||||||||||
| 255 | } | ||||||||||||||||||||||||||||||||||||||
| 256 | |||||||||||||||||||||||||||||||||||||||
| 257 | 1850 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match_one]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 258 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 259 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 260 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 261 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 262 | |||||||||||||||||||||||||||||||||||||||
| 263 | |||||||||||||||||||||||||||||||||||||||
| 264 | |||||||||||||||||||||||||||||||||||||||
| 265 | 1850 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 266 | 1850 | last; | |||||||||||||||||||||||||||||||||||||
| 267 | } | ||||||||||||||||||||||||||||||||||||||
| 268 | |||||||||||||||||||||||||||||||||||||||
| 269 | |||||||||||||||||||||||||||||||||||||||
| 270 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 271 | { | ||||||||||||||||||||||||||||||||||||||
| 272 | |||||||||||||||||||||||||||||||||||||||
| 273 | 80288 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match_any]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 274 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 275 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 276 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 277 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 278 | 80288 | my $thisprod = $thisrule->{"prods"}[1]; | |||||||||||||||||||||||||||||||||||||
| 279 | 80288 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 280 | 80288 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 281 | 80288 | @item = (q{match}); | |||||||||||||||||||||||||||||||||||||
| 282 | 80288 | %item = (__RULE__ => q{match}); | |||||||||||||||||||||||||||||||||||||
| 283 | 80288 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 284 | |||||||||||||||||||||||||||||||||||||||
| 285 | |||||||||||||||||||||||||||||||||||||||
| 286 | 80288 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_any]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 287 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 288 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 289 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 290 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 291 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 292 | 80288 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 293 | 80288 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_any($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 294 | { | ||||||||||||||||||||||||||||||||||||||
| 295 | |||||||||||||||||||||||||||||||||||||||
| 296 | 76324 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_any]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 297 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 298 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 299 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 300 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 301 | 76324 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 302 | 76324 | last; | |||||||||||||||||||||||||||||||||||||
| 303 | } | ||||||||||||||||||||||||||||||||||||||
| 304 | 3964 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_any]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 305 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 306 | |||||||||||||||||||||||||||||||||||||||
| 307 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 308 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 309 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 310 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 311 | 3964 | $item{q{match_any}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 312 | 3964 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 313 | |||||||||||||||||||||||||||||||||||||||
| 314 | } | ||||||||||||||||||||||||||||||||||||||
| 315 | |||||||||||||||||||||||||||||||||||||||
| 316 | 3964 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match_any]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 317 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 318 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 319 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 320 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 321 | |||||||||||||||||||||||||||||||||||||||
| 322 | |||||||||||||||||||||||||||||||||||||||
| 323 | |||||||||||||||||||||||||||||||||||||||
| 324 | 3964 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 325 | 3964 | last; | |||||||||||||||||||||||||||||||||||||
| 326 | } | ||||||||||||||||||||||||||||||||||||||
| 327 | |||||||||||||||||||||||||||||||||||||||
| 328 | |||||||||||||||||||||||||||||||||||||||
| 329 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 330 | { | ||||||||||||||||||||||||||||||||||||||
| 331 | |||||||||||||||||||||||||||||||||||||||
| 332 | 76324 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match_alternative]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 333 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 334 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 335 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 336 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 337 | 76324 | my $thisprod = $thisrule->{"prods"}[2]; | |||||||||||||||||||||||||||||||||||||
| 338 | 76324 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 339 | 76324 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 340 | 76324 | @item = (q{match}); | |||||||||||||||||||||||||||||||||||||
| 341 | 76324 | %item = (__RULE__ => q{match}); | |||||||||||||||||||||||||||||||||||||
| 342 | 76324 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 343 | |||||||||||||||||||||||||||||||||||||||
| 344 | |||||||||||||||||||||||||||||||||||||||
| 345 | 76324 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_alternative]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 346 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 347 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 348 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 349 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 350 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 351 | 76324 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 352 | 76324 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_alternative($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 353 | { | ||||||||||||||||||||||||||||||||||||||
| 354 | |||||||||||||||||||||||||||||||||||||||
| 355 | 75398 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_alternative]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 356 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 357 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 358 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 359 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 360 | 75398 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 361 | 75398 | last; | |||||||||||||||||||||||||||||||||||||
| 362 | } | ||||||||||||||||||||||||||||||||||||||
| 363 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_alternative]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 364 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 365 | |||||||||||||||||||||||||||||||||||||||
| 366 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 367 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 368 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 369 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 370 | 926 | $item{q{match_alternative}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 371 | 926 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 372 | |||||||||||||||||||||||||||||||||||||||
| 373 | } | ||||||||||||||||||||||||||||||||||||||
| 374 | |||||||||||||||||||||||||||||||||||||||
| 375 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match_alternative]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 376 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 377 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 378 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 379 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 380 | |||||||||||||||||||||||||||||||||||||||
| 381 | |||||||||||||||||||||||||||||||||||||||
| 382 | |||||||||||||||||||||||||||||||||||||||
| 383 | 926 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 384 | 926 | last; | |||||||||||||||||||||||||||||||||||||
| 385 | } | ||||||||||||||||||||||||||||||||||||||
| 386 | |||||||||||||||||||||||||||||||||||||||
| 387 | |||||||||||||||||||||||||||||||||||||||
| 388 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 389 | { | ||||||||||||||||||||||||||||||||||||||
| 390 | |||||||||||||||||||||||||||||||||||||||
| 391 | 75398 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match_collection]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 392 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 393 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 394 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 395 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 396 | 75398 | my $thisprod = $thisrule->{"prods"}[3]; | |||||||||||||||||||||||||||||||||||||
| 397 | 75398 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 398 | 75398 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 399 | 75398 | @item = (q{match}); | |||||||||||||||||||||||||||||||||||||
| 400 | 75398 | %item = (__RULE__ => q{match}); | |||||||||||||||||||||||||||||||||||||
| 401 | 75398 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 402 | |||||||||||||||||||||||||||||||||||||||
| 403 | |||||||||||||||||||||||||||||||||||||||
| 404 | 75398 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_collection]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 405 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 406 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 407 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 408 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 409 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 410 | 75398 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 411 | 75398 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_collection($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 412 | { | ||||||||||||||||||||||||||||||||||||||
| 413 | |||||||||||||||||||||||||||||||||||||||
| 414 | 75394 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_collection]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 415 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 416 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 417 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 418 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 419 | 75394 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 420 | 75394 | last; | |||||||||||||||||||||||||||||||||||||
| 421 | } | ||||||||||||||||||||||||||||||||||||||
| 422 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_collection]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 423 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 424 | |||||||||||||||||||||||||||||||||||||||
| 425 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 426 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 427 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 428 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 429 | 4 | $item{q{match_collection}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 430 | 4 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 431 | |||||||||||||||||||||||||||||||||||||||
| 432 | } | ||||||||||||||||||||||||||||||||||||||
| 433 | |||||||||||||||||||||||||||||||||||||||
| 434 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match_collection]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 435 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 436 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 437 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 438 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 439 | |||||||||||||||||||||||||||||||||||||||
| 440 | |||||||||||||||||||||||||||||||||||||||
| 441 | |||||||||||||||||||||||||||||||||||||||
| 442 | 4 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 443 | 4 | last; | |||||||||||||||||||||||||||||||||||||
| 444 | } | ||||||||||||||||||||||||||||||||||||||
| 445 | |||||||||||||||||||||||||||||||||||||||
| 446 | |||||||||||||||||||||||||||||||||||||||
| 447 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 448 | { | ||||||||||||||||||||||||||||||||||||||
| 449 | |||||||||||||||||||||||||||||||||||||||
| 450 | 75394 | ▶ | Parse::RecDescent::_trace(q{Trying production: [match_character]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 451 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 452 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 453 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 454 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 455 | 75394 | my $thisprod = $thisrule->{"prods"}[4]; | |||||||||||||||||||||||||||||||||||||
| 456 | 75394 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 457 | 75394 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 458 | 75394 | @item = (q{match}); | |||||||||||||||||||||||||||||||||||||
| 459 | 75394 | %item = (__RULE__ => q{match}); | |||||||||||||||||||||||||||||||||||||
| 460 | 75394 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 461 | |||||||||||||||||||||||||||||||||||||||
| 462 | |||||||||||||||||||||||||||||||||||||||
| 463 | 75394 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_character]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 464 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 465 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 466 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 467 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 468 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 469 | 75394 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 470 | 75394 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_character($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 471 | { | ||||||||||||||||||||||||||||||||||||||
| 472 | |||||||||||||||||||||||||||||||||||||||
| 473 | 18229 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_character]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 474 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 475 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 476 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 477 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 478 | 18229 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 479 | 18229 | last; | |||||||||||||||||||||||||||||||||||||
| 480 | } | ||||||||||||||||||||||||||||||||||||||
| 481 | 57165 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_character]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 482 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 483 | |||||||||||||||||||||||||||||||||||||||
| 484 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 485 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 486 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 487 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 488 | 57165 | $item{q{match_character}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 489 | 57165 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 490 | |||||||||||||||||||||||||||||||||||||||
| 491 | } | ||||||||||||||||||||||||||||||||||||||
| 492 | |||||||||||||||||||||||||||||||||||||||
| 493 | 57165 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [match_character]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 494 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 495 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 496 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 497 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 498 | |||||||||||||||||||||||||||||||||||||||
| 499 | |||||||||||||||||||||||||||||||||||||||
| 500 | |||||||||||||||||||||||||||||||||||||||
| 501 | 57165 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 502 | 57165 | last; | |||||||||||||||||||||||||||||||||||||
| 503 | } | ||||||||||||||||||||||||||||||||||||||
| 504 | |||||||||||||||||||||||||||||||||||||||
| 505 | |||||||||||||||||||||||||||||||||||||||
| 506 | 82138 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 507 | { | ||||||||||||||||||||||||||||||||||||||
| 508 | |||||||||||||||||||||||||||||||||||||||
| 509 | |||||||||||||||||||||||||||||||||||||||
| 510 | 18229 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 511 | 18229 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 512 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 513 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 514 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 515 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 516 | 18229 | return undef; | |||||||||||||||||||||||||||||||||||||
| 517 | } | ||||||||||||||||||||||||||||||||||||||
| 518 | 63909 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 519 | { | ||||||||||||||||||||||||||||||||||||||
| 520 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 521 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 522 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 523 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 524 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 525 | } | ||||||||||||||||||||||||||||||||||||||
| 526 | 63909 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 527 | 63909 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 528 | 63909 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 529 | { | ||||||||||||||||||||||||||||||||||||||
| 530 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 531 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 532 | q{match}, | ||||||||||||||||||||||||||||||||||||||
| 533 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 534 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 535 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 536 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 537 | , q{match}, | ||||||||||||||||||||||||||||||||||||||
| 538 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 539 | } | ||||||||||||||||||||||||||||||||||||||
| 540 | 63909 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 541 | 63909 | return $return; | |||||||||||||||||||||||||||||||||||||
| 542 | } | ||||||||||||||||||||||||||||||||||||||
| 543 | |||||||||||||||||||||||||||||||||||||||
| 544 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 545 | sub Parse::RecDescent::File::System::Globber::match_alternative | ||||||||||||||||||||||||||||||||||||||
| 546 | 76324 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_alternative: called CC=61 SCAR=52.0
| |||||||||||||||||||||||||||||||||||||||
| 547 | 76324 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 548 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 549 | 76324 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 550 | 76324 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 551 | 76324 | my $thisrule = $thisparser->{"rules"}{"match_alternative"}; | |||||||||||||||||||||||||||||||||||||
| 552 | |||||||||||||||||||||||||||||||||||||||
| 553 | 76324 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_alternative]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 554 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 555 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 556 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 557 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 558 | |||||||||||||||||||||||||||||||||||||||
| 559 | |||||||||||||||||||||||||||||||||||||||
| 560 | 76324 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 561 | |||||||||||||||||||||||||||||||||||||||
| 562 | 76324 | my $score; | |||||||||||||||||||||||||||||||||||||
| 563 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 564 | 76324 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 565 | 76324 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 566 | 76324 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 567 | 76324 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 568 | 76324 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 569 | 76324 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 570 | 76324 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 571 | 76324 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 572 | 76324 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 573 | 76324 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 574 | 76324 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 575 | 76324 | my $text; | |||||||||||||||||||||||||||||||||||||
| 576 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 577 | 76324 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 578 | 76324 | my $expectation = new Parse::RecDescent::Expectation(q{'\{'}); | |||||||||||||||||||||||||||||||||||||
| 579 | 76324 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 580 | |||||||||||||||||||||||||||||||||||||||
| 581 | 76324 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 582 | 76324 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 583 | |||||||||||||||||||||||||||||||||||||||
| 584 | |||||||||||||||||||||||||||||||||||||||
| 585 | |||||||||||||||||||||||||||||||||||||||
| 586 | 76324 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 587 | { | ||||||||||||||||||||||||||||||||||||||
| 588 | |||||||||||||||||||||||||||||||||||||||
| 589 | 76324 | ▶ | Parse::RecDescent::_trace(q{Trying production: ['\{' <leftop: match_option /,/ match_option> '\}']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 590 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 591 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 592 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 593 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 594 | 76324 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 595 | 76324 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 596 | 76324 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 597 | 76324 | @item = (q{match_alternative}); | |||||||||||||||||||||||||||||||||||||
| 598 | 76324 | %item = (__RULE__ => q{match_alternative}); | |||||||||||||||||||||||||||||||||||||
| 599 | 76324 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 600 | |||||||||||||||||||||||||||||||||||||||
| 601 | |||||||||||||||||||||||||||||||||||||||
| 602 | 76324 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['\{']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 603 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 604 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 605 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 606 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 607 | 76324 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 608 | 76324 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 609 | |||||||||||||||||||||||||||||||||||||||
| 610 | |||||||||||||||||||||||||||||||||||||||
| 611 | 76324 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\{/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\{/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\{/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\{/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\{/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 612 | { | ||||||||||||||||||||||||||||||||||||||
| 613 | 75398 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 614 | |||||||||||||||||||||||||||||||||||||||
| 615 | 75398 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 616 | 75398 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 617 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 618 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 619 | 75398 | last; | |||||||||||||||||||||||||||||||||||||
| 620 | } | ||||||||||||||||||||||||||||||||||||||
| 621 | 926 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 622 | 926 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 623 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 624 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 625 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 626 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 627 | 926 | push @item, $item{__STRING1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 628 | |||||||||||||||||||||||||||||||||||||||
| 629 | |||||||||||||||||||||||||||||||||||||||
| 630 | 926 | ▶ | Parse::RecDescent::_trace(q{Trying operator: [<leftop: match_option /,/ match_option>]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 631 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 632 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 633 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 634 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 635 | 926 | $expectation->is(q{<leftop: match_option /,/ match_option>})->at($text); | |||||||||||||||||||||||||||||||||||||
| 636 | |||||||||||||||||||||||||||||||||||||||
| 637 | 926 | $_tok = undef; | |||||||||||||||||||||||||||||||||||||
| 638 | 926 | OPLOOP: while (1) | |||||||||||||||||||||||||||||||||||||
| 639 | { | ||||||||||||||||||||||||||||||||||||||
| 640 | 926 | $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 641 | 926 | my @item; | |||||||||||||||||||||||||||||||||||||
| 642 | my %item; | ||||||||||||||||||||||||||||||||||||||
| 643 | |||||||||||||||||||||||||||||||||||||||
| 644 | # MATCH LEFTARG | ||||||||||||||||||||||||||||||||||||||
| 645 | |||||||||||||||||||||||||||||||||||||||
| 646 | 926 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_option]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 647 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 648 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 649 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 650 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 651 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 652 | 926 | $expectation->is(q{match_option})->at($text); | |||||||||||||||||||||||||||||||||||||
| 653 | 926 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_option($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 654 | { | ||||||||||||||||||||||||||||||||||||||
| 655 | |||||||||||||||||||||||||||||||||||||||
| 656 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_option]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 657 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 658 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 659 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 660 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 661 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 662 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 663 | } | ||||||||||||||||||||||||||||||||||||||
| 664 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_option]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 665 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 666 | |||||||||||||||||||||||||||||||||||||||
| 667 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 668 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 669 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 670 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 671 | 926 | $item{q{match_option}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 672 | 926 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 673 | |||||||||||||||||||||||||||||||||||||||
| 674 | } | ||||||||||||||||||||||||||||||||||||||
| 675 | |||||||||||||||||||||||||||||||||||||||
| 676 | |||||||||||||||||||||||||||||||||||||||
| 677 | |||||||||||||||||||||||||||||||||||||||
| 678 | 926 | $repcount++; | |||||||||||||||||||||||||||||||||||||
| 679 | |||||||||||||||||||||||||||||||||||||||
| 680 | 926 | my $savetext = $text; | |||||||||||||||||||||||||||||||||||||
| 681 | 926 | my $backtrack; | |||||||||||||||||||||||||||||||||||||
| 682 | |||||||||||||||||||||||||||||||||||||||
| 683 | # MATCH (OP RIGHTARG)(s) | ||||||||||||||||||||||||||||||||||||||
| 684 | 926 | ▶ | while ($repcount < 100000000) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 685 | { | ||||||||||||||||||||||||||||||||||||||
| 686 | 1854 | $backtrack = 0; | |||||||||||||||||||||||||||||||||||||
| 687 | |||||||||||||||||||||||||||||||||||||||
| 688 | 1854 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/,/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 689 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 690 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 691 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 692 | 1854 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 693 | 1854 | $expectation->is(q{/,/})->at($text); | |||||||||||||||||||||||||||||||||||||
| 694 | |||||||||||||||||||||||||||||||||||||||
| 695 | |||||||||||||||||||||||||||||||||||||||
| 696 | 1854 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:,)/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:,)/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:,)/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:,)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:,)/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 697 | { | ||||||||||||||||||||||||||||||||||||||
| 698 | 926 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 699 | 926 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 700 | 926 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 701 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 702 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 703 | |||||||||||||||||||||||||||||||||||||||
| 704 | 926 | last; | |||||||||||||||||||||||||||||||||||||
| 705 | } | ||||||||||||||||||||||||||||||||||||||
| 706 | 928 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 707 | 928 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 708 | 928 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 709 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 710 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 711 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 712 | 928 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 713 | |||||||||||||||||||||||||||||||||||||||
| 714 | |||||||||||||||||||||||||||||||||||||||
| 715 | 928 | pop @item; | |||||||||||||||||||||||||||||||||||||
| 716 | 0 | ▶ | if (defined $1) {push @item, $item{'match_option(s)'}=$1; $backtrack=1;} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 717 | |||||||||||||||||||||||||||||||||||||||
| 718 | 928 | ▶ | Parse::RecDescent::_trace(q{Trying subrule: [match_option]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 719 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 720 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 721 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 722 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 723 | 8 | ▶ | if (1) { no strict qw{refs}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 724 | 928 | $expectation->is(q{match_option})->at($text); | |||||||||||||||||||||||||||||||||||||
| 725 | 928 | ▶ | unless (defined ($_tok = Parse::RecDescent::File::System::Globber::match_option($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 726 | { | ||||||||||||||||||||||||||||||||||||||
| 727 | |||||||||||||||||||||||||||||||||||||||
| 728 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match subrule: [match_option]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 729 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 730 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 731 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 732 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 733 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 734 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 735 | } | ||||||||||||||||||||||||||||||||||||||
| 736 | 928 | ▶ | Parse::RecDescent::_trace(q{>>Matched subrule: [match_option]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 737 | . $_tok . q{]}, | ||||||||||||||||||||||||||||||||||||||
| 738 | |||||||||||||||||||||||||||||||||||||||
| 739 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 740 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 741 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 742 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 743 | 928 | $item{q{match_option}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 744 | 928 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 745 | |||||||||||||||||||||||||||||||||||||||
| 746 | } | ||||||||||||||||||||||||||||||||||||||
| 747 | |||||||||||||||||||||||||||||||||||||||
| 748 | 928 | $savetext = $text; | |||||||||||||||||||||||||||||||||||||
| 749 | 928 | $repcount++; | |||||||||||||||||||||||||||||||||||||
| 750 | } | ||||||||||||||||||||||||||||||||||||||
| 751 | 926 | $text = $savetext; | |||||||||||||||||||||||||||||||||||||
| 752 | 926 | ▶ | pop @item if $backtrack; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 753 | |||||||||||||||||||||||||||||||||||||||
| 754 | 0 | ▶ | unless (@item) { undef $_tok; last } | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 755 | 926 | $_tok = [ @item ]; | |||||||||||||||||||||||||||||||||||||
| 756 | |||||||||||||||||||||||||||||||||||||||
| 757 | 926 | last; | |||||||||||||||||||||||||||||||||||||
| 758 | } # end of OPLOOP | ||||||||||||||||||||||||||||||||||||||
| 759 | |||||||||||||||||||||||||||||||||||||||
| 760 | 926 | ▶ | unless ($repcount>=1) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 761 | { | ||||||||||||||||||||||||||||||||||||||
| 762 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: match_option /,/ match_option>]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 763 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 764 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 765 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 766 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 767 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 768 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 769 | } | ||||||||||||||||||||||||||||||||||||||
| 770 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: match_option /,/ match_option>]<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 771 | 0 | ▶ | . qq{@{$_tok||[]}} . q{]}, | ||||||||||||||||||||||||||||||||||||
|
Condition0%0/2
$_tok || []
MC/DC0%0/1
$_tok || []
$_tok
Truth table0%0/2
A
A= $_tok
| |||||||||||||||||||||||||||||||||||||||
| 772 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 773 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 774 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 775 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 776 | |||||||||||||||||||||||||||||||||||||||
| 777 | 926 | ▶ | push @item, $item{'match_option(s)'}=$_tok||[]; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$_tok || []
MC/DC0%0/1
$_tok || []
$_tok
Truth table50%1/2
A
A= $_tok
| |||||||||||||||||||||||||||||||||||||||
| 778 | |||||||||||||||||||||||||||||||||||||||
| 779 | 926 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['\}']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 780 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 781 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 782 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 783 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 784 | 926 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 785 | 926 | $expectation->is(q{'\}'})->at($text); | |||||||||||||||||||||||||||||||||||||
| 786 | |||||||||||||||||||||||||||||||||||||||
| 787 | |||||||||||||||||||||||||||||||||||||||
| 788 | 926 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\}/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\}/
($lastsep = $1) && ''
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\}/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\}/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\}/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 789 | { | ||||||||||||||||||||||||||||||||||||||
| 790 | 0 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 791 | |||||||||||||||||||||||||||||||||||||||
| 792 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 793 | 0 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 794 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 795 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 796 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 797 | } | ||||||||||||||||||||||||||||||||||||||
| 798 | 926 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 799 | 926 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 800 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 801 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 802 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 803 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 804 | 926 | push @item, $item{__STRING2__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 805 | |||||||||||||||||||||||||||||||||||||||
| 806 | |||||||||||||||||||||||||||||||||||||||
| 807 | 926 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 808 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 809 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 810 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 811 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 812 | |||||||||||||||||||||||||||||||||||||||
| 813 | |||||||||||||||||||||||||||||||||||||||
| 814 | 926 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = bless { alternatives => $item[2] }, 'File::System::Glob::MatchAlternative' }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 815 | 926 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 816 | { | ||||||||||||||||||||||||||||||||||||||
| 817 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 818 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 819 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 820 | } | ||||||||||||||||||||||||||||||||||||||
| 821 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 822 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 823 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 824 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 825 | 926 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 826 | 926 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 827 | |||||||||||||||||||||||||||||||||||||||
| 828 | |||||||||||||||||||||||||||||||||||||||
| 829 | 926 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: ['\{' <leftop: match_option /,/ match_option> '\}']<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 830 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 831 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 832 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 833 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 834 | |||||||||||||||||||||||||||||||||||||||
| 835 | |||||||||||||||||||||||||||||||||||||||
| 836 | |||||||||||||||||||||||||||||||||||||||
| 837 | 926 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 838 | 926 | last; | |||||||||||||||||||||||||||||||||||||
| 839 | } | ||||||||||||||||||||||||||||||||||||||
| 840 | |||||||||||||||||||||||||||||||||||||||
| 841 | |||||||||||||||||||||||||||||||||||||||
| 842 | 76324 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 843 | { | ||||||||||||||||||||||||||||||||||||||
| 844 | |||||||||||||||||||||||||||||||||||||||
| 845 | |||||||||||||||||||||||||||||||||||||||
| 846 | 75398 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 847 | 75398 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 848 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 849 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 850 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 851 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 852 | 75398 | return undef; | |||||||||||||||||||||||||||||||||||||
| 853 | } | ||||||||||||||||||||||||||||||||||||||
| 854 | 926 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 855 | { | ||||||||||||||||||||||||||||||||||||||
| 856 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 857 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 858 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 859 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 860 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 861 | } | ||||||||||||||||||||||||||||||||||||||
| 862 | 926 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 863 | 926 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 864 | 926 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 865 | { | ||||||||||||||||||||||||||||||||||||||
| 866 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 867 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 868 | q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 869 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 870 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 871 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 872 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 873 | , q{match_alternative}, | ||||||||||||||||||||||||||||||||||||||
| 874 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 875 | } | ||||||||||||||||||||||||||||||||||||||
| 876 | 926 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 877 | 926 | return $return; | |||||||||||||||||||||||||||||||||||||
| 878 | } | ||||||||||||||||||||||||||||||||||||||
| 879 | |||||||||||||||||||||||||||||||||||||||
| 880 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 881 | sub Parse::RecDescent::File::System::Globber::match_any | ||||||||||||||||||||||||||||||||||||||
| 882 | 80288 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_any: called CC=29 SCAR=37.8
| |||||||||||||||||||||||||||||||||||||||
| 883 | 80288 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 884 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 885 | 80288 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 886 | 80288 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 887 | 80288 | my $thisrule = $thisparser->{"rules"}{"match_any"}; | |||||||||||||||||||||||||||||||||||||
| 888 | |||||||||||||||||||||||||||||||||||||||
| 889 | 80288 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_any]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 890 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 891 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 892 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 893 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 894 | |||||||||||||||||||||||||||||||||||||||
| 895 | |||||||||||||||||||||||||||||||||||||||
| 896 | 80288 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 897 | |||||||||||||||||||||||||||||||||||||||
| 898 | 80288 | my $score; | |||||||||||||||||||||||||||||||||||||
| 899 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 900 | 80288 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 901 | 80288 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 902 | 80288 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 903 | 80288 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 904 | 80288 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 905 | 80288 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 906 | 80288 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 907 | 80288 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 908 | 80288 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 909 | 80288 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 910 | 80288 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 911 | 80288 | my $text; | |||||||||||||||||||||||||||||||||||||
| 912 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 913 | 80288 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 914 | 80288 | my $expectation = new Parse::RecDescent::Expectation(q{'*'}); | |||||||||||||||||||||||||||||||||||||
| 915 | 80288 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 916 | |||||||||||||||||||||||||||||||||||||||
| 917 | 80288 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 918 | 80288 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 919 | |||||||||||||||||||||||||||||||||||||||
| 920 | |||||||||||||||||||||||||||||||||||||||
| 921 | |||||||||||||||||||||||||||||||||||||||
| 922 | 80288 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 923 | { | ||||||||||||||||||||||||||||||||||||||
| 924 | |||||||||||||||||||||||||||||||||||||||
| 925 | 80288 | ▶ | Parse::RecDescent::_trace(q{Trying production: ['*']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 926 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 927 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 928 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 929 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 930 | 80288 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 931 | 80288 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 932 | 80288 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 933 | 80288 | @item = (q{match_any}); | |||||||||||||||||||||||||||||||||||||
| 934 | 80288 | %item = (__RULE__ => q{match_any}); | |||||||||||||||||||||||||||||||||||||
| 935 | 80288 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 936 | |||||||||||||||||||||||||||||||||||||||
| 937 | |||||||||||||||||||||||||||||||||||||||
| 938 | 80288 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['*']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 939 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 940 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 941 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 942 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 943 | 80288 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 944 | 80288 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 945 | |||||||||||||||||||||||||||||||||||||||
| 946 | |||||||||||||||||||||||||||||||||||||||
| 947 | 80288 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\*/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\*/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\*/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\*/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\*/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 948 | { | ||||||||||||||||||||||||||||||||||||||
| 949 | 76324 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 950 | |||||||||||||||||||||||||||||||||||||||
| 951 | 76324 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 952 | 76324 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 953 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 954 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 955 | 76324 | last; | |||||||||||||||||||||||||||||||||||||
| 956 | } | ||||||||||||||||||||||||||||||||||||||
| 957 | 3964 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 958 | 3964 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 959 | 3964 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 960 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 961 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 962 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 963 | 3964 | push @item, $item{__STRING1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 964 | |||||||||||||||||||||||||||||||||||||||
| 965 | |||||||||||||||||||||||||||||||||||||||
| 966 | 3964 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 967 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 968 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 969 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 970 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 971 | |||||||||||||||||||||||||||||||||||||||
| 972 | |||||||||||||||||||||||||||||||||||||||
| 973 | 3964 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = bless {}, 'File::System::Glob::MatchAny' }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 974 | 3964 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 975 | { | ||||||||||||||||||||||||||||||||||||||
| 976 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 977 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 978 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 979 | } | ||||||||||||||||||||||||||||||||||||||
| 980 | 3964 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 981 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 982 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 983 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 984 | 3964 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 985 | 3964 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 986 | |||||||||||||||||||||||||||||||||||||||
| 987 | |||||||||||||||||||||||||||||||||||||||
| 988 | 3964 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: ['*']<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 989 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 990 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 991 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 992 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 993 | |||||||||||||||||||||||||||||||||||||||
| 994 | |||||||||||||||||||||||||||||||||||||||
| 995 | |||||||||||||||||||||||||||||||||||||||
| 996 | 3964 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 997 | 3964 | last; | |||||||||||||||||||||||||||||||||||||
| 998 | } | ||||||||||||||||||||||||||||||||||||||
| 999 | |||||||||||||||||||||||||||||||||||||||
| 1000 | |||||||||||||||||||||||||||||||||||||||
| 1001 | 80288 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1002 | { | ||||||||||||||||||||||||||||||||||||||
| 1003 | |||||||||||||||||||||||||||||||||||||||
| 1004 | |||||||||||||||||||||||||||||||||||||||
| 1005 | 76324 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 1006 | 76324 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1007 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1008 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 1009 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1010 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1011 | 76324 | return undef; | |||||||||||||||||||||||||||||||||||||
| 1012 | } | ||||||||||||||||||||||||||||||||||||||
| 1013 | 3964 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1014 | { | ||||||||||||||||||||||||||||||||||||||
| 1015 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1016 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 1017 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1018 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1019 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 1020 | } | ||||||||||||||||||||||||||||||||||||||
| 1021 | 3964 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 1022 | 3964 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1023 | 3964 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1024 | { | ||||||||||||||||||||||||||||||||||||||
| 1025 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 1026 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 1027 | q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 1028 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 1029 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 1030 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1031 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1032 | , q{match_any}, | ||||||||||||||||||||||||||||||||||||||
| 1033 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1034 | } | ||||||||||||||||||||||||||||||||||||||
| 1035 | 3964 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 1036 | 3964 | return $return; | |||||||||||||||||||||||||||||||||||||
| 1037 | } | ||||||||||||||||||||||||||||||||||||||
| 1038 | |||||||||||||||||||||||||||||||||||||||
| 1039 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 1040 | sub Parse::RecDescent::File::System::Globber::match_character | ||||||||||||||||||||||||||||||||||||||
| 1041 | 75394 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_character: called CC=29 SCAR=37.8
| |||||||||||||||||||||||||||||||||||||||
| 1042 | 75394 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 1043 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 1044 | 75394 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 1045 | 75394 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 1046 | 75394 | my $thisrule = $thisparser->{"rules"}{"match_character"}; | |||||||||||||||||||||||||||||||||||||
| 1047 | |||||||||||||||||||||||||||||||||||||||
| 1048 | 75394 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_character]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1049 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1050 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1051 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1052 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1053 | |||||||||||||||||||||||||||||||||||||||
| 1054 | |||||||||||||||||||||||||||||||||||||||
| 1055 | 75394 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 1056 | |||||||||||||||||||||||||||||||||||||||
| 1057 | 75394 | my $score; | |||||||||||||||||||||||||||||||||||||
| 1058 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 1059 | 75394 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 1060 | 75394 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 1061 | 75394 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 1062 | 75394 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 1063 | 75394 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 1064 | 75394 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 1065 | 75394 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 1066 | 75394 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 1067 | 75394 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1068 | 75394 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 1069 | 75394 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1070 | 75394 | my $text; | |||||||||||||||||||||||||||||||||||||
| 1071 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 1072 | 75394 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 1073 | 75394 | my $expectation = new Parse::RecDescent::Expectation(q{/./}); | |||||||||||||||||||||||||||||||||||||
| 1074 | 75394 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 1075 | |||||||||||||||||||||||||||||||||||||||
| 1076 | 75394 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 1077 | 75394 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 1078 | |||||||||||||||||||||||||||||||||||||||
| 1079 | |||||||||||||||||||||||||||||||||||||||
| 1080 | |||||||||||||||||||||||||||||||||||||||
| 1081 | 75394 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1082 | { | ||||||||||||||||||||||||||||||||||||||
| 1083 | |||||||||||||||||||||||||||||||||||||||
| 1084 | 75394 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/./]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1085 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1086 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1087 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1088 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1089 | 75394 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 1090 | 75394 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1091 | 75394 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1092 | 75394 | @item = (q{match_character}); | |||||||||||||||||||||||||||||||||||||
| 1093 | 75394 | %item = (__RULE__ => q{match_character}); | |||||||||||||||||||||||||||||||||||||
| 1094 | 75394 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1095 | |||||||||||||||||||||||||||||||||||||||
| 1096 | |||||||||||||||||||||||||||||||||||||||
| 1097 | 75394 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/./]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1098 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1099 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1100 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1101 | 75394 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1102 | 75394 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1103 | |||||||||||||||||||||||||||||||||||||||
| 1104 | |||||||||||||||||||||||||||||||||||||||
| 1105 | 75394 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:.)/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:.)/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:.)/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:.)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:.)/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1106 | { | ||||||||||||||||||||||||||||||||||||||
| 1107 | 18229 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1108 | 18229 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1109 | 18229 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1110 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1111 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1112 | |||||||||||||||||||||||||||||||||||||||
| 1113 | 18229 | last; | |||||||||||||||||||||||||||||||||||||
| 1114 | } | ||||||||||||||||||||||||||||||||||||||
| 1115 | 57165 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1116 | 57165 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1117 | 57165 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1118 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1119 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1120 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1121 | 57165 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1122 | |||||||||||||||||||||||||||||||||||||||
| 1123 | |||||||||||||||||||||||||||||||||||||||
| 1124 | 57165 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1125 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1126 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1127 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1128 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1129 | |||||||||||||||||||||||||||||||||||||||
| 1130 | |||||||||||||||||||||||||||||||||||||||
| 1131 | 57165 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = bless { character => $item[1] }, 'File::System::Glob::MatchCharacter' }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1132 | 57165 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1133 | { | ||||||||||||||||||||||||||||||||||||||
| 1134 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1135 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1136 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1137 | } | ||||||||||||||||||||||||||||||||||||||
| 1138 | 57165 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1139 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1140 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1141 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1142 | 57165 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1143 | 57165 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1144 | |||||||||||||||||||||||||||||||||||||||
| 1145 | |||||||||||||||||||||||||||||||||||||||
| 1146 | 57165 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/./]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1147 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1148 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1149 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1150 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1151 | |||||||||||||||||||||||||||||||||||||||
| 1152 | |||||||||||||||||||||||||||||||||||||||
| 1153 | |||||||||||||||||||||||||||||||||||||||
| 1154 | 57165 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1155 | 57165 | last; | |||||||||||||||||||||||||||||||||||||
| 1156 | } | ||||||||||||||||||||||||||||||||||||||
| 1157 | |||||||||||||||||||||||||||||||||||||||
| 1158 | |||||||||||||||||||||||||||||||||||||||
| 1159 | 75394 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1160 | { | ||||||||||||||||||||||||||||||||||||||
| 1161 | |||||||||||||||||||||||||||||||||||||||
| 1162 | |||||||||||||||||||||||||||||||||||||||
| 1163 | 18229 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 1164 | 18229 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1165 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1166 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1167 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1168 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1169 | 18229 | return undef; | |||||||||||||||||||||||||||||||||||||
| 1170 | } | ||||||||||||||||||||||||||||||||||||||
| 1171 | 57165 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1172 | { | ||||||||||||||||||||||||||||||||||||||
| 1173 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1174 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1175 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1176 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1177 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 1178 | } | ||||||||||||||||||||||||||||||||||||||
| 1179 | 57165 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 1180 | 57165 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1181 | 57165 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1182 | { | ||||||||||||||||||||||||||||||||||||||
| 1183 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 1184 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 1185 | q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1186 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 1187 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 1188 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1189 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1190 | , q{match_character}, | ||||||||||||||||||||||||||||||||||||||
| 1191 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1192 | } | ||||||||||||||||||||||||||||||||||||||
| 1193 | 57165 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 1194 | 57165 | return $return; | |||||||||||||||||||||||||||||||||||||
| 1195 | } | ||||||||||||||||||||||||||||||||||||||
| 1196 | |||||||||||||||||||||||||||||||||||||||
| 1197 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 1198 | sub Parse::RecDescent::File::System::Globber::match_class | ||||||||||||||||||||||||||||||||||||||
| 1199 | 12 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_class: called CC=61 SCAR=53.2
| |||||||||||||||||||||||||||||||||||||||
| 1200 | 12 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 1201 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 1202 | 12 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 1203 | 12 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 1204 | 12 | my $thisrule = $thisparser->{"rules"}{"match_class"}; | |||||||||||||||||||||||||||||||||||||
| 1205 | |||||||||||||||||||||||||||||||||||||||
| 1206 | 12 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_class]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1207 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1208 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1209 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1210 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1211 | |||||||||||||||||||||||||||||||||||||||
| 1212 | |||||||||||||||||||||||||||||||||||||||
| 1213 | 12 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 1214 | |||||||||||||||||||||||||||||||||||||||
| 1215 | 12 | my $score; | |||||||||||||||||||||||||||||||||||||
| 1216 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 1217 | 12 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 1218 | 12 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 1219 | 12 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 1220 | 12 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 1221 | 12 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 1222 | 12 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 1223 | 12 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 1224 | 12 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 1225 | 12 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1226 | 12 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 1227 | 12 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1228 | 12 | my $text; | |||||||||||||||||||||||||||||||||||||
| 1229 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 1230 | 12 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 1231 | 12 | my $expectation = new Parse::RecDescent::Expectation(q{/(.)-(.)/, or /\\\\]/, or /[^\\]]/}); | |||||||||||||||||||||||||||||||||||||
| 1232 | 12 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 1233 | |||||||||||||||||||||||||||||||||||||||
| 1234 | 12 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 1235 | 12 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 1236 | |||||||||||||||||||||||||||||||||||||||
| 1237 | |||||||||||||||||||||||||||||||||||||||
| 1238 | |||||||||||||||||||||||||||||||||||||||
| 1239 | 12 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1240 | { | ||||||||||||||||||||||||||||||||||||||
| 1241 | |||||||||||||||||||||||||||||||||||||||
| 1242 | 12 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/(.)-(.)/]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1243 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1244 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1245 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1246 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1247 | 12 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 1248 | 12 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1249 | 12 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1250 | 12 | @item = (q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1251 | 12 | %item = (__RULE__ => q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1252 | 12 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1253 | |||||||||||||||||||||||||||||||||||||||
| 1254 | |||||||||||||||||||||||||||||||||||||||
| 1255 | 12 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/(.)-(.)/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1256 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1257 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1258 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1259 | 12 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1260 | 12 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1261 | |||||||||||||||||||||||||||||||||||||||
| 1262 | |||||||||||||||||||||||||||||||||||||||
| 1263 | 12 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:(.)-(.))/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(.)-(.))/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(.)-(.))/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:(.)-(.))/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:(.)-(.))/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1264 | { | ||||||||||||||||||||||||||||||||||||||
| 1265 | 10 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1266 | 10 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1267 | 10 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1268 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1269 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1270 | |||||||||||||||||||||||||||||||||||||||
| 1271 | 10 | last; | |||||||||||||||||||||||||||||||||||||
| 1272 | } | ||||||||||||||||||||||||||||||||||||||
| 1273 | 2 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1274 | 2 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1275 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1276 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1277 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1278 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1279 | 2 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1280 | |||||||||||||||||||||||||||||||||||||||
| 1281 | |||||||||||||||||||||||||||||||||||||||
| 1282 | 2 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1283 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1284 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1285 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1286 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1287 | |||||||||||||||||||||||||||||||||||||||
| 1288 | |||||||||||||||||||||||||||||||||||||||
| 1289 | 2 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = [ $1, $2 ] }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1290 | 2 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1291 | { | ||||||||||||||||||||||||||||||||||||||
| 1292 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1293 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1294 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1295 | } | ||||||||||||||||||||||||||||||||||||||
| 1296 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1297 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1298 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1299 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1300 | 2 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1301 | 2 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1302 | |||||||||||||||||||||||||||||||||||||||
| 1303 | |||||||||||||||||||||||||||||||||||||||
| 1304 | 2 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/(.)-(.)/]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1305 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1306 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1307 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1308 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1309 | |||||||||||||||||||||||||||||||||||||||
| 1310 | |||||||||||||||||||||||||||||||||||||||
| 1311 | |||||||||||||||||||||||||||||||||||||||
| 1312 | 2 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1313 | 2 | last; | |||||||||||||||||||||||||||||||||||||
| 1314 | } | ||||||||||||||||||||||||||||||||||||||
| 1315 | |||||||||||||||||||||||||||||||||||||||
| 1316 | |||||||||||||||||||||||||||||||||||||||
| 1317 | 12 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1318 | { | ||||||||||||||||||||||||||||||||||||||
| 1319 | |||||||||||||||||||||||||||||||||||||||
| 1320 | 10 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/\\\\]/]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1321 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1322 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1323 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1324 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1325 | 10 | my $thisprod = $thisrule->{"prods"}[1]; | |||||||||||||||||||||||||||||||||||||
| 1326 | 10 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1327 | 10 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1328 | 10 | @item = (q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1329 | 10 | %item = (__RULE__ => q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1330 | 10 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1331 | |||||||||||||||||||||||||||||||||||||||
| 1332 | |||||||||||||||||||||||||||||||||||||||
| 1333 | 10 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/\\\\]/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1334 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1335 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1336 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1337 | 10 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1338 | 10 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1339 | |||||||||||||||||||||||||||||||||||||||
| 1340 | |||||||||||||||||||||||||||||||||||||||
| 1341 | 10 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:\\])/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\\])/
($lastsep = $1) && ''
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\\])/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:\\])/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:\\])/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1342 | { | ||||||||||||||||||||||||||||||||||||||
| 1343 | 10 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1344 | 10 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1345 | 10 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1346 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1347 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1348 | |||||||||||||||||||||||||||||||||||||||
| 1349 | 10 | last; | |||||||||||||||||||||||||||||||||||||
| 1350 | } | ||||||||||||||||||||||||||||||||||||||
| 1351 | 0 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1352 | 0 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1353 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1354 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1355 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1356 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1357 | 0 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1358 | |||||||||||||||||||||||||||||||||||||||
| 1359 | |||||||||||||||||||||||||||||||||||||||
| 1360 | 0 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1361 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1362 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1363 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1364 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1365 | |||||||||||||||||||||||||||||||||||||||
| 1366 | |||||||||||||||||||||||||||||||||||||||
| 1367 | 0 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = "]" }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1368 | 0 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1369 | { | ||||||||||||||||||||||||||||||||||||||
| 1370 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1371 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1372 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1373 | } | ||||||||||||||||||||||||||||||||||||||
| 1374 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1375 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1376 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1377 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1378 | 0 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1379 | 0 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1380 | |||||||||||||||||||||||||||||||||||||||
| 1381 | |||||||||||||||||||||||||||||||||||||||
| 1382 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/\\\\]/]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1383 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1384 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1385 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1386 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1387 | |||||||||||||||||||||||||||||||||||||||
| 1388 | |||||||||||||||||||||||||||||||||||||||
| 1389 | |||||||||||||||||||||||||||||||||||||||
| 1390 | 0 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1391 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1392 | } | ||||||||||||||||||||||||||||||||||||||
| 1393 | |||||||||||||||||||||||||||||||||||||||
| 1394 | |||||||||||||||||||||||||||||||||||||||
| 1395 | 12 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or $commit
MC/DC50%1/2
$_matched or $commit
$_matched
$commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1396 | { | ||||||||||||||||||||||||||||||||||||||
| 1397 | |||||||||||||||||||||||||||||||||||||||
| 1398 | 10 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/[^\\]]/]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1399 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1400 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1401 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1402 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1403 | 10 | my $thisprod = $thisrule->{"prods"}[2]; | |||||||||||||||||||||||||||||||||||||
| 1404 | 10 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1405 | 10 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1406 | 10 | @item = (q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1407 | 10 | %item = (__RULE__ => q{match_class}); | |||||||||||||||||||||||||||||||||||||
| 1408 | 10 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1409 | |||||||||||||||||||||||||||||||||||||||
| 1410 | |||||||||||||||||||||||||||||||||||||||
| 1411 | 10 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/[^\\]]/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1412 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1413 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1414 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1415 | 10 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1416 | 10 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1417 | |||||||||||||||||||||||||||||||||||||||
| 1418 | |||||||||||||||||||||||||||||||||||||||
| 1419 | 10 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[^\]])/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^\]])/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^\]])/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:[^\]])/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[^\]])/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1420 | { | ||||||||||||||||||||||||||||||||||||||
| 1421 | 4 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1422 | 4 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1423 | 4 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1424 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1425 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1426 | |||||||||||||||||||||||||||||||||||||||
| 1427 | 4 | last; | |||||||||||||||||||||||||||||||||||||
| 1428 | } | ||||||||||||||||||||||||||||||||||||||
| 1429 | 6 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1430 | 6 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1431 | 6 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1432 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1433 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1434 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1435 | 6 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1436 | |||||||||||||||||||||||||||||||||||||||
| 1437 | |||||||||||||||||||||||||||||||||||||||
| 1438 | 6 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1439 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1440 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1441 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1442 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1443 | |||||||||||||||||||||||||||||||||||||||
| 1444 | |||||||||||||||||||||||||||||||||||||||
| 1445 | 6 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = $item[1] }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1446 | 6 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1447 | { | ||||||||||||||||||||||||||||||||||||||
| 1448 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1449 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1450 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1451 | } | ||||||||||||||||||||||||||||||||||||||
| 1452 | 6 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1453 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1454 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1455 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1456 | 6 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1457 | 6 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1458 | |||||||||||||||||||||||||||||||||||||||
| 1459 | |||||||||||||||||||||||||||||||||||||||
| 1460 | 6 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/[^\\]]/]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1461 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1462 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1463 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1464 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1465 | |||||||||||||||||||||||||||||||||||||||
| 1466 | |||||||||||||||||||||||||||||||||||||||
| 1467 | |||||||||||||||||||||||||||||||||||||||
| 1468 | 6 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1469 | 6 | last; | |||||||||||||||||||||||||||||||||||||
| 1470 | } | ||||||||||||||||||||||||||||||||||||||
| 1471 | |||||||||||||||||||||||||||||||||||||||
| 1472 | |||||||||||||||||||||||||||||||||||||||
| 1473 | 12 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1474 | { | ||||||||||||||||||||||||||||||||||||||
| 1475 | |||||||||||||||||||||||||||||||||||||||
| 1476 | |||||||||||||||||||||||||||||||||||||||
| 1477 | 4 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 1478 | 4 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1479 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1480 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1481 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1482 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1483 | 4 | return undef; | |||||||||||||||||||||||||||||||||||||
| 1484 | } | ||||||||||||||||||||||||||||||||||||||
| 1485 | 8 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1486 | { | ||||||||||||||||||||||||||||||||||||||
| 1487 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1488 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1489 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1490 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1491 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 1492 | } | ||||||||||||||||||||||||||||||||||||||
| 1493 | 8 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 1494 | 8 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1495 | 8 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1496 | { | ||||||||||||||||||||||||||||||||||||||
| 1497 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 1498 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 1499 | q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1500 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 1501 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 1502 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1503 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1504 | , q{match_class}, | ||||||||||||||||||||||||||||||||||||||
| 1505 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1506 | } | ||||||||||||||||||||||||||||||||||||||
| 1507 | 8 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 1508 | 8 | return $return; | |||||||||||||||||||||||||||||||||||||
| 1509 | } | ||||||||||||||||||||||||||||||||||||||
| 1510 | |||||||||||||||||||||||||||||||||||||||
| 1511 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 1512 | sub Parse::RecDescent::File::System::Globber::match_collection | ||||||||||||||||||||||||||||||||||||||
| 1513 | 75398 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_collection: called CC=40 SCAR=44.8
| |||||||||||||||||||||||||||||||||||||||
| 1514 | 75398 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 1515 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 1516 | 75398 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 1517 | 75398 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 1518 | 75398 | my $thisrule = $thisparser->{"rules"}{"match_collection"}; | |||||||||||||||||||||||||||||||||||||
| 1519 | |||||||||||||||||||||||||||||||||||||||
| 1520 | 75398 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_collection]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1521 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1522 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1523 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1524 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1525 | |||||||||||||||||||||||||||||||||||||||
| 1526 | |||||||||||||||||||||||||||||||||||||||
| 1527 | 75398 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 1528 | |||||||||||||||||||||||||||||||||||||||
| 1529 | 75398 | my $score; | |||||||||||||||||||||||||||||||||||||
| 1530 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 1531 | 75398 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 1532 | 75398 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 1533 | 75398 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 1534 | 75398 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 1535 | 75398 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 1536 | 75398 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 1537 | 75398 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 1538 | 75398 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 1539 | 75398 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1540 | 75398 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 1541 | 75398 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1542 | 75398 | my $text; | |||||||||||||||||||||||||||||||||||||
| 1543 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 1544 | 75398 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 1545 | 75398 | my $expectation = new Parse::RecDescent::Expectation(q{'['}); | |||||||||||||||||||||||||||||||||||||
| 1546 | 75398 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 1547 | |||||||||||||||||||||||||||||||||||||||
| 1548 | 75398 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 1549 | 75398 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 1550 | |||||||||||||||||||||||||||||||||||||||
| 1551 | |||||||||||||||||||||||||||||||||||||||
| 1552 | |||||||||||||||||||||||||||||||||||||||
| 1553 | 75398 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1554 | { | ||||||||||||||||||||||||||||||||||||||
| 1555 | |||||||||||||||||||||||||||||||||||||||
| 1556 | 75398 | ▶ | Parse::RecDescent::_trace(q{Trying production: ['[' match_class ']']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1557 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1558 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1559 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1560 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1561 | 75398 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 1562 | 75398 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1563 | 75398 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1564 | 75398 | @item = (q{match_collection}); | |||||||||||||||||||||||||||||||||||||
| 1565 | 75398 | %item = (__RULE__ => q{match_collection}); | |||||||||||||||||||||||||||||||||||||
| 1566 | 75398 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1567 | |||||||||||||||||||||||||||||||||||||||
| 1568 | |||||||||||||||||||||||||||||||||||||||
| 1569 | 75398 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['[']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1570 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1571 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1572 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1573 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1574 | 75398 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1575 | 75398 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1576 | |||||||||||||||||||||||||||||||||||||||
| 1577 | |||||||||||||||||||||||||||||||||||||||
| 1578 | 75398 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\[/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1579 | { | ||||||||||||||||||||||||||||||||||||||
| 1580 | 75394 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1581 | |||||||||||||||||||||||||||||||||||||||
| 1582 | 75394 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1583 | 75394 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1584 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1585 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1586 | 75394 | last; | |||||||||||||||||||||||||||||||||||||
| 1587 | } | ||||||||||||||||||||||||||||||||||||||
| 1588 | 4 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1589 | 4 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1590 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1591 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1592 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1593 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1594 | 4 | push @item, $item{__STRING1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1595 | |||||||||||||||||||||||||||||||||||||||
| 1596 | |||||||||||||||||||||||||||||||||||||||
| 1597 | 4 | ▶ | Parse::RecDescent::_trace(q{Trying repeated subrule: [match_class]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1598 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1599 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1600 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1601 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1602 | 4 | $expectation->is(q{match_class})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1603 | |||||||||||||||||||||||||||||||||||||||
| 1604 | 4 | ▶ | unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::File::System::Globber::match_class, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef))) | ||||||||||||||||||||||||||||||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1605 | { | ||||||||||||||||||||||||||||||||||||||
| 1606 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [match_class]>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1607 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1608 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1609 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1610 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1611 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1612 | } | ||||||||||||||||||||||||||||||||||||||
| 1613 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched repeated subrule: [match_class]<< (} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1614 | . @$_tok . q{ times)}, | ||||||||||||||||||||||||||||||||||||||
| 1615 | |||||||||||||||||||||||||||||||||||||||
| 1616 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1617 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1618 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1619 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1620 | 4 | $item{q{match_class(s)}} = $_tok; | |||||||||||||||||||||||||||||||||||||
| 1621 | 4 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1622 | |||||||||||||||||||||||||||||||||||||||
| 1623 | |||||||||||||||||||||||||||||||||||||||
| 1624 | |||||||||||||||||||||||||||||||||||||||
| 1625 | 4 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [']']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1626 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1627 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1628 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1629 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1630 | 4 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1631 | 4 | $expectation->is(q{']'})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1632 | |||||||||||||||||||||||||||||||||||||||
| 1633 | |||||||||||||||||||||||||||||||||||||||
| 1634 | 4 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\]/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
($lastsep = $1) && ''
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\]/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\]/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1635 | { | ||||||||||||||||||||||||||||||||||||||
| 1636 | 0 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1637 | |||||||||||||||||||||||||||||||||||||||
| 1638 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1639 | 0 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1640 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1641 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1642 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1643 | } | ||||||||||||||||||||||||||||||||||||||
| 1644 | 4 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1645 | 4 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1646 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1647 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1648 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1649 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1650 | 4 | push @item, $item{__STRING2__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1651 | |||||||||||||||||||||||||||||||||||||||
| 1652 | |||||||||||||||||||||||||||||||||||||||
| 1653 | 4 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1654 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1655 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1656 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1657 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1658 | |||||||||||||||||||||||||||||||||||||||
| 1659 | |||||||||||||||||||||||||||||||||||||||
| 1660 | 4 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = bless { classes => $item[2] }, 'File::System::Glob::MatchCollection' }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1661 | 4 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1662 | { | ||||||||||||||||||||||||||||||||||||||
| 1663 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1664 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1665 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1666 | } | ||||||||||||||||||||||||||||||||||||||
| 1667 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1668 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1669 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1670 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1671 | 4 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1672 | 4 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1673 | |||||||||||||||||||||||||||||||||||||||
| 1674 | |||||||||||||||||||||||||||||||||||||||
| 1675 | 4 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: ['[' match_class ']']<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1676 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1677 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1678 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1679 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1680 | |||||||||||||||||||||||||||||||||||||||
| 1681 | |||||||||||||||||||||||||||||||||||||||
| 1682 | |||||||||||||||||||||||||||||||||||||||
| 1683 | 4 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1684 | 4 | last; | |||||||||||||||||||||||||||||||||||||
| 1685 | } | ||||||||||||||||||||||||||||||||||||||
| 1686 | |||||||||||||||||||||||||||||||||||||||
| 1687 | |||||||||||||||||||||||||||||||||||||||
| 1688 | 75398 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1689 | { | ||||||||||||||||||||||||||||||||||||||
| 1690 | |||||||||||||||||||||||||||||||||||||||
| 1691 | |||||||||||||||||||||||||||||||||||||||
| 1692 | 75394 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 1693 | 75394 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1694 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1695 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1696 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1697 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1698 | 75394 | return undef; | |||||||||||||||||||||||||||||||||||||
| 1699 | } | ||||||||||||||||||||||||||||||||||||||
| 1700 | 4 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1701 | { | ||||||||||||||||||||||||||||||||||||||
| 1702 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1703 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1704 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1705 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1706 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 1707 | } | ||||||||||||||||||||||||||||||||||||||
| 1708 | 4 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 1709 | 4 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1710 | 4 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1711 | { | ||||||||||||||||||||||||||||||||||||||
| 1712 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 1713 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 1714 | q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1715 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 1716 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 1717 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1718 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1719 | , q{match_collection}, | ||||||||||||||||||||||||||||||||||||||
| 1720 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1721 | } | ||||||||||||||||||||||||||||||||||||||
| 1722 | 4 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 1723 | 4 | return $return; | |||||||||||||||||||||||||||||||||||||
| 1724 | } | ||||||||||||||||||||||||||||||||||||||
| 1725 | |||||||||||||||||||||||||||||||||||||||
| 1726 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 1727 | sub Parse::RecDescent::File::System::Globber::match_one | ||||||||||||||||||||||||||||||||||||||
| 1728 | 82138 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_one: called CC=29 SCAR=37.8
| |||||||||||||||||||||||||||||||||||||||
| 1729 | 82138 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 1730 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 1731 | 82138 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 1732 | 82138 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 1733 | 82138 | my $thisrule = $thisparser->{"rules"}{"match_one"}; | |||||||||||||||||||||||||||||||||||||
| 1734 | |||||||||||||||||||||||||||||||||||||||
| 1735 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_one]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1736 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1737 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1738 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1739 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1740 | |||||||||||||||||||||||||||||||||||||||
| 1741 | |||||||||||||||||||||||||||||||||||||||
| 1742 | 82138 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 1743 | |||||||||||||||||||||||||||||||||||||||
| 1744 | 82138 | my $score; | |||||||||||||||||||||||||||||||||||||
| 1745 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 1746 | 82138 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 1747 | 82138 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 1748 | 82138 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 1749 | 82138 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 1750 | 82138 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 1751 | 82138 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 1752 | 82138 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 1753 | 82138 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 1754 | 82138 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1755 | 82138 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 1756 | 82138 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1757 | 82138 | my $text; | |||||||||||||||||||||||||||||||||||||
| 1758 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 1759 | 82138 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 1760 | 82138 | my $expectation = new Parse::RecDescent::Expectation(q{'?'}); | |||||||||||||||||||||||||||||||||||||
| 1761 | 82138 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 1762 | |||||||||||||||||||||||||||||||||||||||
| 1763 | 82138 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 1764 | 82138 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 1765 | |||||||||||||||||||||||||||||||||||||||
| 1766 | |||||||||||||||||||||||||||||||||||||||
| 1767 | |||||||||||||||||||||||||||||||||||||||
| 1768 | 82138 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1769 | { | ||||||||||||||||||||||||||||||||||||||
| 1770 | |||||||||||||||||||||||||||||||||||||||
| 1771 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying production: ['?']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1772 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1773 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1774 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1775 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1776 | 82138 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 1777 | 82138 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1778 | 82138 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1779 | 82138 | @item = (q{match_one}); | |||||||||||||||||||||||||||||||||||||
| 1780 | 82138 | %item = (__RULE__ => q{match_one}); | |||||||||||||||||||||||||||||||||||||
| 1781 | 82138 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1782 | |||||||||||||||||||||||||||||||||||||||
| 1783 | |||||||||||||||||||||||||||||||||||||||
| 1784 | 82138 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: ['?']}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1785 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1786 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1787 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1788 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1789 | 82138 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1790 | 82138 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1791 | |||||||||||||||||||||||||||||||||||||||
| 1792 | |||||||||||||||||||||||||||||||||||||||
| 1793 | 82138 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\?/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\?/
($lastsep = $1) && ''
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A\?/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A\?/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\?/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1794 | { | ||||||||||||||||||||||||||||||||||||||
| 1795 | 80288 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1796 | |||||||||||||||||||||||||||||||||||||||
| 1797 | 80288 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1798 | 80288 | ▶ | Parse::RecDescent::_trace(qq{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1799 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1800 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1801 | 80288 | last; | |||||||||||||||||||||||||||||||||||||
| 1802 | } | ||||||||||||||||||||||||||||||||||||||
| 1803 | 1850 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1804 | 1850 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1805 | 1850 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1806 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1807 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1808 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1809 | 1850 | push @item, $item{__STRING1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1810 | |||||||||||||||||||||||||||||||||||||||
| 1811 | |||||||||||||||||||||||||||||||||||||||
| 1812 | 1850 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1813 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1814 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1815 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1816 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1817 | |||||||||||||||||||||||||||||||||||||||
| 1818 | |||||||||||||||||||||||||||||||||||||||
| 1819 | 1850 | ▶ | $_tok = ($_noactions) ? 0 : do { $return = bless {}, 'File::System::Glob::MatchOne' }; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1820 | 1850 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1821 | { | ||||||||||||||||||||||||||||||||||||||
| 1822 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1823 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1824 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1825 | } | ||||||||||||||||||||||||||||||||||||||
| 1826 | 1850 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1827 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1828 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1829 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1830 | 1850 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1831 | 1850 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1832 | |||||||||||||||||||||||||||||||||||||||
| 1833 | |||||||||||||||||||||||||||||||||||||||
| 1834 | 1850 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: ['?']<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1835 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1836 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1837 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1838 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1839 | |||||||||||||||||||||||||||||||||||||||
| 1840 | |||||||||||||||||||||||||||||||||||||||
| 1841 | |||||||||||||||||||||||||||||||||||||||
| 1842 | 1850 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 1843 | 1850 | last; | |||||||||||||||||||||||||||||||||||||
| 1844 | } | ||||||||||||||||||||||||||||||||||||||
| 1845 | |||||||||||||||||||||||||||||||||||||||
| 1846 | |||||||||||||||||||||||||||||||||||||||
| 1847 | 82138 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition66%2/3
$_matched or defined $score
MC/DC50%1/2
$_matched or defined $score
$_matched
defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1848 | { | ||||||||||||||||||||||||||||||||||||||
| 1849 | |||||||||||||||||||||||||||||||||||||||
| 1850 | |||||||||||||||||||||||||||||||||||||||
| 1851 | 80288 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 1852 | 80288 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1853 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1854 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1855 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1856 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1857 | 80288 | return undef; | |||||||||||||||||||||||||||||||||||||
| 1858 | } | ||||||||||||||||||||||||||||||||||||||
| 1859 | 1850 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 1860 | { | ||||||||||||||||||||||||||||||||||||||
| 1861 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1862 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1863 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1864 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1865 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 1866 | } | ||||||||||||||||||||||||||||||||||||||
| 1867 | 1850 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 1868 | 1850 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1869 | 1850 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1870 | { | ||||||||||||||||||||||||||||||||||||||
| 1871 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 1872 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 1873 | q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1874 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 1875 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 1876 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1877 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1878 | , q{match_one}, | ||||||||||||||||||||||||||||||||||||||
| 1879 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1880 | } | ||||||||||||||||||||||||||||||||||||||
| 1881 | 1850 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 1882 | 1850 | return $return; | |||||||||||||||||||||||||||||||||||||
| 1883 | } | ||||||||||||||||||||||||||||||||||||||
| 1884 | |||||||||||||||||||||||||||||||||||||||
| 1885 | # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos) | ||||||||||||||||||||||||||||||||||||||
| 1886 | sub Parse::RecDescent::File::System::Globber::match_option | ||||||||||||||||||||||||||||||||||||||
| 1887 | 1854 | ▶ | { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
match_option: called CC=29 SCAR=41.9
| |||||||||||||||||||||||||||||||||||||||
| 1888 | 1854 | my $thisparser = $_[0]; | |||||||||||||||||||||||||||||||||||||
| 1889 | 8 | ▶ | use vars q{$tracelevel}; | ||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||
| 1890 | 1854 | ▶ | local $tracelevel = ($tracelevel||0)+1; | ||||||||||||||||||||||||||||||||||||
|
Condition50%1/2
$Parse::RecDescent::File::System::Globber::tracelevel || 0
MC/DC0%0/1
$Parse::RecDescent::File::System::Globber::tracelevel || 0
$Parse::RecDescent::File::System::Globber::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::File::System::Globber::tracelevel
| |||||||||||||||||||||||||||||||||||||||
| 1891 | 1854 | $ERRORS = 0; | |||||||||||||||||||||||||||||||||||||
| 1892 | 1854 | my $thisrule = $thisparser->{"rules"}{"match_option"}; | |||||||||||||||||||||||||||||||||||||
| 1893 | |||||||||||||||||||||||||||||||||||||||
| 1894 | 1854 | ▶ | Parse::RecDescent::_trace(q{Trying rule: [match_option]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1895 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1896 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 1897 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1898 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1899 | |||||||||||||||||||||||||||||||||||||||
| 1900 | |||||||||||||||||||||||||||||||||||||||
| 1901 | 1854 | my $err_at = @{$thisparser->{errors}}; | |||||||||||||||||||||||||||||||||||||
| 1902 | |||||||||||||||||||||||||||||||||||||||
| 1903 | 1854 | my $score; | |||||||||||||||||||||||||||||||||||||
| 1904 | my $score_return; | ||||||||||||||||||||||||||||||||||||||
| 1905 | 1854 | my $_tok; | |||||||||||||||||||||||||||||||||||||
| 1906 | 1854 | my $return = undef; | |||||||||||||||||||||||||||||||||||||
| 1907 | 1854 | my $_matched=0; | |||||||||||||||||||||||||||||||||||||
| 1908 | 1854 | my $commit=0; | |||||||||||||||||||||||||||||||||||||
| 1909 | 1854 | my @item = (); | |||||||||||||||||||||||||||||||||||||
| 1910 | 1854 | my %item = (); | |||||||||||||||||||||||||||||||||||||
| 1911 | 1854 | my $repeating = $_[2]; | |||||||||||||||||||||||||||||||||||||
| 1912 | 1854 | my $_noactions = $_[3]; | |||||||||||||||||||||||||||||||||||||
| 1913 | 1854 | ▶ | my @arg = defined $_[4] ? @{ &{$_[4]} } : (); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1914 | 1854 | my $_itempos = $_[5]; | |||||||||||||||||||||||||||||||||||||
| 1915 | 1854 | ▶ | my %arg = ($#arg & 01) ? @arg : (@arg, undef); | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1916 | 1854 | my $text; | |||||||||||||||||||||||||||||||||||||
| 1917 | my $lastsep; | ||||||||||||||||||||||||||||||||||||||
| 1918 | 1854 | my $current_match; | |||||||||||||||||||||||||||||||||||||
| 1919 | 1854 | my $expectation = new Parse::RecDescent::Expectation(q{/(?:[^,\\\}\\\\]|\\\\\}|\\\\,|\\\\)+/}); | |||||||||||||||||||||||||||||||||||||
| 1920 | 1854 | $expectation->at($_[1]); | |||||||||||||||||||||||||||||||||||||
| 1921 | |||||||||||||||||||||||||||||||||||||||
| 1922 | 1854 | my $thisline; | |||||||||||||||||||||||||||||||||||||
| 1923 | 1854 | tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser; | |||||||||||||||||||||||||||||||||||||
| 1924 | |||||||||||||||||||||||||||||||||||||||
| 1925 | |||||||||||||||||||||||||||||||||||||||
| 1926 | |||||||||||||||||||||||||||||||||||||||
| 1927 | 1854 | ▶ | while (!$_matched && !$commit) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or $commit
MC/DC0%0/2
$_matched or $commit
$_matched
$commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
| |||||||||||||||||||||||||||||||||||||||
| 1928 | { | ||||||||||||||||||||||||||||||||||||||
| 1929 | |||||||||||||||||||||||||||||||||||||||
| 1930 | 1854 | ▶ | Parse::RecDescent::_trace(q{Trying production: [/(?:[^,\\\}\\\\]|\\\\\}|\\\\,|\\\\)+/]}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1931 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 1932 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 1933 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1934 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1935 | 1854 | my $thisprod = $thisrule->{"prods"}[0]; | |||||||||||||||||||||||||||||||||||||
| 1936 | 1854 | $text = $_[1]; | |||||||||||||||||||||||||||||||||||||
| 1937 | 1854 | my $_savetext; | |||||||||||||||||||||||||||||||||||||
| 1938 | 1854 | @item = (q{match_option}); | |||||||||||||||||||||||||||||||||||||
| 1939 | 1854 | %item = (__RULE__ => q{match_option}); | |||||||||||||||||||||||||||||||||||||
| 1940 | 1854 | my $repcount = 0; | |||||||||||||||||||||||||||||||||||||
| 1941 | |||||||||||||||||||||||||||||||||||||||
| 1942 | |||||||||||||||||||||||||||||||||||||||
| 1943 | 1854 | ▶ | Parse::RecDescent::_trace(q{Trying terminal: [/(?:[^,\\\}\\\\]|\\\\\}|\\\\,|\\\\)+/]}, Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1944 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 1945 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1946 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1947 | 1854 | undef $lastsep; | |||||||||||||||||||||||||||||||||||||
| 1948 | 1854 | $expectation->is(q{})->at($text); | |||||||||||||||||||||||||||||||||||||
| 1949 | |||||||||||||||||||||||||||||||||||||||
| 1950 | |||||||||||||||||||||||||||||||||||||||
| 1951 | 1854 | ▶ | unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:(?:[^,\}\\]|\\}|\\,|\\)+)/) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(?:[^,\}\\]|\\}|\\,|\\)+)/
($lastsep = $1) && ''
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(?:[^,\}\\]|\\}|\\,|\\)+)/
$text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/e
$text =~ /\A(?:(?:[^,\}\\]|\\}|\\,|\\)+)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::File::System::Globber::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:(?:[^,\}\\]|\\}|\\,|\\)+)/
Truth table50%1/2
A
A= ($lastsep = $1)
| |||||||||||||||||||||||||||||||||||||||
| 1952 | { | ||||||||||||||||||||||||||||||||||||||
| 1953 | 0 | ▶ | $text = $lastsep . $text if defined $lastsep; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1954 | 0 | $expectation->failed(); | |||||||||||||||||||||||||||||||||||||
| 1955 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match terminal>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1956 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1957 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1958 | |||||||||||||||||||||||||||||||||||||||
| 1959 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1960 | } | ||||||||||||||||||||||||||||||||||||||
| 1961 | 1854 | $current_match = substr($text, $-[0], $+[0] - $-[0]); | |||||||||||||||||||||||||||||||||||||
| 1962 | 1854 | substr($text,0,length($current_match),q{}); | |||||||||||||||||||||||||||||||||||||
| 1963 | 1854 | ▶ | Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1964 | . $current_match . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1965 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1966 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1967 | 1854 | push @item, $item{__PATTERN1__}=$current_match; | |||||||||||||||||||||||||||||||||||||
| 1968 | |||||||||||||||||||||||||||||||||||||||
| 1969 | |||||||||||||||||||||||||||||||||||||||
| 1970 | 1854 | ▶ | Parse::RecDescent::_trace(q{Trying action}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1971 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1972 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 1973 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 1974 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1975 | |||||||||||||||||||||||||||||||||||||||
| 1976 | |||||||||||||||||||||||||||||||||||||||
| 1977 | 1854 | ▶ | $_tok = ($_noactions) ? 0 : do { local $_ = $item[1]; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1978 | 1854 | s/\\}/}/g; | |||||||||||||||||||||||||||||||||||||
| 1979 | 1854 | s/\\,/,/g; | |||||||||||||||||||||||||||||||||||||
| 1980 | 1854 | s/\\\\/\\/g; | |||||||||||||||||||||||||||||||||||||
| 1981 | 1854 | $return = $_ }; | |||||||||||||||||||||||||||||||||||||
| 1982 | 1854 | ▶ | unless (defined $_tok) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1983 | { | ||||||||||||||||||||||||||||||||||||||
| 1984 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])}) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1985 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1986 | 0 | last; | |||||||||||||||||||||||||||||||||||||
| 1987 | } | ||||||||||||||||||||||||||||||||||||||
| 1988 | 1854 | ▶ | Parse::RecDescent::_trace(q{>>Matched action<< (return value: [} | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1989 | . $_tok . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 1990 | Parse::RecDescent::_tracefirst($text)) | ||||||||||||||||||||||||||||||||||||||
| 1991 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 1992 | 1854 | push @item, $_tok; | |||||||||||||||||||||||||||||||||||||
| 1993 | 1854 | $item{__ACTION1__}=$_tok; | |||||||||||||||||||||||||||||||||||||
| 1994 | |||||||||||||||||||||||||||||||||||||||
| 1995 | |||||||||||||||||||||||||||||||||||||||
| 1996 | 1854 | ▶ | Parse::RecDescent::_trace(q{>>Matched production: [/(?:[^,\\\}\\\\]|\\\\\}|\\\\,|\\\\)+/]<<}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 1997 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 1998 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 1999 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 2000 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 2001 | |||||||||||||||||||||||||||||||||||||||
| 2002 | |||||||||||||||||||||||||||||||||||||||
| 2003 | |||||||||||||||||||||||||||||||||||||||
| 2004 | 1854 | $_matched = 1; | |||||||||||||||||||||||||||||||||||||
| 2005 | 1854 | last; | |||||||||||||||||||||||||||||||||||||
| 2006 | } | ||||||||||||||||||||||||||||||||||||||
| 2007 | |||||||||||||||||||||||||||||||||||||||
| 2008 | |||||||||||||||||||||||||||||||||||||||
| 2009 | 1854 | ▶ | unless ( $_matched || defined($score) ) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
$_matched or defined $score
MC/DC0%0/2
$_matched or defined $score
$_matched
defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 2010 | { | ||||||||||||||||||||||||||||||||||||||
| 2011 | |||||||||||||||||||||||||||||||||||||||
| 2012 | |||||||||||||||||||||||||||||||||||||||
| 2013 | 0 | $_[1] = $text; # NOT SURE THIS IS NEEDED | |||||||||||||||||||||||||||||||||||||
| 2014 | 0 | ▶ | Parse::RecDescent::_trace(q{<<Didn't match rule>>}, | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 2015 | Parse::RecDescent::_tracefirst($_[1]), | ||||||||||||||||||||||||||||||||||||||
| 2016 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 2017 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 2018 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 2019 | 0 | return undef; | |||||||||||||||||||||||||||||||||||||
| 2020 | } | ||||||||||||||||||||||||||||||||||||||
| 2021 | 1854 | ▶ | if (!defined($return) && defined($score)) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
Condition33%1/3
not defined $return and defined $score
MC/DC0%0/2
not defined $return and defined $score
not defined $return
defined $score
Truth table33%1/3
not(A) and B
A= not defined $returnB= defined $score
| |||||||||||||||||||||||||||||||||||||||
| 2022 | { | ||||||||||||||||||||||||||||||||||||||
| 2023 | 0 | ▶ | Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "", | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 2024 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 2025 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 2026 | if defined $::RD_TRACE; | ||||||||||||||||||||||||||||||||||||||
| 2027 | 0 | $return = $score_return; | |||||||||||||||||||||||||||||||||||||
| 2028 | } | ||||||||||||||||||||||||||||||||||||||
| 2029 | 1854 | splice @{$thisparser->{errors}}, $err_at; | |||||||||||||||||||||||||||||||||||||
| 2030 | 1854 | ▶ | $return = $item[$#item] unless defined $return; | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 2031 | 1854 | ▶ | if (defined $::RD_TRACE) | ||||||||||||||||||||||||||||||||||||
|
Branch: 1 branch
| |||||||||||||||||||||||||||||||||||||||
| 2032 | { | ||||||||||||||||||||||||||||||||||||||
| 2033 | 0 | Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} . | |||||||||||||||||||||||||||||||||||||
| 2034 | $return . q{])}, "", | ||||||||||||||||||||||||||||||||||||||
| 2035 | q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 2036 | $tracelevel); | ||||||||||||||||||||||||||||||||||||||
| 2037 | 0 | Parse::RecDescent::_trace(q{(consumed: [} . | |||||||||||||||||||||||||||||||||||||
| 2038 | Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])}, | ||||||||||||||||||||||||||||||||||||||
| 2039 | Parse::RecDescent::_tracefirst($text), | ||||||||||||||||||||||||||||||||||||||
| 2040 | , q{match_option}, | ||||||||||||||||||||||||||||||||||||||
| 2041 | $tracelevel) | ||||||||||||||||||||||||||||||||||||||
| 2042 | } | ||||||||||||||||||||||||||||||||||||||
| 2043 | 1854 | $_[1] = $text; | |||||||||||||||||||||||||||||||||||||
| 2044 | 1854 | return $return; | |||||||||||||||||||||||||||||||||||||
| 2045 | } | ||||||||||||||||||||||||||||||||||||||
| 2046 | } | ||||||||||||||||||||||||||||||||||||||
| 2047 | 8 | ▶ | package File::System::Globber; sub new { my $self = bless( { | ||||||||||||||||||||||||||||||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||||||||||||||||||||||||||||
| 2048 | '_AUTOACTION' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2049 | '_AUTOTREE' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2050 | '_check' => { | ||||||||||||||||||||||||||||||||||||||
| 2051 | 'itempos' => !!0, | ||||||||||||||||||||||||||||||||||||||
| 2052 | 'prevcolumn' => !!0, | ||||||||||||||||||||||||||||||||||||||
| 2053 | 'prevline' => !!0, | ||||||||||||||||||||||||||||||||||||||
| 2054 | 'prevoffset' => !!0, | ||||||||||||||||||||||||||||||||||||||
| 2055 | 'thiscolumn' => !!0, | ||||||||||||||||||||||||||||||||||||||
| 2056 | 'thisoffset' => !!0 | ||||||||||||||||||||||||||||||||||||||
| 2057 | }, | ||||||||||||||||||||||||||||||||||||||
| 2058 | 'localvars' => '', | ||||||||||||||||||||||||||||||||||||||
| 2059 | 'namespace' => 'Parse::RecDescent::File::System::Globber', | ||||||||||||||||||||||||||||||||||||||
| 2060 | 'rules' => { | ||||||||||||||||||||||||||||||||||||||
| 2061 | 'glob' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2062 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||
| 2063 | 'match' | ||||||||||||||||||||||||||||||||||||||
| 2064 | ], | ||||||||||||||||||||||||||||||||||||||
| 2065 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2066 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2067 | 'line' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2068 | 'name' => 'glob', | ||||||||||||||||||||||||||||||||||||||
| 2069 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2070 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2071 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2072 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2073 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2074 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2075 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2076 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2077 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2078 | 'expected' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2079 | 'line' => 2, | ||||||||||||||||||||||||||||||||||||||
| 2080 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2081 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2082 | 'max' => 100000000, | ||||||||||||||||||||||||||||||||||||||
| 2083 | 'min' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2084 | 'repspec' => 's', | ||||||||||||||||||||||||||||||||||||||
| 2085 | 'subrule' => 'match' | ||||||||||||||||||||||||||||||||||||||
| 2086 | }, 'Parse::RecDescent::Repetition' ) | ||||||||||||||||||||||||||||||||||||||
| 2087 | ], | ||||||||||||||||||||||||||||||||||||||
| 2088 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2089 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2090 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2091 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2092 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2093 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2094 | ], | ||||||||||||||||||||||||||||||||||||||
| 2095 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2096 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2097 | 'match' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2098 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||
| 2099 | 'match_one', | ||||||||||||||||||||||||||||||||||||||
| 2100 | 'match_any', | ||||||||||||||||||||||||||||||||||||||
| 2101 | 'match_alternative', | ||||||||||||||||||||||||||||||||||||||
| 2102 | 'match_collection', | ||||||||||||||||||||||||||||||||||||||
| 2103 | 'match_character' | ||||||||||||||||||||||||||||||||||||||
| 2104 | ], | ||||||||||||||||||||||||||||||||||||||
| 2105 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2106 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2107 | 'line' => 4, | ||||||||||||||||||||||||||||||||||||||
| 2108 | 'name' => 'match', | ||||||||||||||||||||||||||||||||||||||
| 2109 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2110 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2111 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2112 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2113 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2114 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2115 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2116 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2117 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2118 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2119 | 'line' => 4, | ||||||||||||||||||||||||||||||||||||||
| 2120 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2121 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2122 | 'subrule' => 'match_one' | ||||||||||||||||||||||||||||||||||||||
| 2123 | }, 'Parse::RecDescent::Subrule' ) | ||||||||||||||||||||||||||||||||||||||
| 2124 | ], | ||||||||||||||||||||||||||||||||||||||
| 2125 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2126 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2127 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2128 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2129 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2130 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2131 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2132 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2133 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2134 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2135 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2136 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2137 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2138 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2139 | 'line' => 5, | ||||||||||||||||||||||||||||||||||||||
| 2140 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2141 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2142 | 'subrule' => 'match_any' | ||||||||||||||||||||||||||||||||||||||
| 2143 | }, 'Parse::RecDescent::Subrule' ) | ||||||||||||||||||||||||||||||||||||||
| 2144 | ], | ||||||||||||||||||||||||||||||||||||||
| 2145 | 'line' => 5, | ||||||||||||||||||||||||||||||||||||||
| 2146 | 'number' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2147 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2148 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2149 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2150 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2151 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2152 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2153 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2154 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2155 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2156 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2157 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2158 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2159 | 'line' => 6, | ||||||||||||||||||||||||||||||||||||||
| 2160 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2161 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2162 | 'subrule' => 'match_alternative' | ||||||||||||||||||||||||||||||||||||||
| 2163 | }, 'Parse::RecDescent::Subrule' ) | ||||||||||||||||||||||||||||||||||||||
| 2164 | ], | ||||||||||||||||||||||||||||||||||||||
| 2165 | 'line' => 6, | ||||||||||||||||||||||||||||||||||||||
| 2166 | 'number' => 2, | ||||||||||||||||||||||||||||||||||||||
| 2167 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2168 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2169 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2170 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2171 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2172 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2173 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2174 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2175 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2176 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2177 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2178 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2179 | 'line' => 7, | ||||||||||||||||||||||||||||||||||||||
| 2180 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2181 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2182 | 'subrule' => 'match_collection' | ||||||||||||||||||||||||||||||||||||||
| 2183 | }, 'Parse::RecDescent::Subrule' ) | ||||||||||||||||||||||||||||||||||||||
| 2184 | ], | ||||||||||||||||||||||||||||||||||||||
| 2185 | 'line' => 7, | ||||||||||||||||||||||||||||||||||||||
| 2186 | 'number' => 3, | ||||||||||||||||||||||||||||||||||||||
| 2187 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2188 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2189 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2190 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2191 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2192 | 'actcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2193 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2194 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2195 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2196 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2197 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2198 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2199 | 'line' => 8, | ||||||||||||||||||||||||||||||||||||||
| 2200 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2201 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2202 | 'subrule' => 'match_character' | ||||||||||||||||||||||||||||||||||||||
| 2203 | }, 'Parse::RecDescent::Subrule' ) | ||||||||||||||||||||||||||||||||||||||
| 2204 | ], | ||||||||||||||||||||||||||||||||||||||
| 2205 | 'line' => 8, | ||||||||||||||||||||||||||||||||||||||
| 2206 | 'number' => 4, | ||||||||||||||||||||||||||||||||||||||
| 2207 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2208 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2209 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2210 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2211 | ], | ||||||||||||||||||||||||||||||||||||||
| 2212 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2213 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2214 | 'match_alternative' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2215 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||
| 2216 | 'match_option' | ||||||||||||||||||||||||||||||||||||||
| 2217 | ], | ||||||||||||||||||||||||||||||||||||||
| 2218 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2219 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2220 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2221 | 'name' => 'match_alternative', | ||||||||||||||||||||||||||||||||||||||
| 2222 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2223 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2224 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2225 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2226 | 'dircount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2227 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2228 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2229 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2230 | 'description' => '\'\\{\'', | ||||||||||||||||||||||||||||||||||||||
| 2231 | 'hashname' => '__STRING1__', | ||||||||||||||||||||||||||||||||||||||
| 2232 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2233 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2234 | 'pattern' => '{' | ||||||||||||||||||||||||||||||||||||||
| 2235 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2236 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2237 | 'expected' => '<leftop: match_option /,/ match_option>', | ||||||||||||||||||||||||||||||||||||||
| 2238 | 'hashname' => '__DIRECTIVE1__', | ||||||||||||||||||||||||||||||||||||||
| 2239 | 'leftarg' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2240 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2241 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2242 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2243 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2244 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2245 | 'subrule' => 'match_option' | ||||||||||||||||||||||||||||||||||||||
| 2246 | }, 'Parse::RecDescent::Subrule' ), | ||||||||||||||||||||||||||||||||||||||
| 2247 | 'max' => 100000000, | ||||||||||||||||||||||||||||||||||||||
| 2248 | 'min' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2249 | 'name' => '\'match_option(s)\'', | ||||||||||||||||||||||||||||||||||||||
| 2250 | 'op' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2251 | 'description' => '/,/', | ||||||||||||||||||||||||||||||||||||||
| 2252 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2253 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2254 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2255 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2256 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2257 | 'pattern' => ',', | ||||||||||||||||||||||||||||||||||||||
| 2258 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2259 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2260 | 'rightarg' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2261 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2262 | 'implicit' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2263 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2264 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2265 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2266 | 'subrule' => 'match_option' | ||||||||||||||||||||||||||||||||||||||
| 2267 | }, 'Parse::RecDescent::Subrule' ), | ||||||||||||||||||||||||||||||||||||||
| 2268 | 'type' => 'leftop' | ||||||||||||||||||||||||||||||||||||||
| 2269 | }, 'Parse::RecDescent::Operator' ), | ||||||||||||||||||||||||||||||||||||||
| 2270 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2271 | 'description' => '\'\\}\'', | ||||||||||||||||||||||||||||||||||||||
| 2272 | 'hashname' => '__STRING2__', | ||||||||||||||||||||||||||||||||||||||
| 2273 | 'line' => 16, | ||||||||||||||||||||||||||||||||||||||
| 2274 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2275 | 'pattern' => '}' | ||||||||||||||||||||||||||||||||||||||
| 2276 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2277 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2278 | 'code' => '{ $return = bless { alternatives => $item[2] }, \'File::System::Glob::MatchAlternative\' }', | ||||||||||||||||||||||||||||||||||||||
| 2279 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2280 | 'line' => 17, | ||||||||||||||||||||||||||||||||||||||
| 2281 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2282 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2283 | ], | ||||||||||||||||||||||||||||||||||||||
| 2284 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2285 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2286 | 'op' => [], | ||||||||||||||||||||||||||||||||||||||
| 2287 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2288 | 'strcount' => 2, | ||||||||||||||||||||||||||||||||||||||
| 2289 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2290 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2291 | ], | ||||||||||||||||||||||||||||||||||||||
| 2292 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2293 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2294 | 'match_any' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2295 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||
| 2296 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2297 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2298 | 'line' => 13, | ||||||||||||||||||||||||||||||||||||||
| 2299 | 'name' => 'match_any', | ||||||||||||||||||||||||||||||||||||||
| 2300 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2301 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2302 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2303 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2304 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2305 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2306 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2307 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2308 | 'description' => '\'*\'', | ||||||||||||||||||||||||||||||||||||||
| 2309 | 'hashname' => '__STRING1__', | ||||||||||||||||||||||||||||||||||||||
| 2310 | 'line' => 13, | ||||||||||||||||||||||||||||||||||||||
| 2311 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2312 | 'pattern' => '*' | ||||||||||||||||||||||||||||||||||||||
| 2313 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2314 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2315 | 'code' => '{ $return = bless {}, \'File::System::Glob::MatchAny\' }', | ||||||||||||||||||||||||||||||||||||||
| 2316 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2317 | 'line' => 14, | ||||||||||||||||||||||||||||||||||||||
| 2318 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2319 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2320 | ], | ||||||||||||||||||||||||||||||||||||||
| 2321 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2322 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2323 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2324 | 'strcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2325 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2326 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2327 | ], | ||||||||||||||||||||||||||||||||||||||
| 2328 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2329 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2330 | 'match_character' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2331 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||
| 2332 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2333 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2334 | 'line' => 36, | ||||||||||||||||||||||||||||||||||||||
| 2335 | 'name' => 'match_character', | ||||||||||||||||||||||||||||||||||||||
| 2336 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2337 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2338 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2339 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2340 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2341 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2342 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2343 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2344 | 'description' => '/./', | ||||||||||||||||||||||||||||||||||||||
| 2345 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2346 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2347 | 'line' => 36, | ||||||||||||||||||||||||||||||||||||||
| 2348 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2349 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2350 | 'pattern' => '.', | ||||||||||||||||||||||||||||||||||||||
| 2351 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2352 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2353 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2354 | 'code' => '{ $return = bless { character => $item[1] }, \'File::System::Glob::MatchCharacter\' }', | ||||||||||||||||||||||||||||||||||||||
| 2355 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2356 | 'line' => 37, | ||||||||||||||||||||||||||||||||||||||
| 2357 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2358 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2359 | ], | ||||||||||||||||||||||||||||||||||||||
| 2360 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2361 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2362 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2363 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2364 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2365 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2366 | ], | ||||||||||||||||||||||||||||||||||||||
| 2367 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2368 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2369 | 'match_class' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2370 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||
| 2371 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2372 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2373 | 'line' => 29, | ||||||||||||||||||||||||||||||||||||||
| 2374 | 'name' => 'match_class', | ||||||||||||||||||||||||||||||||||||||
| 2375 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2376 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2377 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2378 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2379 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2380 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2381 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2382 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2383 | 'description' => '/(.)-(.)/', | ||||||||||||||||||||||||||||||||||||||
| 2384 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2385 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2386 | 'line' => 29, | ||||||||||||||||||||||||||||||||||||||
| 2387 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2388 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2389 | 'pattern' => '(.)-(.)', | ||||||||||||||||||||||||||||||||||||||
| 2390 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2391 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2392 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2393 | 'code' => '{ $return = [ $1, $2 ] }', | ||||||||||||||||||||||||||||||||||||||
| 2394 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2395 | 'line' => 30, | ||||||||||||||||||||||||||||||||||||||
| 2396 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2397 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2398 | ], | ||||||||||||||||||||||||||||||||||||||
| 2399 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2400 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2401 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2402 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2403 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2404 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2405 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2406 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2407 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2408 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2409 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2410 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2411 | 'description' => '/\\\\\\\\]/', | ||||||||||||||||||||||||||||||||||||||
| 2412 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2413 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2414 | 'line' => 31, | ||||||||||||||||||||||||||||||||||||||
| 2415 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2416 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2417 | 'pattern' => '\\\\]', | ||||||||||||||||||||||||||||||||||||||
| 2418 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2419 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2420 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2421 | 'code' => '{ $return = "]" }', | ||||||||||||||||||||||||||||||||||||||
| 2422 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2423 | 'line' => 32, | ||||||||||||||||||||||||||||||||||||||
| 2424 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2425 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2426 | ], | ||||||||||||||||||||||||||||||||||||||
| 2427 | 'line' => 31, | ||||||||||||||||||||||||||||||||||||||
| 2428 | 'number' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2429 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2430 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2431 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2432 | }, 'Parse::RecDescent::Production' ), | ||||||||||||||||||||||||||||||||||||||
| 2433 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2434 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2435 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2436 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2437 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2438 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2439 | 'description' => '/[^\\\\]]/', | ||||||||||||||||||||||||||||||||||||||
| 2440 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2441 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2442 | 'line' => 33, | ||||||||||||||||||||||||||||||||||||||
| 2443 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2444 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2445 | 'pattern' => '[^\\]]', | ||||||||||||||||||||||||||||||||||||||
| 2446 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2447 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2448 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2449 | 'code' => '{ $return = $item[1] }', | ||||||||||||||||||||||||||||||||||||||
| 2450 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2451 | 'line' => 34, | ||||||||||||||||||||||||||||||||||||||
| 2452 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2453 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2454 | ], | ||||||||||||||||||||||||||||||||||||||
| 2455 | 'line' => 33, | ||||||||||||||||||||||||||||||||||||||
| 2456 | 'number' => 2, | ||||||||||||||||||||||||||||||||||||||
| 2457 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2458 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2459 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2460 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2461 | ], | ||||||||||||||||||||||||||||||||||||||
| 2462 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2463 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2464 | 'match_collection' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2465 | 'calls' => [ | ||||||||||||||||||||||||||||||||||||||
| 2466 | 'match_class' | ||||||||||||||||||||||||||||||||||||||
| 2467 | ], | ||||||||||||||||||||||||||||||||||||||
| 2468 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2469 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2470 | 'line' => 26, | ||||||||||||||||||||||||||||||||||||||
| 2471 | 'name' => 'match_collection', | ||||||||||||||||||||||||||||||||||||||
| 2472 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2473 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2474 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2475 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2476 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2477 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2478 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2479 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2480 | 'description' => '\'[\'', | ||||||||||||||||||||||||||||||||||||||
| 2481 | 'hashname' => '__STRING1__', | ||||||||||||||||||||||||||||||||||||||
| 2482 | 'line' => 26, | ||||||||||||||||||||||||||||||||||||||
| 2483 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2484 | 'pattern' => '[' | ||||||||||||||||||||||||||||||||||||||
| 2485 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2486 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2487 | 'argcode' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2488 | 'expected' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2489 | 'line' => 26, | ||||||||||||||||||||||||||||||||||||||
| 2490 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2491 | 'matchrule' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2492 | 'max' => 100000000, | ||||||||||||||||||||||||||||||||||||||
| 2493 | 'min' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2494 | 'repspec' => 's', | ||||||||||||||||||||||||||||||||||||||
| 2495 | 'subrule' => 'match_class' | ||||||||||||||||||||||||||||||||||||||
| 2496 | }, 'Parse::RecDescent::Repetition' ), | ||||||||||||||||||||||||||||||||||||||
| 2497 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2498 | 'description' => '\']\'', | ||||||||||||||||||||||||||||||||||||||
| 2499 | 'hashname' => '__STRING2__', | ||||||||||||||||||||||||||||||||||||||
| 2500 | 'line' => 26, | ||||||||||||||||||||||||||||||||||||||
| 2501 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2502 | 'pattern' => ']' | ||||||||||||||||||||||||||||||||||||||
| 2503 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2504 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2505 | 'code' => '{ $return = bless { classes => $item[2] }, \'File::System::Glob::MatchCollection\' }', | ||||||||||||||||||||||||||||||||||||||
| 2506 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2507 | 'line' => 27, | ||||||||||||||||||||||||||||||||||||||
| 2508 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2509 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2510 | ], | ||||||||||||||||||||||||||||||||||||||
| 2511 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2512 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2513 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2514 | 'strcount' => 2, | ||||||||||||||||||||||||||||||||||||||
| 2515 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2516 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2517 | ], | ||||||||||||||||||||||||||||||||||||||
| 2518 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2519 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2520 | 'match_one' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2521 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||
| 2522 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2523 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2524 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||
| 2525 | 'name' => 'match_one', | ||||||||||||||||||||||||||||||||||||||
| 2526 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2527 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2528 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2529 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2530 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2531 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2532 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2533 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2534 | 'description' => '\'?\'', | ||||||||||||||||||||||||||||||||||||||
| 2535 | 'hashname' => '__STRING1__', | ||||||||||||||||||||||||||||||||||||||
| 2536 | 'line' => 10, | ||||||||||||||||||||||||||||||||||||||
| 2537 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2538 | 'pattern' => '?' | ||||||||||||||||||||||||||||||||||||||
| 2539 | }, 'Parse::RecDescent::Literal' ), | ||||||||||||||||||||||||||||||||||||||
| 2540 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2541 | 'code' => '{ $return = bless {}, \'File::System::Glob::MatchOne\' }', | ||||||||||||||||||||||||||||||||||||||
| 2542 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2543 | 'line' => 11, | ||||||||||||||||||||||||||||||||||||||
| 2544 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2545 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2546 | ], | ||||||||||||||||||||||||||||||||||||||
| 2547 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2548 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2549 | 'patcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2550 | 'strcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2551 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2552 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2553 | ], | ||||||||||||||||||||||||||||||||||||||
| 2554 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2555 | }, 'Parse::RecDescent::Rule' ), | ||||||||||||||||||||||||||||||||||||||
| 2556 | 'match_option' => bless( { | ||||||||||||||||||||||||||||||||||||||
| 2557 | 'calls' => [], | ||||||||||||||||||||||||||||||||||||||
| 2558 | 'changed' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2559 | 'impcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2560 | 'line' => 19, | ||||||||||||||||||||||||||||||||||||||
| 2561 | 'name' => 'match_option', | ||||||||||||||||||||||||||||||||||||||
| 2562 | 'opcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2563 | 'prods' => [ | ||||||||||||||||||||||||||||||||||||||
| 2564 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2565 | 'actcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2566 | 'dircount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2567 | 'error' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2568 | 'items' => [ | ||||||||||||||||||||||||||||||||||||||
| 2569 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2570 | 'description' => '/(?:[^,\\\\\\}\\\\\\\\]|\\\\\\\\\\}|\\\\\\\\,|\\\\\\\\)+/', | ||||||||||||||||||||||||||||||||||||||
| 2571 | 'hashname' => '__PATTERN1__', | ||||||||||||||||||||||||||||||||||||||
| 2572 | 'ldelim' => '/', | ||||||||||||||||||||||||||||||||||||||
| 2573 | 'line' => 19, | ||||||||||||||||||||||||||||||||||||||
| 2574 | 'lookahead' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2575 | 'mod' => '', | ||||||||||||||||||||||||||||||||||||||
| 2576 | 'pattern' => '(?:[^,\\}\\\\]|\\\\}|\\\\,|\\\\)+', | ||||||||||||||||||||||||||||||||||||||
| 2577 | 'rdelim' => '/' | ||||||||||||||||||||||||||||||||||||||
| 2578 | }, 'Parse::RecDescent::Token' ), | ||||||||||||||||||||||||||||||||||||||
| 2579 | bless( { | ||||||||||||||||||||||||||||||||||||||
| 2580 | 'code' => '{ local $_ = $item[1]; | ||||||||||||||||||||||||||||||||||||||
| 2581 | s/\\\\}/}/g; | ||||||||||||||||||||||||||||||||||||||
| 2582 | s/\\\\,/,/g; | ||||||||||||||||||||||||||||||||||||||
| 2583 | s/\\\\\\\\/\\\\/g; | ||||||||||||||||||||||||||||||||||||||
| 2584 | $return = $_ }', | ||||||||||||||||||||||||||||||||||||||
| 2585 | 'hashname' => '__ACTION1__', | ||||||||||||||||||||||||||||||||||||||
| 2586 | 'line' => 20, | ||||||||||||||||||||||||||||||||||||||
| 2587 | 'lookahead' => 0 | ||||||||||||||||||||||||||||||||||||||
| 2588 | }, 'Parse::RecDescent::Action' ) | ||||||||||||||||||||||||||||||||||||||
| 2589 | ], | ||||||||||||||||||||||||||||||||||||||
| 2590 | 'line' => undef, | ||||||||||||||||||||||||||||||||||||||
| 2591 | 'number' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2592 | 'patcount' => 1, | ||||||||||||||||||||||||||||||||||||||
| 2593 | 'strcount' => 0, | ||||||||||||||||||||||||||||||||||||||
| 2594 | 'uncommit' => undef | ||||||||||||||||||||||||||||||||||||||
| 2595 | }, 'Parse::RecDescent::Production' ) | ||||||||||||||||||||||||||||||||||||||
| 2596 | ], | ||||||||||||||||||||||||||||||||||||||
| 2597 | 'vars' => '' | ||||||||||||||||||||||||||||||||||||||
| 2598 | }, 'Parse::RecDescent::Rule' ) | ||||||||||||||||||||||||||||||||||||||
| 2599 | }, | ||||||||||||||||||||||||||||||||||||||
| 2600 | 'startcode' => '' | ||||||||||||||||||||||||||||||||||||||
| 2601 | }, 'Parse::RecDescent' ); | ||||||||||||||||||||||||||||||||||||||
| 2602 | } | ||||||||||||||||||||||||||||||||||||||