Maker/Grammar.pm

filter: Statementstmt 72.5% 5262 / 7257 Branchbran 37.1% 1678 / 4522 Conditioncond 41.4% 416 / 1004 MC/DCmcdc 13.7% 86 / 627 Subroutinesub 94.4% 288 / 305 Podpod 0.0% 0 / 1 totaltotal 56.3% 7730 / 13716 CC 2637 SCAR 69.9
CC
2637
Cov
58%
directive
5747.1
hexint
2071.3
octint
1643.2
CRAP 1089.1
↑ Summary Maker/Eval/DNSSerial.pm »
1 #
2 # This parser was generated with
3 # Parse::RecDescent version 1.967015
4 #
5  
6 package Config::Maker::Grammar;
7 9 ▶use Parse::RecDescent;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 9 { my $ERRORS;
9  
10  
11 package Parse::RecDescent::Config::Maker::Grammar;
12 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 9 ▶use vars qw($skip $AUTOLOAD );
Subroutine BEGIN: called CC=1 SCAR=0.0
14 9 @Parse::RecDescent::Config::Maker::Grammar::ISA = ();
15 9 $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::Config::Maker::Grammar::AUTOLOAD = sub
23 0 ▶{
Subroutine __ANON__: not called CC=1 SCAR=2.2
24 9 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 0 ${"AUTOLOAD"} =~ s/^Parse::RecDescent::Config::Maker::Grammar/Parse::RecDescent/;
27 0 goto &{${"AUTOLOAD"}};
28 }
29 9 }
30  
31 9 push @Parse::RecDescent::Config::Maker::Grammar::ISA, 'Parse::RecDescent';
32 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
33 sub Parse::RecDescent::Config::Maker::Grammar::_alternation_1_of_production_1_of_rule_value_ipv4_mask
34 3 ▶{
Subroutine _alternation_1_of_production_1_of_rule_value_ipv4_mask: called CC=29 SCAR=47.3
35 3 my $thisparser = $_[0];
36 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
37 3 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
30
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
38 3 $ERRORS = 0;
39 3 my $thisrule = $thisparser->{"rules"}{"_alternation_1_of_production_1_of_rule_value_ipv4_mask"};
40  
41 3 ▶ Parse::RecDescent::_trace(q{Trying rule: [_alternation_1_of_production_1_of_rule_value_ipv4_mask]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
42 Parse::RecDescent::_tracefirst($_[1]),
43 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
44 $tracelevel)
45 if defined $::RD_TRACE;
46  
47
48 3 my $err_at = @{$thisparser->{errors}};
49  
50 3 my $score;
51 my $score_return;
52 3 my $_tok;
53 3 my $return = undef;
54 3 my $_matched=0;
55 3 my $commit=0;
56 3 my @item = ();
57 3 my %item = ();
58 3 my $repeating = $_[2];
59 3 my $_noactions = $_[3];
60 3 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 3 0 3
61 3 my $_itempos = $_[5];
62 3 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 3 0 3
63 3 my $text;
64 my $lastsep;
65 3 my $current_match;
66 3 my $expectation = new Parse::RecDescent::Expectation(q{decint, or value_ipv4});
67 3 $expectation->at($_[1]);
68
69 3 my $thisline;
70 3 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
71  
72
73  
74 3 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 3 0 3
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
003
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
75 {
76
77 3 ▶ Parse::RecDescent::_trace(q{Trying production: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
78 Parse::RecDescent::_tracefirst($_[1]),
79 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
80 $tracelevel)
81 if defined $::RD_TRACE;
82 3 my $thisprod = $thisrule->{"prods"}[0];
83 3 $text = $_[1];
84 3 my $_savetext;
85 3 @item = (q{_alternation_1_of_production_1_of_rule_value_ipv4_mask});
86 3 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_value_ipv4_mask});
87 3 my $repcount = 0;
88  
89  
90 3 ▶ Parse::RecDescent::_trace(q{Trying subrule: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
91 Parse::RecDescent::_tracefirst($text),
92 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
93 $tracelevel)
94 if defined $::RD_TRACE;
95 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
96 3 $expectation->is(q{})->at($text);
97 3 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::decint($thisparser,$text,$repeating,$_noactions,sub { return [0,32] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = decint($thisparser, $text, $repeating, $_noactions, sub { return [0, 32]; } , undef))) 0 3 3
98 {
99
100 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [decint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
101 Parse::RecDescent::_tracefirst($text),
102 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
103 $tracelevel)
104 if defined $::RD_TRACE;
105 0 $expectation->failed();
106 0 last;
107 }
108 3 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [decint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
109 . $_tok . q{]},
110  
111 Parse::RecDescent::_tracefirst($text),
112 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
113 $tracelevel)
114 if defined $::RD_TRACE;
115 3 $item{q{decint}} = $_tok;
116 3 push @item, $_tok;
117
118 }
119  
120 3 ▶ Parse::RecDescent::_trace(q{>>Matched production: [decint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
121 Parse::RecDescent::_tracefirst($text),
122 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
123 $tracelevel)
124 if defined $::RD_TRACE;
125  
126  
127  
128 3 $_matched = 1;
129 3 last;
130 }
131  
132  
133 3 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 3 3
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
300
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
134 {
135
136 0 ▶ Parse::RecDescent::_trace(q{Trying production: [value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
137 Parse::RecDescent::_tracefirst($_[1]),
138 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
139 $tracelevel)
140 if defined $::RD_TRACE;
141 0 my $thisprod = $thisrule->{"prods"}[1];
142 0 $text = $_[1];
143 0 my $_savetext;
144 0 @item = (q{_alternation_1_of_production_1_of_rule_value_ipv4_mask});
145 0 %item = (__RULE__ => q{_alternation_1_of_production_1_of_rule_value_ipv4_mask});
146 0 my $repcount = 0;
147  
148  
149 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
150 Parse::RecDescent::_tracefirst($text),
151 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
152 $tracelevel)
153 if defined $::RD_TRACE;
154 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
155 0 $expectation->is(q{})->at($text);
156 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value_ipv4($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value_ipv4($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 0 0
157 {
158
159 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_ipv4]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
160 Parse::RecDescent::_tracefirst($text),
161 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
162 $tracelevel)
163 if defined $::RD_TRACE;
164 0 $expectation->failed();
165 0 last;
166 }
167 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_ipv4]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
168 . $_tok . q{]},
169  
170 Parse::RecDescent::_tracefirst($text),
171 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
172 $tracelevel)
173 if defined $::RD_TRACE;
174 0 $item{q{value_ipv4}} = $_tok;
175 0 push @item, $_tok;
176
177 }
178  
179 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [value_ipv4]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
180 Parse::RecDescent::_tracefirst($text),
181 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
182 $tracelevel)
183 if defined $::RD_TRACE;
184  
185  
186  
187 0 $_matched = 1;
188 0 last;
189 }
190  
191  
192 3 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 3 3
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
193 {
194
195  
196 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
197 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
198 Parse::RecDescent::_tracefirst($_[1]),
199 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
200 $tracelevel)
201 if defined $::RD_TRACE;
202 0 return undef;
203 }
204 3 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 3 3
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
030
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
ABresult
0X0
100
111
205 {
206 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
207 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
208 $tracelevel)
209 if defined $::RD_TRACE;
210 0 $return = $score_return;
211 }
212 3 splice @{$thisparser->{errors}}, $err_at;
213 3 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 3 0 3
214 3 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 3 3
215 {
216 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
217 $return . q{])}, "",
218 q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
219 $tracelevel);
220 0 Parse::RecDescent::_trace(q{(consumed: [} .
221 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
222 Parse::RecDescent::_tracefirst($text),
223 , q{_alternation_1_of_production_1_of_rule_value_ipv4_mask},
224 $tracelevel)
225 }
226 3 $_[1] = $text;
227 3 return $return;
228 }
229  
230 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
231 sub Parse::RecDescent::Config::Maker::Grammar::block
232 1267 ▶{
Subroutine block: called CC=85 SCAR=58.5
233 1267 my $thisparser = $_[0];
234 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
235 1267 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
12670
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
236 1267 $ERRORS = 0;
237 1267 my $thisrule = $thisparser->{"rules"}{"block"};
238  
239 1267 ▶ Parse::RecDescent::_trace(q{Trying rule: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1267 1267
240 Parse::RecDescent::_tracefirst($_[1]),
241 q{block},
242 $tracelevel)
243 if defined $::RD_TRACE;
244  
245
246 1267 my $err_at = @{$thisparser->{errors}};
247  
248 1267 my $score;
249 my $score_return;
250 1267 my $_tok;
251 1267 my $return = undef;
252 1267 my $_matched=0;
253 1267 my $commit=0;
254 1267 my @item = ();
255 1267 my %item = ();
256 1267 my $repeating = $_[2];
257 1267 my $_noactions = $_[3];
258 1267 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 1267 0 1267
259 1267 my $_itempos = $_[5];
260 1267 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 1267 1267
261 1267 my $text;
262 my $lastsep;
263 1267 my $current_match;
264 1267 my $expectation = new Parse::RecDescent::Expectation(q{'\{', or '<'});
265 1267 $expectation->at($_[1]);
266
267 1267 my $thisline;
268 1267 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
269  
270
271  
272 1267 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1267 0 1267
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
001267
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
273 {
274
275 1267 ▶ Parse::RecDescent::_trace(q{Trying production: ['\{' option '\}']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1267 1267
276 Parse::RecDescent::_tracefirst($_[1]),
277 q{block},
278 $tracelevel)
279 if defined $::RD_TRACE;
280 1267 my $thisprod = $thisrule->{"prods"}[0];
281 1267 $text = $_[1];
282 1267 my $_savetext;
283 1267 @item = (q{block});
284 1267 %item = (__RULE__ => q{block});
285 1267 my $repcount = 0;
286  
287  
288 1267 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['\{']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1267 1267
289 Parse::RecDescent::_tracefirst($text),
290 q{block},
291 $tracelevel)
292 if defined $::RD_TRACE;
293 1267 undef $lastsep;
294 1267 $expectation->is(q{})->at($text);
295
296  
297 1267 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\{/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\{/) 1029 238 1267
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\{/
!ll&&!rl&&r
01029238
($lastsep = $1) && ''
!ll
961171
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\{/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\{/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\{/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
298 {
299 1029 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 1029 0 1029
300
301 1029 $expectation->failed();
302 1029 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1029 1029
303 Parse::RecDescent::_tracefirst($text))
304 if defined $::RD_TRACE;
305 1029 last;
306 }
307 238 $current_match = substr($text, $-[0], $+[0] - $-[0]);
308 238 substr($text,0,length($current_match),q{});
309 238 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
310 . $current_match . q{])},
311 Parse::RecDescent::_tracefirst($text))
312 if defined $::RD_TRACE;
313 238 push @item, $item{__STRING1__}=$current_match;
314
315  
316 238 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [option]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
317 Parse::RecDescent::_tracefirst($text),
318 q{block},
319 $tracelevel)
320 if defined $::RD_TRACE;
321 238 $expectation->is(q{option})->at($text);
322
323 238 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::option, 0, 100000000, $_noactions,$expectation,sub { return [$arg[0]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::option, 0, 100000000, $_noactions, $expectation, sub { return [$arg[0]]; } , undef))) 0 238 238
324 {
325 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [option]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
326 Parse::RecDescent::_tracefirst($text),
327 q{block},
328 $tracelevel)
329 if defined $::RD_TRACE;
330 0 last;
331 }
332 238 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [option]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
333 . @$_tok . q{ times)},
334  
335 Parse::RecDescent::_tracefirst($text),
336 q{block},
337 $tracelevel)
338 if defined $::RD_TRACE;
339 238 $item{q{option(s?)}} = $_tok;
340 238 push @item, $_tok;
341
342  
343  
344 238 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['\}']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
345 Parse::RecDescent::_tracefirst($text),
346 q{block},
347 $tracelevel)
348 if defined $::RD_TRACE;
349 238 undef $lastsep;
350 238 $expectation->is(q{'\}'})->at($text);
351
352  
353 238 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\}/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\}/) 0 238 238
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\}/
!ll&&!rl&&r
00238
($lastsep = $1) && ''
!ll
0238
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\}/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\}/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
354 {
355 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
356
357 0 $expectation->failed();
358 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
359 Parse::RecDescent::_tracefirst($text))
360 if defined $::RD_TRACE;
361 0 last;
362 }
363 238 $current_match = substr($text, $-[0], $+[0] - $-[0]);
364 238 substr($text,0,length($current_match),q{});
365 238 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
366 . $current_match . q{])},
367 Parse::RecDescent::_tracefirst($text))
368 if defined $::RD_TRACE;
369 238 push @item, $item{__STRING2__}=$current_match;
370
371  
372 238 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
373 Parse::RecDescent::_tracefirst($text),
374 q{block},
375 $tracelevel)
376 if defined $::RD_TRACE;
377
378  
379 238 ▶ $_tok = ($_noactions) ? 0 : do { $item[2]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 238 238
380 238 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 238 238
381 {
382 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
383 if defined $::RD_TRACE;
384 0 last;
385 }
386 238 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
387 . $_tok . q{])},
388 Parse::RecDescent::_tracefirst($text))
389 if defined $::RD_TRACE;
390 238 push @item, $_tok;
391 238 $item{__ACTION1__}=$_tok;
392
393  
394 238 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['\{' option '\}']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 238 238
395 Parse::RecDescent::_tracefirst($text),
396 q{block},
397 $tracelevel)
398 if defined $::RD_TRACE;
399  
400  
401  
402 238 $_matched = 1;
403 238 last;
404 }
405  
406  
407 1267 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1029 238 1267
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
23801029
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
408 {
409 1029 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 1029 0 1029
410 1029 ▶ Parse::RecDescent::_trace(q{Trying production: ['<' <skip: ''> /[^>]+/ '>']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1029 1029
411 Parse::RecDescent::_tracefirst($_[1]),
412 q{block},
413 $tracelevel)
414 if defined $::RD_TRACE;
415 1029 my $thisprod = $thisrule->{"prods"}[1];
416 1029 $text = $_[1];
417 1029 my $_savetext;
418 1029 @item = (q{block});
419 1029 %item = (__RULE__ => q{block});
420 1029 my $repcount = 0;
421  
422  
423 1029 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['<']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1029 1029
424 Parse::RecDescent::_tracefirst($text),
425 q{block},
426 $tracelevel)
427 if defined $::RD_TRACE;
428 1029 undef $lastsep;
429 1029 $expectation->is(q{})->at($text);
430
431  
432 1029 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\</)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\</) 1025 4 1029
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\</
!ll&&!rl&&r
010254
($lastsep = $1) && ''
!ll
93936
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\</
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\</
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\</
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
433 {
434 1025 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 1025 0 1025
435
436 1025 $expectation->failed();
437 1025 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
438 Parse::RecDescent::_tracefirst($text))
439 if defined $::RD_TRACE;
440 1025 last;
441 }
442 4 $current_match = substr($text, $-[0], $+[0] - $-[0]);
443 4 substr($text,0,length($current_match),q{});
444 4 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
445 . $current_match . q{])},
446 Parse::RecDescent::_tracefirst($text))
447 if defined $::RD_TRACE;
448 4 push @item, $item{__STRING1__}=$current_match;
449
450  
451
452  
453 4 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
454 Parse::RecDescent::_tracefirst($text),
455 q{block},
456 $tracelevel)
457 if defined $::RD_TRACE;
458 4 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
459 4 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 4 0 4
460 {
461 4 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
462 . $_tok . q{])},
463 Parse::RecDescent::_tracefirst($text))
464 if defined $::RD_TRACE;
465 }
466 else
467 {
468 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
469 Parse::RecDescent::_tracefirst($text))
470 if defined $::RD_TRACE;
471 }
472
473 4 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 4 4
474 4 push @item, $item{__DIRECTIVE1__}=$_tok;
475
476  
477 4 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[^>]+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
478 q{block},
479 $tracelevel)
480 if defined $::RD_TRACE;
481 4 undef $lastsep;
482 4 $expectation->is(q{/[^>]+/})->at($text);
483
484  
485 4 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[^>]+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/) 0 4 4
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/
!ll&&!rl&&r
004
($lastsep = $1) && ''
!ll
40
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[^>]+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
486 {
487 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
488 0 $expectation->failed();
489 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
490 Parse::RecDescent::_tracefirst($text))
491 if defined $::RD_TRACE;
492  
493 0 last;
494 }
495 4 $current_match = substr($text, $-[0], $+[0] - $-[0]);
496 4 substr($text,0,length($current_match),q{});
497 4 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
498 . $current_match . q{])},
499 Parse::RecDescent::_tracefirst($text))
500 if defined $::RD_TRACE;
501 4 push @item, $item{__PATTERN1__}=$current_match;
502
503  
504 4 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['>']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
505 Parse::RecDescent::_tracefirst($text),
506 q{block},
507 $tracelevel)
508 if defined $::RD_TRACE;
509 4 undef $lastsep;
510 4 $expectation->is(q{'>'})->at($text);
511
512  
513 4 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\>/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>/) 0 4 4
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>/
!ll&&!rl&&r
004
($lastsep = $1) && ''
!ll
40
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\>/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
514 {
515 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
516
517 0 $expectation->failed();
518 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
519 Parse::RecDescent::_tracefirst($text))
520 if defined $::RD_TRACE;
521 0 last;
522 }
523 4 $current_match = substr($text, $-[0], $+[0] - $-[0]);
524 4 substr($text,0,length($current_match),q{});
525 4 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
526 . $current_match . q{])},
527 Parse::RecDescent::_tracefirst($text))
528 if defined $::RD_TRACE;
529 4 push @item, $item{__STRING2__}=$current_match;
530
531  
532 4 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
533 Parse::RecDescent::_tracefirst($text),
534 q{block},
535 $tracelevel)
536 if defined $::RD_TRACE;
537
538  
539 4 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 4 4
540 4 Config::Maker::Config->read($item[3], $arg[0]);
541 };
542 4 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 4 4
543 {
544 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
545 if defined $::RD_TRACE;
546 0 last;
547 }
548 4 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
549 . $_tok . q{])},
550 Parse::RecDescent::_tracefirst($text))
551 if defined $::RD_TRACE;
552 4 push @item, $_tok;
553 4 $item{__ACTION1__}=$_tok;
554
555  
556 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['<' <skip: ''> /[^>]+/ '>']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
557 Parse::RecDescent::_tracefirst($text),
558 q{block},
559 $tracelevel)
560 if defined $::RD_TRACE;
561  
562  
563  
564 4 $_matched = 1;
565 4 last;
566 }
567  
568  
569 1267 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 1025 242 1267
570 {
571
572 1025 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
573 Parse::RecDescent::_tracefirst($_[1]),
574 q{block},
575 $tracelevel)
576 if defined $::RD_TRACE;
577 1025 my $thisprod = $thisrule->{"prods"}[2];
578
579 1025 my $_savetext;
580 1025 @item = (q{block});
581 1025 %item = (__RULE__ => q{block});
582 1025 my $repcount = 0;
583  
584  
585
586  
587 1025 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
588 Parse::RecDescent::_tracefirst($text),
589 q{block},
590 $tracelevel)
591 if defined $::RD_TRACE;
592 1025 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 1025 0 1025
593 1025 my $rule = $item[0];
594 1025 $rule =~ s/_/ /g;
595 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
596 1025 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
597 1025 } unless $_noactions; undef } else {0} };
598 1025 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 1025 1025
599 {
600 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
601 . $_tok . q{])},
602 Parse::RecDescent::_tracefirst($text))
603 if defined $::RD_TRACE;
604 }
605 else
606 {
607 1025 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
608 Parse::RecDescent::_tracefirst($text))
609 if defined $::RD_TRACE;
610 }
611
612 1025 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 1025 0 1025
613 0 push @item, $item{__DIRECTIVE1__}=$_tok;
614
615  
616 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
617 Parse::RecDescent::_tracefirst($text),
618 q{block},
619 $tracelevel)
620 if defined $::RD_TRACE;
621  
622  
623  
624 0 $_matched = 1;
625 0 last;
626 }
627  
628  
629 1267 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 1025 242 1267
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
24201025
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
630 {
631
632  
633 1025 $_[1] = $text; # NOT SURE THIS IS NEEDED
634 1025 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
635 Parse::RecDescent::_tracefirst($_[1]),
636 q{block},
637 $tracelevel)
638 if defined $::RD_TRACE;
639 1025 return undef;
640 }
641 242 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 242 242
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
02420
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
ABresult
0X0
100
111
642 {
643 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
644 q{block},
645 $tracelevel)
646 if defined $::RD_TRACE;
647 0 $return = $score_return;
648 }
649 242 splice @{$thisparser->{errors}}, $err_at;
650 242 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 242 0 242
651 242 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 242 242
652 {
653 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
654 $return . q{])}, "",
655 q{block},
656 $tracelevel);
657 0 Parse::RecDescent::_trace(q{(consumed: [} .
658 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
659 Parse::RecDescent::_tracefirst($text),
660 , q{block},
661 $tracelevel)
662 }
663 242 $_[1] = $text;
664 242 return $return;
665 }
666  
667 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
668 sub Parse::RecDescent::Config::Maker::Grammar::body
669 689 ▶{
Subroutine body: called CC=21 SCAR=35.2
670 689 my $thisparser = $_[0];
671 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
672 689 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
6890
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
673 689 $ERRORS = 0;
674 689 my $thisrule = $thisparser->{"rules"}{"body"};
675  
676 689 ▶ Parse::RecDescent::_trace(q{Trying rule: [body]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
677 Parse::RecDescent::_tracefirst($_[1]),
678 q{body},
679 $tracelevel)
680 if defined $::RD_TRACE;
681  
682
683 689 my $err_at = @{$thisparser->{errors}};
684  
685 689 my $score;
686 my $score_return;
687 689 my $_tok;
688 689 my $return = undef;
689 689 my $_matched=0;
690 689 my $commit=0;
691 689 my @item = ();
692 689 my %item = ();
693 689 my $repeating = $_[2];
694 689 my $_noactions = $_[3];
695 689 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 689 0 689
696 689 my $_itempos = $_[5];
697 689 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 51 638 689
698 689 my $text;
699 my $lastsep;
700 689 my $current_match;
701 689 my $expectation = new Parse::RecDescent::Expectation(q{<matchrule:body_$arg[1]>});
702 689 $expectation->at($_[1]);
703
704 689 my $thisline;
705 689 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
706  
707
708  
709 689 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 689 0 689
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00689
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
710 {
711
712 689 ▶ Parse::RecDescent::_trace(q{Trying production: [<matchrule:body_$arg[1]>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
713 Parse::RecDescent::_tracefirst($_[1]),
714 q{body},
715 $tracelevel)
716 if defined $::RD_TRACE;
717 689 my $thisprod = $thisrule->{"prods"}[0];
718 689 $text = $_[1];
719 689 my $_savetext;
720 689 @item = (q{body});
721 689 %item = (__RULE__ => q{body});
722 689 my $repcount = 0;
723  
724  
725 689 ▶ Parse::RecDescent::_trace(q{Trying subrule: [body_$arg[1]]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
726 Parse::RecDescent::_tracefirst($text),
727 q{body},
728 $tracelevel)
729 if defined $::RD_TRACE;
730 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
731 689 $expectation->is(q{})->at($text);
732 689 ▶ unless (defined ($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::'.qq{body_$arg[1]}}($thisparser,$text,$repeating,$_noactions,sub { return [$arg[0], @arg[2..$#arg]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.1
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::' . "body_$arg[1]";}($thisparser, $text, $repeating, $_noactions, sub { return [$arg[0], @arg[2 .. $#arg]]; } , undef))) 0 689 689
733 {
734
735 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [body_$arg[1]]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
736 Parse::RecDescent::_tracefirst($text),
737 q{body},
738 $tracelevel)
739 if defined $::RD_TRACE;
740 0 $expectation->failed();
741 0 last;
742 }
743 689 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [body_$arg[1]]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
744 . $_tok . q{]},
745  
746 Parse::RecDescent::_tracefirst($text),
747 q{body},
748 $tracelevel)
749 if defined $::RD_TRACE;
750 689 $item{q{body_$arg[1]}} = $_tok;
751 689 push @item, $_tok;
752
753 }
754  
755 689 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<matchrule:body_$arg[1]>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
756 Parse::RecDescent::_tracefirst($text),
757 q{body},
758 $tracelevel)
759 if defined $::RD_TRACE;
760  
761  
762  
763 689 $_matched = 1;
764 689 last;
765 }
766  
767  
768 689 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 689 689
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
68900
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
769 {
770
771  
772 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
773 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
774 Parse::RecDescent::_tracefirst($_[1]),
775 q{body},
776 $tracelevel)
777 if defined $::RD_TRACE;
778 0 return undef;
779 }
780 689 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 689 689
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
06890
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
ABresult
0X0
100
111
781 {
782 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
783 q{body},
784 $tracelevel)
785 if defined $::RD_TRACE;
786 0 $return = $score_return;
787 }
788 689 splice @{$thisparser->{errors}}, $err_at;
789 689 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 689 0 689
790 689 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 689 689
791 {
792 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
793 $return . q{])}, "",
794 q{body},
795 $tracelevel);
796 0 Parse::RecDescent::_trace(q{(consumed: [} .
797 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
798 Parse::RecDescent::_tracefirst($text),
799 , q{body},
800 $tracelevel)
801 }
802 689 $_[1] = $text;
803 689 return $return;
804 }
805  
806 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
807 sub Parse::RecDescent::Config::Maker::Grammar::body_anon_group
808 52 ▶{
Subroutine body_anon_group: called CC=35 SCAR=51.2
809 52 my $thisparser = $_[0];
810 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
811 52 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
520
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
812 52 $ERRORS = 0;
813 52 my $thisrule = $thisparser->{"rules"}{"body_anon_group"};
814  
815 52 ▶ Parse::RecDescent::_trace(q{Trying rule: [body_anon_group]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
816 Parse::RecDescent::_tracefirst($_[1]),
817 q{body_anon_group},
818 $tracelevel)
819 if defined $::RD_TRACE;
820  
821
822 52 my $err_at = @{$thisparser->{errors}};
823  
824 52 my $score;
825 my $score_return;
826 52 my $_tok;
827 52 my $return = undef;
828 52 my $_matched=0;
829 52 my $commit=0;
830 52 my @item = ();
831 52 my %item = ();
832 52 my $repeating = $_[2];
833 52 my $_noactions = $_[3];
834 52 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 52 0 52
835 52 my $_itempos = $_[5];
836 52 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 1 51 52
837 52 my $text;
838 my $lastsep;
839 52 my $current_match;
840 52 my $expectation = new Parse::RecDescent::Expectation(q{block});
841 52 $expectation->at($_[1]);
842
843 52 my $thisline;
844 52 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
845  
846
847  
848 52 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 52 0 52
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0052
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
849 {
850
851 52 ▶ Parse::RecDescent::_trace(q{Trying production: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
852 Parse::RecDescent::_tracefirst($_[1]),
853 q{body_anon_group},
854 $tracelevel)
855 if defined $::RD_TRACE;
856 52 my $thisprod = $thisrule->{"prods"}[0];
857 52 $text = $_[1];
858 52 my $_savetext;
859 52 @item = (q{body_anon_group});
860 52 %item = (__RULE__ => q{body_anon_group});
861 52 my $repcount = 0;
862  
863  
864 52 ▶ Parse::RecDescent::_trace(q{Trying subrule: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
865 Parse::RecDescent::_tracefirst($text),
866 q{body_anon_group},
867 $tracelevel)
868 if defined $::RD_TRACE;
869 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
870 52 $expectation->is(q{})->at($text);
871 52 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::block($thisparser,$text,$repeating,$_noactions,sub { return [$arg[0]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = block($thisparser, $text, $repeating, $_noactions, sub { return [$arg[0]]; } , undef))) 0 52 52
872 {
873
874 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [block]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
875 Parse::RecDescent::_tracefirst($text),
876 q{body_anon_group},
877 $tracelevel)
878 if defined $::RD_TRACE;
879 0 $expectation->failed();
880 0 last;
881 }
882 52 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [block]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
883 . $_tok . q{]},
884  
885 Parse::RecDescent::_tracefirst($text),
886 q{body_anon_group},
887 $tracelevel)
888 if defined $::RD_TRACE;
889 52 $item{q{block}} = $_tok;
890 52 push @item, $_tok;
891
892 }
893  
894 52 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
895 Parse::RecDescent::_tracefirst($text),
896 q{body_anon_group},
897 $tracelevel)
898 if defined $::RD_TRACE;
899
900  
901 52 ▶ $_tok = ($_noactions) ? 0 : do { +{ -children => $item[1] }; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 52 52
902 52 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 52 52
903 {
904 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
905 if defined $::RD_TRACE;
906 0 last;
907 }
908 52 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
909 . $_tok . q{])},
910 Parse::RecDescent::_tracefirst($text))
911 if defined $::RD_TRACE;
912 52 push @item, $_tok;
913 52 $item{__ACTION1__}=$_tok;
914
915  
916 52 ▶ Parse::RecDescent::_trace(q{>>Matched production: [block]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 52 52
917 Parse::RecDescent::_tracefirst($text),
918 q{body_anon_group},
919 $tracelevel)
920 if defined $::RD_TRACE;
921  
922  
923  
924 52 $_matched = 1;
925 52 last;
926 }
927  
928  
929 52 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 52 52
930 {
931
932 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
933 Parse::RecDescent::_tracefirst($_[1]),
934 q{body_anon_group},
935 $tracelevel)
936 if defined $::RD_TRACE;
937 0 my $thisprod = $thisrule->{"prods"}[1];
938
939 0 my $_savetext;
940 0 @item = (q{body_anon_group});
941 0 %item = (__RULE__ => q{body_anon_group});
942 0 my $repcount = 0;
943  
944  
945
946  
947 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
948 Parse::RecDescent::_tracefirst($text),
949 q{body_anon_group},
950 $tracelevel)
951 if defined $::RD_TRACE;
952 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
953 0 my $rule = $item[0];
954 0 $rule =~ s/_/ /g;
955 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
956 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
957 0 } unless $_noactions; undef } else {0} };
958 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
959 {
960 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
961 . $_tok . q{])},
962 Parse::RecDescent::_tracefirst($text))
963 if defined $::RD_TRACE;
964 }
965 else
966 {
967 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
968 Parse::RecDescent::_tracefirst($text))
969 if defined $::RD_TRACE;
970 }
971
972 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
973 0 push @item, $item{__DIRECTIVE1__}=$_tok;
974
975  
976 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
977 Parse::RecDescent::_tracefirst($text),
978 q{body_anon_group},
979 $tracelevel)
980 if defined $::RD_TRACE;
981  
982  
983  
984 0 $_matched = 1;
985 0 last;
986 }
987  
988  
989 52 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 52 52
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
5200
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
990 {
991
992  
993 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
994 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
995 Parse::RecDescent::_tracefirst($_[1]),
996 q{body_anon_group},
997 $tracelevel)
998 if defined $::RD_TRACE;
999 0 return undef;
1000 }
1001 52 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 52 52
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0520
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
ABresult
0X0
100
111
1002 {
1003 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1004 q{body_anon_group},
1005 $tracelevel)
1006 if defined $::RD_TRACE;
1007 0 $return = $score_return;
1008 }
1009 52 splice @{$thisparser->{errors}}, $err_at;
1010 52 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 52 0 52
1011 52 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 52 52
1012 {
1013 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1014 $return . q{])}, "",
1015 q{body_anon_group},
1016 $tracelevel);
1017 0 Parse::RecDescent::_trace(q{(consumed: [} .
1018 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1019 Parse::RecDescent::_tracefirst($text),
1020 , q{body_anon_group},
1021 $tracelevel)
1022 }
1023 52 $_[1] = $text;
1024 52 return $return;
1025 }
1026  
1027 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
1028 sub Parse::RecDescent::Config::Maker::Grammar::body_named_group
1029 181 ▶{
Subroutine body_named_group: called CC=39 SCAR=52.7
1030 181 my $thisparser = $_[0];
1031 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
1032 181 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
1810
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
1033 181 $ERRORS = 0;
1034 181 my $thisrule = $thisparser->{"rules"}{"body_named_group"};
1035  
1036 181 ▶ Parse::RecDescent::_trace(q{Trying rule: [body_named_group]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1037 Parse::RecDescent::_tracefirst($_[1]),
1038 q{body_named_group},
1039 $tracelevel)
1040 if defined $::RD_TRACE;
1041  
1042
1043 181 my $err_at = @{$thisparser->{errors}};
1044  
1045 181 my $score;
1046 my $score_return;
1047 181 my $_tok;
1048 181 my $return = undef;
1049 181 my $_matched=0;
1050 181 my $commit=0;
1051 181 my @item = ();
1052 181 my %item = ();
1053 181 my $repeating = $_[2];
1054 181 my $_noactions = $_[3];
1055 181 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 181 0 181
1056 181 my $_itempos = $_[5];
1057 181 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 181 0 181
1058 181 my $text;
1059 my $lastsep;
1060 181 my $current_match;
1061 181 my $expectation = new Parse::RecDescent::Expectation(q{value});
1062 181 $expectation->at($_[1]);
1063
1064 181 my $thisline;
1065 181 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1066  
1067
1068  
1069 181 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 181 0 181
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00181
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
1070 {
1071
1072 181 ▶ Parse::RecDescent::_trace(q{Trying production: [value block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1073 Parse::RecDescent::_tracefirst($_[1]),
1074 q{body_named_group},
1075 $tracelevel)
1076 if defined $::RD_TRACE;
1077 181 my $thisprod = $thisrule->{"prods"}[0];
1078 181 $text = $_[1];
1079 181 my $_savetext;
1080 181 @item = (q{body_named_group});
1081 181 %item = (__RULE__ => q{body_named_group});
1082 181 my $repcount = 0;
1083  
1084  
1085 181 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1086 Parse::RecDescent::_tracefirst($text),
1087 q{body_named_group},
1088 $tracelevel)
1089 if defined $::RD_TRACE;
1090 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1091 181 $expectation->is(q{})->at($text);
1092 181 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value($thisparser,$text,$repeating,$_noactions,sub { return [@{$arg[1]}] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.1
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value($thisparser, $text, $repeating, $_noactions, sub { return [@{$arg[1];}]; } , undef))) 0 181 181
1093 {
1094
1095 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1096 Parse::RecDescent::_tracefirst($text),
1097 q{body_named_group},
1098 $tracelevel)
1099 if defined $::RD_TRACE;
1100 0 $expectation->failed();
1101 0 last;
1102 }
1103 181 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1104 . $_tok . q{]},
1105  
1106 Parse::RecDescent::_tracefirst($text),
1107 q{body_named_group},
1108 $tracelevel)
1109 if defined $::RD_TRACE;
1110 181 $item{q{value}} = $_tok;
1111 181 push @item, $_tok;
1112
1113 }
1114  
1115 181 ▶ Parse::RecDescent::_trace(q{Trying subrule: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1116 Parse::RecDescent::_tracefirst($text),
1117 q{body_named_group},
1118 $tracelevel)
1119 if defined $::RD_TRACE;
1120 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1121 181 $expectation->is(q{block})->at($text);
1122 181 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::block($thisparser,$text,$repeating,$_noactions,sub { return [$arg[0]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = block($thisparser, $text, $repeating, $_noactions, sub { return [$arg[0]]; } , undef))) 0 181 181
1123 {
1124
1125 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [block]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1126 Parse::RecDescent::_tracefirst($text),
1127 q{body_named_group},
1128 $tracelevel)
1129 if defined $::RD_TRACE;
1130 0 $expectation->failed();
1131 0 last;
1132 }
1133 181 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [block]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1134 . $_tok . q{]},
1135  
1136 Parse::RecDescent::_tracefirst($text),
1137 q{body_named_group},
1138 $tracelevel)
1139 if defined $::RD_TRACE;
1140 181 $item{q{block}} = $_tok;
1141 181 push @item, $_tok;
1142
1143 }
1144  
1145 181 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1146 Parse::RecDescent::_tracefirst($text),
1147 q{body_named_group},
1148 $tracelevel)
1149 if defined $::RD_TRACE;
1150
1151  
1152 181 ▶ $_tok = ($_noactions) ? 0 : do { +{
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 181 181
1153 181 -value => $item[1],
1154 -children => $item[2],
1155 }; };
1156 181 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 181 181
1157 {
1158 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1159 if defined $::RD_TRACE;
1160 0 last;
1161 }
1162 181 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1163 . $_tok . q{])},
1164 Parse::RecDescent::_tracefirst($text))
1165 if defined $::RD_TRACE;
1166 181 push @item, $_tok;
1167 181 $item{__ACTION1__}=$_tok;
1168
1169  
1170 181 ▶ Parse::RecDescent::_trace(q{>>Matched production: [value block]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 181 181
1171 Parse::RecDescent::_tracefirst($text),
1172 q{body_named_group},
1173 $tracelevel)
1174 if defined $::RD_TRACE;
1175  
1176  
1177  
1178 181 $_matched = 1;
1179 181 last;
1180 }
1181  
1182  
1183 181 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 181 181
1184 {
1185
1186 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1187 Parse::RecDescent::_tracefirst($_[1]),
1188 q{body_named_group},
1189 $tracelevel)
1190 if defined $::RD_TRACE;
1191 0 my $thisprod = $thisrule->{"prods"}[1];
1192
1193 0 my $_savetext;
1194 0 @item = (q{body_named_group});
1195 0 %item = (__RULE__ => q{body_named_group});
1196 0 my $repcount = 0;
1197  
1198  
1199
1200  
1201 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1202 Parse::RecDescent::_tracefirst($text),
1203 q{body_named_group},
1204 $tracelevel)
1205 if defined $::RD_TRACE;
1206 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
1207 0 my $rule = $item[0];
1208 0 $rule =~ s/_/ /g;
1209 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
1210 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
1211 0 } unless $_noactions; undef } else {0} };
1212 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
1213 {
1214 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1215 . $_tok . q{])},
1216 Parse::RecDescent::_tracefirst($text))
1217 if defined $::RD_TRACE;
1218 }
1219 else
1220 {
1221 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1222 Parse::RecDescent::_tracefirst($text))
1223 if defined $::RD_TRACE;
1224 }
1225
1226 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
1227 0 push @item, $item{__DIRECTIVE1__}=$_tok;
1228
1229  
1230 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1231 Parse::RecDescent::_tracefirst($text),
1232 q{body_named_group},
1233 $tracelevel)
1234 if defined $::RD_TRACE;
1235  
1236  
1237  
1238 0 $_matched = 1;
1239 0 last;
1240 }
1241  
1242  
1243 181 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 181 181
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
18100
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
1244 {
1245
1246  
1247 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
1248 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1249 Parse::RecDescent::_tracefirst($_[1]),
1250 q{body_named_group},
1251 $tracelevel)
1252 if defined $::RD_TRACE;
1253 0 return undef;
1254 }
1255 181 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 181 181
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
01810
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
ABresult
0X0
100
111
1256 {
1257 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1258 q{body_named_group},
1259 $tracelevel)
1260 if defined $::RD_TRACE;
1261 0 $return = $score_return;
1262 }
1263 181 splice @{$thisparser->{errors}}, $err_at;
1264 181 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 181 0 181
1265 181 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 181 181
1266 {
1267 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1268 $return . q{])}, "",
1269 q{body_named_group},
1270 $tracelevel);
1271 0 Parse::RecDescent::_trace(q{(consumed: [} .
1272 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1273 Parse::RecDescent::_tracefirst($text),
1274 , q{body_named_group},
1275 $tracelevel)
1276 }
1277 181 $_[1] = $text;
1278 181 return $return;
1279 }
1280  
1281 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
1282 sub Parse::RecDescent::Config::Maker::Grammar::body_simple
1283 456 ▶{
Subroutine body_simple: called CC=42 SCAR=54.8
1284 456 my $thisparser = $_[0];
1285 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
1286 456 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
4560
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
1287 456 $ERRORS = 0;
1288 456 my $thisrule = $thisparser->{"rules"}{"body_simple"};
1289  
1290 456 ▶ Parse::RecDescent::_trace(q{Trying rule: [body_simple]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1291 Parse::RecDescent::_tracefirst($_[1]),
1292 q{body_simple},
1293 $tracelevel)
1294 if defined $::RD_TRACE;
1295  
1296
1297 456 my $err_at = @{$thisparser->{errors}};
1298  
1299 456 my $score;
1300 my $score_return;
1301 456 my $_tok;
1302 456 my $return = undef;
1303 456 my $_matched=0;
1304 456 my $commit=0;
1305 456 my @item = ();
1306 456 my %item = ();
1307 456 my $repeating = $_[2];
1308 456 my $_noactions = $_[3];
1309 456 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 456 0 456
1310 456 my $_itempos = $_[5];
1311 456 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 456 0 456
1312 456 my $text;
1313 my $lastsep;
1314 456 my $current_match;
1315 456 my $expectation = new Parse::RecDescent::Expectation(q{value});
1316 456 $expectation->at($_[1]);
1317
1318 456 my $thisline;
1319 456 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1320  
1321
1322  
1323 456 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 456 0 456
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00456
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
1324 {
1325
1326 456 ▶ Parse::RecDescent::_trace(q{Trying production: [value ';']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1327 Parse::RecDescent::_tracefirst($_[1]),
1328 q{body_simple},
1329 $tracelevel)
1330 if defined $::RD_TRACE;
1331 456 my $thisprod = $thisrule->{"prods"}[0];
1332 456 $text = $_[1];
1333 456 my $_savetext;
1334 456 @item = (q{body_simple});
1335 456 %item = (__RULE__ => q{body_simple});
1336 456 my $repcount = 0;
1337  
1338  
1339 456 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1340 Parse::RecDescent::_tracefirst($text),
1341 q{body_simple},
1342 $tracelevel)
1343 if defined $::RD_TRACE;
1344 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1345 456 $expectation->is(q{})->at($text);
1346 456 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value($thisparser,$text,$repeating,$_noactions,sub { return [@{$arg[1]}] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.1
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value($thisparser, $text, $repeating, $_noactions, sub { return [@{$arg[1];}]; } , undef))) 0 456 456
1347 {
1348
1349 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1350 Parse::RecDescent::_tracefirst($text),
1351 q{body_simple},
1352 $tracelevel)
1353 if defined $::RD_TRACE;
1354 0 $expectation->failed();
1355 0 last;
1356 }
1357 456 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1358 . $_tok . q{]},
1359  
1360 Parse::RecDescent::_tracefirst($text),
1361 q{body_simple},
1362 $tracelevel)
1363 if defined $::RD_TRACE;
1364 456 $item{q{value}} = $_tok;
1365 456 push @item, $_tok;
1366
1367 }
1368  
1369 456 ▶ Parse::RecDescent::_trace(q{Trying terminal: [';']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1370 Parse::RecDescent::_tracefirst($text),
1371 q{body_simple},
1372 $tracelevel)
1373 if defined $::RD_TRACE;
1374 456 undef $lastsep;
1375 456 $expectation->is(q{';'})->at($text);
1376
1377  
1378 456 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\;/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\;/) 0 456 456
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\;/
!ll&&!rl&&r
00456
($lastsep = $1) && ''
!ll
4560
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\;/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\;/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
1379 {
1380 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
1381
1382 0 $expectation->failed();
1383 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1384 Parse::RecDescent::_tracefirst($text))
1385 if defined $::RD_TRACE;
1386 0 last;
1387 }
1388 456 $current_match = substr($text, $-[0], $+[0] - $-[0]);
1389 456 substr($text,0,length($current_match),q{});
1390 456 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1391 . $current_match . q{])},
1392 Parse::RecDescent::_tracefirst($text))
1393 if defined $::RD_TRACE;
1394 456 push @item, $item{__STRING1__}=$current_match;
1395
1396  
1397 456 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1398 Parse::RecDescent::_tracefirst($text),
1399 q{body_simple},
1400 $tracelevel)
1401 if defined $::RD_TRACE;
1402
1403  
1404 456 ▶ $_tok = ($_noactions) ? 0 : do { +{ -value => $item[1] }; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 456 456
1405 456 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 456 456
1406 {
1407 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1408 if defined $::RD_TRACE;
1409 0 last;
1410 }
1411 456 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1412 . $_tok . q{])},
1413 Parse::RecDescent::_tracefirst($text))
1414 if defined $::RD_TRACE;
1415 456 push @item, $_tok;
1416 456 $item{__ACTION1__}=$_tok;
1417
1418  
1419 456 ▶ Parse::RecDescent::_trace(q{>>Matched production: [value ';']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 456 456
1420 Parse::RecDescent::_tracefirst($text),
1421 q{body_simple},
1422 $tracelevel)
1423 if defined $::RD_TRACE;
1424  
1425  
1426  
1427 456 $_matched = 1;
1428 456 last;
1429 }
1430  
1431  
1432 456 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 456 456
1433 {
1434
1435 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1436 Parse::RecDescent::_tracefirst($_[1]),
1437 q{body_simple},
1438 $tracelevel)
1439 if defined $::RD_TRACE;
1440 0 my $thisprod = $thisrule->{"prods"}[1];
1441
1442 0 my $_savetext;
1443 0 @item = (q{body_simple});
1444 0 %item = (__RULE__ => q{body_simple});
1445 0 my $repcount = 0;
1446  
1447  
1448
1449  
1450 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1451 Parse::RecDescent::_tracefirst($text),
1452 q{body_simple},
1453 $tracelevel)
1454 if defined $::RD_TRACE;
1455 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
1456 0 my $rule = $item[0];
1457 0 $rule =~ s/_/ /g;
1458 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
1459 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
1460 0 } unless $_noactions; undef } else {0} };
1461 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
1462 {
1463 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1464 . $_tok . q{])},
1465 Parse::RecDescent::_tracefirst($text))
1466 if defined $::RD_TRACE;
1467 }
1468 else
1469 {
1470 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1471 Parse::RecDescent::_tracefirst($text))
1472 if defined $::RD_TRACE;
1473 }
1474
1475 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
1476 0 push @item, $item{__DIRECTIVE1__}=$_tok;
1477
1478  
1479 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1480 Parse::RecDescent::_tracefirst($text),
1481 q{body_simple},
1482 $tracelevel)
1483 if defined $::RD_TRACE;
1484  
1485  
1486  
1487 0 $_matched = 1;
1488 0 last;
1489 }
1490  
1491  
1492 456 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 456 456
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
45600
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
1493 {
1494
1495  
1496 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
1497 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1498 Parse::RecDescent::_tracefirst($_[1]),
1499 q{body_simple},
1500 $tracelevel)
1501 if defined $::RD_TRACE;
1502 0 return undef;
1503 }
1504 456 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 456 456
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
04560
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
ABresult
0X0
100
111
1505 {
1506 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1507 q{body_simple},
1508 $tracelevel)
1509 if defined $::RD_TRACE;
1510 0 $return = $score_return;
1511 }
1512 456 splice @{$thisparser->{errors}}, $err_at;
1513 456 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 456 0 456
1514 456 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 456 456
1515 {
1516 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1517 $return . q{])}, "",
1518 q{body_simple},
1519 $tracelevel);
1520 0 Parse::RecDescent::_trace(q{(consumed: [} .
1521 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1522 Parse::RecDescent::_tracefirst($text),
1523 , q{body_simple},
1524 $tracelevel)
1525 }
1526 456 $_[1] = $text;
1527 456 return $return;
1528 }
1529  
1530 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
1531 sub Parse::RecDescent::Config::Maker::Grammar::byte
1532 48 ▶{
Subroutine byte: called CC=21 SCAR=35.6
1533 48 my $thisparser = $_[0];
1534 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
1535 48 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
480
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
1536 48 $ERRORS = 0;
1537 48 my $thisrule = $thisparser->{"rules"}{"byte"};
1538  
1539 48 ▶ Parse::RecDescent::_trace(q{Trying rule: [byte]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
1540 Parse::RecDescent::_tracefirst($_[1]),
1541 q{byte},
1542 $tracelevel)
1543 if defined $::RD_TRACE;
1544  
1545
1546 48 my $err_at = @{$thisparser->{errors}};
1547  
1548 48 my $score;
1549 my $score_return;
1550 48 my $_tok;
1551 48 my $return = undef;
1552 48 my $_matched=0;
1553 48 my $commit=0;
1554 48 my @item = ();
1555 48 my %item = ();
1556 48 my $repeating = $_[2];
1557 48 my $_noactions = $_[3];
1558 48 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 48 0 48
1559 48 my $_itempos = $_[5];
1560 48 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 48 0 48
1561 48 my $text;
1562 my $lastsep;
1563 48 my $current_match;
1564 48 my $expectation = new Parse::RecDescent::Expectation(q{decint});
1565 48 $expectation->at($_[1]);
1566
1567 48 my $thisline;
1568 48 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1569  
1570
1571  
1572 48 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 48 0 48
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0048
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
1573 {
1574
1575 48 ▶ Parse::RecDescent::_trace(q{Trying production: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
1576 Parse::RecDescent::_tracefirst($_[1]),
1577 q{byte},
1578 $tracelevel)
1579 if defined $::RD_TRACE;
1580 48 my $thisprod = $thisrule->{"prods"}[0];
1581 48 $text = $_[1];
1582 48 my $_savetext;
1583 48 @item = (q{byte});
1584 48 %item = (__RULE__ => q{byte});
1585 48 my $repcount = 0;
1586  
1587  
1588 48 ▶ Parse::RecDescent::_trace(q{Trying subrule: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
1589 Parse::RecDescent::_tracefirst($text),
1590 q{byte},
1591 $tracelevel)
1592 if defined $::RD_TRACE;
1593 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1594 48 $expectation->is(q{})->at($text);
1595 48 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::decint($thisparser,$text,$repeating,$_noactions,sub { return [0,255] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = decint($thisparser, $text, $repeating, $_noactions, sub { return [0, 255]; } , undef))) 0 48 48
1596 {
1597
1598 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [decint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1599 Parse::RecDescent::_tracefirst($text),
1600 q{byte},
1601 $tracelevel)
1602 if defined $::RD_TRACE;
1603 0 $expectation->failed();
1604 0 last;
1605 }
1606 48 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [decint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
1607 . $_tok . q{]},
1608  
1609 Parse::RecDescent::_tracefirst($text),
1610 q{byte},
1611 $tracelevel)
1612 if defined $::RD_TRACE;
1613 48 $item{q{decint}} = $_tok;
1614 48 push @item, $_tok;
1615
1616 }
1617  
1618 48 ▶ Parse::RecDescent::_trace(q{>>Matched production: [decint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
1619 Parse::RecDescent::_tracefirst($text),
1620 q{byte},
1621 $tracelevel)
1622 if defined $::RD_TRACE;
1623  
1624  
1625  
1626 48 $_matched = 1;
1627 48 last;
1628 }
1629  
1630  
1631 48 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 48 48
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
4800
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
1632 {
1633
1634  
1635 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
1636 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1637 Parse::RecDescent::_tracefirst($_[1]),
1638 q{byte},
1639 $tracelevel)
1640 if defined $::RD_TRACE;
1641 0 return undef;
1642 }
1643 48 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 48 48
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0480
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
ABresult
0X0
100
111
1644 {
1645 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1646 q{byte},
1647 $tracelevel)
1648 if defined $::RD_TRACE;
1649 0 $return = $score_return;
1650 }
1651 48 splice @{$thisparser->{errors}}, $err_at;
1652 48 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 48 0 48
1653 48 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 48 48
1654 {
1655 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
1656 $return . q{])}, "",
1657 q{byte},
1658 $tracelevel);
1659 0 Parse::RecDescent::_trace(q{(consumed: [} .
1660 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
1661 Parse::RecDescent::_tracefirst($text),
1662 , q{byte},
1663 $tracelevel)
1664 }
1665 48 $_[1] = $text;
1666 48 return $return;
1667 }
1668  
1669 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
1670 sub Parse::RecDescent::Config::Maker::Grammar::closer
1671 37 ▶{
Subroutine closer: called CC=86 SCAR=65.2
1672 37 my $thisparser = $_[0];
1673 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
1674 37 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
370
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
1675 37 $ERRORS = 0;
1676 37 my $thisrule = $thisparser->{"rules"}{"closer"};
1677  
1678 37 ▶ Parse::RecDescent::_trace(q{Trying rule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
1679 Parse::RecDescent::_tracefirst($_[1]),
1680 q{closer},
1681 $tracelevel)
1682 if defined $::RD_TRACE;
1683  
1684
1685 37 my $err_at = @{$thisparser->{errors}};
1686  
1687 37 my $score;
1688 my $score_return;
1689 37 my $_tok;
1690 37 my $return = undef;
1691 37 my $_matched=0;
1692 37 my $commit=0;
1693 37 my @item = ();
1694 37 my %item = ();
1695 37 my $repeating = $_[2];
1696 37 my $_noactions = $_[3];
1697 37 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 37 0 37
1698 37 my $_itempos = $_[5];
1699 37 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 37 37
1700 37 my $text;
1701 my $lastsep;
1702 37 my $current_match;
1703 37 my $expectation = new Parse::RecDescent::Expectation(q{'[$', or '[/]'});
1704 37 $expectation->at($_[1]);
1705
1706 37 my $thisline;
1707 37 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
1708  
1709
1710  
1711 37 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 37 0 37
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0037
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
1712 {
1713 37 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 37 0 37
1714 37 ▶ Parse::RecDescent::_trace(q{Trying production: ['[$' <skip: qr/\s*/> 'end$arg[0]' <skip: ''> /(\\s[^\\$\\[\\]]*)?/ '$]' space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
1715 Parse::RecDescent::_tracefirst($_[1]),
1716 q{closer},
1717 $tracelevel)
1718 if defined $::RD_TRACE;
1719 37 my $thisprod = $thisrule->{"prods"}[0];
1720 37 $text = $_[1];
1721 37 my $_savetext;
1722 37 @item = (q{closer});
1723 37 %item = (__RULE__ => q{closer});
1724 37 my $repcount = 0;
1725  
1726  
1727 37 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[$']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
1728 Parse::RecDescent::_tracefirst($text),
1729 q{closer},
1730 $tracelevel)
1731 if defined $::RD_TRACE;
1732 37 undef $lastsep;
1733 37 $expectation->is(q{})->at($text);
1734
1735  
1736 37 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\$/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/) 26 11 37
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/
!ll&&!rl&&r
02611
($lastsep = $1) && ''
!ll
370
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[\$/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
1737 {
1738 26 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 26 0 26
1739
1740 26 $expectation->failed();
1741 26 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1742 Parse::RecDescent::_tracefirst($text))
1743 if defined $::RD_TRACE;
1744 26 last;
1745 }
1746 11 $current_match = substr($text, $-[0], $+[0] - $-[0]);
1747 11 substr($text,0,length($current_match),q{});
1748 11 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1749 . $current_match . q{])},
1750 Parse::RecDescent::_tracefirst($text))
1751 if defined $::RD_TRACE;
1752 11 push @item, $item{__STRING1__}=$current_match;
1753
1754  
1755
1756  
1757 11 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: qr/\s*/>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1758 Parse::RecDescent::_tracefirst($text),
1759 q{closer},
1760 $tracelevel)
1761 if defined $::RD_TRACE;
1762 11 $_tok = do { my $oldskip = $skip; $skip= qr/\s*/; $oldskip };
1763 11 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 11 0 11
1764 {
1765 11 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1766 . $_tok . q{])},
1767 Parse::RecDescent::_tracefirst($text))
1768 if defined $::RD_TRACE;
1769 }
1770 else
1771 {
1772 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1773 Parse::RecDescent::_tracefirst($text))
1774 if defined $::RD_TRACE;
1775 }
1776
1777 11 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 11 11
1778 11 push @item, $item{__DIRECTIVE1__}=$_tok;
1779
1780  
1781 11 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['end$arg[0]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1782 Parse::RecDescent::_tracefirst($text),
1783 q{closer},
1784 $tracelevel)
1785 if defined $::RD_TRACE;
1786 11 undef $lastsep;
1787 11 $expectation->is(q{'end$arg[0]'})->at($text);
1788
1789  
1790 11 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and do { $_tok = "end$arg[0]"; 1 } and
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "end$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }) 0 11 11
Condition45%5/11
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "end$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }
!ll&&!rl&&r
0011
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "end$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok
!ll&&!rl&&r
0011
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "end$arg[0]"; 1 }
!ll&&!rl&&r
0011
($lastsep = $1) && ''
!ll
29
MC/DC0%0/4
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "end$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e do { $_tok = "end$arg[0]"; 1 } substr($text, 0, length $_tok) eq $_tok do { substr($text, 0, length $_tok) = ""; 1 }
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table20%1/5
A and B and C and D
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= do { $_tok = "end$arg[0]"; 1 }C= substr($text, 0, length $_tok) eq $_tokD= do { substr($text, 0, length $_tok) = ""; 1 }
ABCDresult
0XXX0
10XX0
110X0
11100
11111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
1791 substr($text,0,length($_tok)) eq $_tok and
1792 11 do { substr($text,0,length($_tok)) = ""; 1; }
1793 )
1794 {
1795 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
1796
1797 0 $expectation->failed();
1798 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1799 Parse::RecDescent::_tracefirst($text))
1800 if defined $::RD_TRACE;
1801 0 last;
1802 }
1803 11 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1804 . $_tok . q{])},
1805 Parse::RecDescent::_tracefirst($text))
1806 if defined $::RD_TRACE;
1807 11 push @item, $item{__STRING2__}=$_tok;
1808
1809  
1810
1811  
1812 11 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1813 Parse::RecDescent::_tracefirst($text),
1814 q{closer},
1815 $tracelevel)
1816 if defined $::RD_TRACE;
1817 11 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
1818 11 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 11 0 11
1819 {
1820 11 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1821 . $_tok . q{])},
1822 Parse::RecDescent::_tracefirst($text))
1823 if defined $::RD_TRACE;
1824 }
1825 else
1826 {
1827 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1828 Parse::RecDescent::_tracefirst($text))
1829 if defined $::RD_TRACE;
1830 }
1831
1832 11 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 11 11
1833 11 push @item, $item{__DIRECTIVE2__}=$_tok;
1834
1835  
1836 11 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/(\\s[^\\$\\[\\]]*)?/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1837 q{closer},
1838 $tracelevel)
1839 if defined $::RD_TRACE;
1840 11 undef $lastsep;
1841 11 $expectation->is(q{/(\\s[^\\$\\[\\]]*)?/})->at($text);
1842
1843  
1844 11 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:(\s[^\$\[\]]*)?)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(\s[^\$\[\]]*)?)/) 0 11 11
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(\s[^\$\[\]]*)?)/
!ll&&!rl&&r
0011
($lastsep = $1) && ''
!ll
110
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:(\s[^\$\[\]]*)?)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:(\s[^\$\[\]]*)?)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:(\s[^\$\[\]]*)?)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
1845 {
1846 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
1847 0 $expectation->failed();
1848 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1849 Parse::RecDescent::_tracefirst($text))
1850 if defined $::RD_TRACE;
1851  
1852 0 last;
1853 }
1854 11 $current_match = substr($text, $-[0], $+[0] - $-[0]);
1855 11 substr($text,0,length($current_match),q{});
1856 11 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1857 . $current_match . q{])},
1858 Parse::RecDescent::_tracefirst($text))
1859 if defined $::RD_TRACE;
1860 11 push @item, $item{__PATTERN1__}=$current_match;
1861
1862  
1863 11 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['$]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1864 Parse::RecDescent::_tracefirst($text),
1865 q{closer},
1866 $tracelevel)
1867 if defined $::RD_TRACE;
1868 11 undef $lastsep;
1869 11 $expectation->is(q{'$]'})->at($text);
1870
1871  
1872 11 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\$\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/) 0 11 11
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/
!ll&&!rl&&r
0011
($lastsep = $1) && ''
!ll
110
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\$\]/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
1873 {
1874 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
1875
1876 0 $expectation->failed();
1877 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1878 Parse::RecDescent::_tracefirst($text))
1879 if defined $::RD_TRACE;
1880 0 last;
1881 }
1882 11 $current_match = substr($text, $-[0], $+[0] - $-[0]);
1883 11 substr($text,0,length($current_match),q{});
1884 11 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1885 . $current_match . q{])},
1886 Parse::RecDescent::_tracefirst($text))
1887 if defined $::RD_TRACE;
1888 11 push @item, $item{__STRING3__}=$current_match;
1889
1890  
1891 11 ▶ Parse::RecDescent::_trace(q{Trying subrule: [space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1892 Parse::RecDescent::_tracefirst($text),
1893 q{closer},
1894 $tracelevel)
1895 if defined $::RD_TRACE;
1896 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1897 11 $expectation->is(q{space})->at($text);
1898 11 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::space($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = space($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 11 11
1899 {
1900
1901 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [space]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1902 Parse::RecDescent::_tracefirst($text),
1903 q{closer},
1904 $tracelevel)
1905 if defined $::RD_TRACE;
1906 0 $expectation->failed();
1907 0 last;
1908 }
1909 11 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [space]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1910 . $_tok . q{]},
1911  
1912 Parse::RecDescent::_tracefirst($text),
1913 q{closer},
1914 $tracelevel)
1915 if defined $::RD_TRACE;
1916 11 $item{q{space}} = $_tok;
1917 11 push @item, $_tok;
1918
1919 }
1920  
1921 11 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[$' <skip: qr/\s*/> 'end$arg[0]' <skip: ''> /(\\s[^\\$\\[\\]]*)?/ '$]' space]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
1922 Parse::RecDescent::_tracefirst($text),
1923 q{closer},
1924 $tracelevel)
1925 if defined $::RD_TRACE;
1926  
1927  
1928  
1929 11 $_matched = 1;
1930 11 last;
1931 }
1932  
1933  
1934 37 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 26 11 37
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
11026
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
1935 {
1936
1937 26 ▶ Parse::RecDescent::_trace(q{Trying production: ['[/]' space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1938 Parse::RecDescent::_tracefirst($_[1]),
1939 q{closer},
1940 $tracelevel)
1941 if defined $::RD_TRACE;
1942 26 my $thisprod = $thisrule->{"prods"}[1];
1943 26 $text = $_[1];
1944 26 my $_savetext;
1945 26 @item = (q{closer});
1946 26 %item = (__RULE__ => q{closer});
1947 26 my $repcount = 0;
1948  
1949  
1950 26 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[/]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1951 Parse::RecDescent::_tracefirst($text),
1952 q{closer},
1953 $tracelevel)
1954 if defined $::RD_TRACE;
1955 26 undef $lastsep;
1956 26 $expectation->is(q{})->at($text);
1957
1958  
1959 26 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\/\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m(\A\[/\])) 0 26 26
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m(\A\[/\])
!ll&&!rl&&r
0026
($lastsep = $1) && ''
!ll
260
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m(\A\[/\])
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ m(\A\[/\])
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ m(\A\[/\])
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
1960 {
1961 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
1962
1963 0 $expectation->failed();
1964 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1965 Parse::RecDescent::_tracefirst($text))
1966 if defined $::RD_TRACE;
1967 0 last;
1968 }
1969 26 $current_match = substr($text, $-[0], $+[0] - $-[0]);
1970 26 substr($text,0,length($current_match),q{});
1971 26 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1972 . $current_match . q{])},
1973 Parse::RecDescent::_tracefirst($text))
1974 if defined $::RD_TRACE;
1975 26 push @item, $item{__STRING1__}=$current_match;
1976
1977  
1978 26 ▶ Parse::RecDescent::_trace(q{Trying subrule: [space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1979 Parse::RecDescent::_tracefirst($text),
1980 q{closer},
1981 $tracelevel)
1982 if defined $::RD_TRACE;
1983 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
1984 26 $expectation->is(q{space})->at($text);
1985 26 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::space($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = space($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 26 26
1986 {
1987
1988 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [space]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
1989 Parse::RecDescent::_tracefirst($text),
1990 q{closer},
1991 $tracelevel)
1992 if defined $::RD_TRACE;
1993 0 $expectation->failed();
1994 0 last;
1995 }
1996 26 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [space]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
1997 . $_tok . q{]},
1998  
1999 Parse::RecDescent::_tracefirst($text),
2000 q{closer},
2001 $tracelevel)
2002 if defined $::RD_TRACE;
2003 26 $item{q{space}} = $_tok;
2004 26 push @item, $_tok;
2005
2006 }
2007  
2008 26 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[/]' space]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
2009 Parse::RecDescent::_tracefirst($text),
2010 q{closer},
2011 $tracelevel)
2012 if defined $::RD_TRACE;
2013  
2014  
2015  
2016 26 $_matched = 1;
2017 26 last;
2018 }
2019  
2020  
2021 37 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 37 37
2022 {
2023
2024 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2025 Parse::RecDescent::_tracefirst($_[1]),
2026 q{closer},
2027 $tracelevel)
2028 if defined $::RD_TRACE;
2029 0 my $thisprod = $thisrule->{"prods"}[2];
2030
2031 0 my $_savetext;
2032 0 @item = (q{closer});
2033 0 %item = (__RULE__ => q{closer});
2034 0 my $repcount = 0;
2035  
2036  
2037
2038  
2039 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2040 Parse::RecDescent::_tracefirst($text),
2041 q{closer},
2042 $tracelevel)
2043 if defined $::RD_TRACE;
2044 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
2045 0 my $rule = $item[0];
2046 0 $rule =~ s/_/ /g;
2047 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
2048 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
2049 0 } unless $_noactions; undef } else {0} };
2050 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
2051 {
2052 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2053 . $_tok . q{])},
2054 Parse::RecDescent::_tracefirst($text))
2055 if defined $::RD_TRACE;
2056 }
2057 else
2058 {
2059 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2060 Parse::RecDescent::_tracefirst($text))
2061 if defined $::RD_TRACE;
2062 }
2063
2064 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
2065 0 push @item, $item{__DIRECTIVE1__}=$_tok;
2066
2067  
2068 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2069 Parse::RecDescent::_tracefirst($text),
2070 q{closer},
2071 $tracelevel)
2072 if defined $::RD_TRACE;
2073  
2074  
2075  
2076 0 $_matched = 1;
2077 0 last;
2078 }
2079  
2080  
2081 37 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 37 37
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
3700
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
2082 {
2083
2084  
2085 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
2086 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2087 Parse::RecDescent::_tracefirst($_[1]),
2088 q{closer},
2089 $tracelevel)
2090 if defined $::RD_TRACE;
2091 0 return undef;
2092 }
2093 37 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 37 37
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0370
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
ABresult
0X0
100
111
2094 {
2095 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2096 q{closer},
2097 $tracelevel)
2098 if defined $::RD_TRACE;
2099 0 $return = $score_return;
2100 }
2101 37 splice @{$thisparser->{errors}}, $err_at;
2102 37 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 37 0 37
2103 37 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 37 37
2104 {
2105 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2106 $return . q{])}, "",
2107 q{closer},
2108 $tracelevel);
2109 0 Parse::RecDescent::_trace(q{(consumed: [} .
2110 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2111 Parse::RecDescent::_tracefirst($text),
2112 , q{closer},
2113 $tracelevel)
2114 }
2115 37 $_[1] = $text;
2116 37 return $return;
2117 }
2118  
2119 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
2120 sub Parse::RecDescent::Config::Maker::Grammar::configuration
2121 98 ▶{
Subroutine configuration: called CC=45 SCAR=54.8
2122 98 my $thisparser = $_[0];
2123 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
2124 98 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition100%2/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
494
MC/DC100%1/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table100%2/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
2125 98 $ERRORS = 0;
2126 98 my $thisrule = $thisparser->{"rules"}{"configuration"};
2127  
2128 98 ▶ Parse::RecDescent::_trace(q{Trying rule: [configuration]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2129 Parse::RecDescent::_tracefirst($_[1]),
2130 q{configuration},
2131 $tracelevel)
2132 if defined $::RD_TRACE;
2133  
2134
2135 98 my $err_at = @{$thisparser->{errors}};
2136  
2137 98 my $score;
2138 my $score_return;
2139 98 my $_tok;
2140 98 my $return = undef;
2141 98 my $_matched=0;
2142 98 my $commit=0;
2143 98 my @item = ();
2144 98 my %item = ();
2145 98 my $repeating = $_[2];
2146 98 my $_noactions = $_[3];
2147 98 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 98 0 98
2148 98 my $_itempos = $_[5];
2149 98 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 98 98
2150 98 my $text;
2151 my $lastsep;
2152 98 my $current_match;
2153 98 my $expectation = new Parse::RecDescent::Expectation(q{});
2154 98 $expectation->at($_[1]);
2155
2156 98 my $thisline;
2157 98 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2158  
2159
2160  
2161 98 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 98 0 98
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0098
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
2162 {
2163 98 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 98 0 98
2164 98 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: qr/(\s|#[^\n]*)*/> option eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2165 Parse::RecDescent::_tracefirst($_[1]),
2166 q{configuration},
2167 $tracelevel)
2168 if defined $::RD_TRACE;
2169 98 my $thisprod = $thisrule->{"prods"}[0];
2170 98 $text = $_[1];
2171 98 my $_savetext;
2172 98 @item = (q{configuration});
2173 98 %item = (__RULE__ => q{configuration});
2174 98 my $repcount = 0;
2175  
2176  
2177
2178  
2179 98 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: qr/(\s|#[^\n]*)*/>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2180 Parse::RecDescent::_tracefirst($text),
2181 q{configuration},
2182 $tracelevel)
2183 if defined $::RD_TRACE;
2184 98 $_tok = do { my $oldskip = $skip; $skip= qr/(\s|#[^\n]*)*/; $oldskip };
2185 98 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 98 0 98
2186 {
2187 98 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2188 . $_tok . q{])},
2189 Parse::RecDescent::_tracefirst($text))
2190 if defined $::RD_TRACE;
2191 }
2192 else
2193 {
2194 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2195 Parse::RecDescent::_tracefirst($text))
2196 if defined $::RD_TRACE;
2197 }
2198
2199 98 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 98 98
2200 98 push @item, $item{__DIRECTIVE1__}=$_tok;
2201
2202  
2203 98 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [option]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2204 Parse::RecDescent::_tracefirst($text),
2205 q{configuration},
2206 $tracelevel)
2207 if defined $::RD_TRACE;
2208 98 $expectation->is(q{option})->at($text);
2209
2210 98 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::option, 0, 100000000, $_noactions,$expectation,sub { return [$arg[0]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::option, 0, 100000000, $_noactions, $expectation, sub { return [$arg[0]]; } , undef))) 0 98 98
2211 {
2212 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [option]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2213 Parse::RecDescent::_tracefirst($text),
2214 q{configuration},
2215 $tracelevel)
2216 if defined $::RD_TRACE;
2217 0 last;
2218 }
2219 98 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [option]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2220 . @$_tok . q{ times)},
2221  
2222 Parse::RecDescent::_tracefirst($text),
2223 q{configuration},
2224 $tracelevel)
2225 if defined $::RD_TRACE;
2226 98 $item{q{option(s?)}} = $_tok;
2227 98 push @item, $_tok;
2228
2229  
2230  
2231 98 ▶ Parse::RecDescent::_trace(q{Trying subrule: [eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2232 Parse::RecDescent::_tracefirst($text),
2233 q{configuration},
2234 $tracelevel)
2235 if defined $::RD_TRACE;
2236 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
2237 98 $expectation->is(q{eof})->at($text);
2238 98 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 98 98
2239 {
2240
2241 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [eof]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2242 Parse::RecDescent::_tracefirst($text),
2243 q{configuration},
2244 $tracelevel)
2245 if defined $::RD_TRACE;
2246 0 $expectation->failed();
2247 0 last;
2248 }
2249 98 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [eof]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2250 . $_tok . q{]},
2251  
2252 Parse::RecDescent::_tracefirst($text),
2253 q{configuration},
2254 $tracelevel)
2255 if defined $::RD_TRACE;
2256 98 $item{q{eof}} = $_tok;
2257 98 push @item, $_tok;
2258
2259 }
2260  
2261 98 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2262 Parse::RecDescent::_tracefirst($text),
2263 q{configuration},
2264 $tracelevel)
2265 if defined $::RD_TRACE;
2266
2267  
2268 98 ▶ $_tok = ($_noactions) ? 0 : do { $item[2]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 98 98
2269 98 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 98 98
2270 {
2271 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2272 if defined $::RD_TRACE;
2273 0 last;
2274 }
2275 98 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2276 . $_tok . q{])},
2277 Parse::RecDescent::_tracefirst($text))
2278 if defined $::RD_TRACE;
2279 98 push @item, $_tok;
2280 98 $item{__ACTION1__}=$_tok;
2281
2282  
2283 98 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: qr/(\s|#[^\n]*)*/> option eof]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 98 98
2284 Parse::RecDescent::_tracefirst($text),
2285 q{configuration},
2286 $tracelevel)
2287 if defined $::RD_TRACE;
2288  
2289  
2290  
2291 98 $_matched = 1;
2292 98 last;
2293 }
2294  
2295  
2296 98 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 98 98
2297 {
2298
2299 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2300 Parse::RecDescent::_tracefirst($_[1]),
2301 q{configuration},
2302 $tracelevel)
2303 if defined $::RD_TRACE;
2304 0 my $thisprod = $thisrule->{"prods"}[1];
2305
2306 0 my $_savetext;
2307 0 @item = (q{configuration});
2308 0 %item = (__RULE__ => q{configuration});
2309 0 my $repcount = 0;
2310  
2311  
2312
2313  
2314 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2315 Parse::RecDescent::_tracefirst($text),
2316 q{configuration},
2317 $tracelevel)
2318 if defined $::RD_TRACE;
2319 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
2320 0 my $rule = $item[0];
2321 0 $rule =~ s/_/ /g;
2322 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
2323 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
2324 0 } unless $_noactions; undef } else {0} };
2325 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
2326 {
2327 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2328 . $_tok . q{])},
2329 Parse::RecDescent::_tracefirst($text))
2330 if defined $::RD_TRACE;
2331 }
2332 else
2333 {
2334 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2335 Parse::RecDescent::_tracefirst($text))
2336 if defined $::RD_TRACE;
2337 }
2338
2339 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
2340 0 push @item, $item{__DIRECTIVE1__}=$_tok;
2341
2342  
2343 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2344 Parse::RecDescent::_tracefirst($text),
2345 q{configuration},
2346 $tracelevel)
2347 if defined $::RD_TRACE;
2348  
2349  
2350  
2351 0 $_matched = 1;
2352 0 last;
2353 }
2354  
2355  
2356 98 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 98 98
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
9800
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
2357 {
2358
2359  
2360 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
2361 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2362 Parse::RecDescent::_tracefirst($_[1]),
2363 q{configuration},
2364 $tracelevel)
2365 if defined $::RD_TRACE;
2366 0 return undef;
2367 }
2368 98 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 98 98
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0980
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
ABresult
0X0
100
111
2369 {
2370 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2371 q{configuration},
2372 $tracelevel)
2373 if defined $::RD_TRACE;
2374 0 $return = $score_return;
2375 }
2376 98 splice @{$thisparser->{errors}}, $err_at;
2377 98 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 98 0 98
2378 98 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 98 98
2379 {
2380 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2381 $return . q{])}, "",
2382 q{configuration},
2383 $tracelevel);
2384 0 Parse::RecDescent::_trace(q{(consumed: [} .
2385 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2386 Parse::RecDescent::_tracefirst($text),
2387 , q{configuration},
2388 $tracelevel)
2389 }
2390 98 $_[1] = $text;
2391 98 return $return;
2392 }
2393  
2394 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
2395 sub Parse::RecDescent::Config::Maker::Grammar::decint
2396 53 ▶{
Subroutine decint: called CC=67 SCAR=67.8
2397 53 my $thisparser = $_[0];
2398 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
2399 53 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
530
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
2400 53 $ERRORS = 0;
2401 53 my $thisrule = $thisparser->{"rules"}{"decint"};
2402  
2403 53 ▶ Parse::RecDescent::_trace(q{Trying rule: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2404 Parse::RecDescent::_tracefirst($_[1]),
2405 q{decint},
2406 $tracelevel)
2407 if defined $::RD_TRACE;
2408  
2409
2410 53 my $err_at = @{$thisparser->{errors}};
2411  
2412 53 my $score;
2413 my $score_return;
2414 53 my $_tok;
2415 53 my $return = undef;
2416 53 my $_matched=0;
2417 53 my $commit=0;
2418 53 my @item = ();
2419 53 my %item = ();
2420 53 my $repeating = $_[2];
2421 53 my $_noactions = $_[3];
2422 53 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 53 0 53
2423 53 my $_itempos = $_[5];
2424 53 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 53 0 53
2425 53 my $text;
2426 my $lastsep;
2427 53 my $current_match;
2428 53 my $expectation = new Parse::RecDescent::Expectation(q{/[+-]\\d+/, or /[1-9]\\d*|0/});
2429 53 $expectation->at($_[1]);
2430
2431 53 my $thisline;
2432 53 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2433  
2434
2435  
2436 53 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 53 0 53
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0053
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
2437 {
2438
2439 53 ▶ Parse::RecDescent::_trace(q{Trying production: [/[+-]\\d+/ <commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2440 Parse::RecDescent::_tracefirst($_[1]),
2441 q{decint},
2442 $tracelevel)
2443 if defined $::RD_TRACE;
2444 53 my $thisprod = $thisrule->{"prods"}[0];
2445 53 $text = $_[1];
2446 53 my $_savetext;
2447 53 @item = (q{decint});
2448 53 %item = (__RULE__ => q{decint});
2449 53 my $repcount = 0;
2450  
2451  
2452 53 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[+-]\\d+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2453 q{decint},
2454 $tracelevel)
2455 if defined $::RD_TRACE;
2456 53 undef $lastsep;
2457 53 $expectation->is(q{})->at($text);
2458
2459  
2460 53 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[+-]\d+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]\d+)/) 53 0 53
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]\d+)/
!ll&&!rl&&r
0530
($lastsep = $1) && ''
!ll
530
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]\d+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[+-]\d+)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[+-]\d+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2461 {
2462 53 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 53 0 53
2463 53 $expectation->failed();
2464 53 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2465 Parse::RecDescent::_tracefirst($text))
2466 if defined $::RD_TRACE;
2467  
2468 53 last;
2469 }
2470 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2471 0 substr($text,0,length($current_match),q{});
2472 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2473 . $current_match . q{])},
2474 Parse::RecDescent::_tracefirst($text))
2475 if defined $::RD_TRACE;
2476 0 push @item, $item{__PATTERN1__}=$current_match;
2477
2478  
2479
2480  
2481 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2482 Parse::RecDescent::_tracefirst($text),
2483 q{decint},
2484 $tracelevel)
2485 if defined $::RD_TRACE;
2486 0 $_tok = do { $commit = 1 };
2487 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
2488 {
2489 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2490 . $_tok . q{])},
2491 Parse::RecDescent::_tracefirst($text))
2492 if defined $::RD_TRACE;
2493 }
2494 else
2495 {
2496 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2497 Parse::RecDescent::_tracefirst($text))
2498 if defined $::RD_TRACE;
2499 }
2500
2501 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
2502 0 push @item, $item{__DIRECTIVE1__}=$_tok;
2503
2504  
2505 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2506 Parse::RecDescent::_tracefirst($text),
2507 q{decint},
2508 $tracelevel)
2509 if defined $::RD_TRACE;
2510
2511  
2512 0 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::limit(0 + $item[1], @arg); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
2513 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
2514 {
2515 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2516 if defined $::RD_TRACE;
2517 0 last;
2518 }
2519 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2520 . $_tok . q{])},
2521 Parse::RecDescent::_tracefirst($text))
2522 if defined $::RD_TRACE;
2523 0 push @item, $_tok;
2524 0 $item{__ACTION1__}=$_tok;
2525
2526  
2527 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[+-]\\d+/ <commit>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2528 Parse::RecDescent::_tracefirst($text),
2529 q{decint},
2530 $tracelevel)
2531 if defined $::RD_TRACE;
2532  
2533  
2534  
2535 0 $_matched = 1;
2536 0 last;
2537 }
2538  
2539  
2540 53 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 53 0 53
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0053
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
2541 {
2542
2543 53 ▶ Parse::RecDescent::_trace(q{Trying production: [/[1-9]\\d*|0/ <commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2544 Parse::RecDescent::_tracefirst($_[1]),
2545 q{decint},
2546 $tracelevel)
2547 if defined $::RD_TRACE;
2548 53 my $thisprod = $thisrule->{"prods"}[1];
2549 53 $text = $_[1];
2550 53 my $_savetext;
2551 53 @item = (q{decint});
2552 53 %item = (__RULE__ => q{decint});
2553 53 my $repcount = 0;
2554  
2555  
2556 53 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[1-9]\\d*|0/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2557 q{decint},
2558 $tracelevel)
2559 if defined $::RD_TRACE;
2560 53 undef $lastsep;
2561 53 $expectation->is(q{})->at($text);
2562
2563  
2564 53 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[1-9]\d*|0)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[1-9]\d*|0)/) 0 53 53
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[1-9]\d*|0)/
!ll&&!rl&&r
0053
($lastsep = $1) && ''
!ll
530
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[1-9]\d*|0)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[1-9]\d*|0)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[1-9]\d*|0)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2565 {
2566 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
2567 0 $expectation->failed();
2568 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2569 Parse::RecDescent::_tracefirst($text))
2570 if defined $::RD_TRACE;
2571  
2572 0 last;
2573 }
2574 53 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2575 53 substr($text,0,length($current_match),q{});
2576 53 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2577 . $current_match . q{])},
2578 Parse::RecDescent::_tracefirst($text))
2579 if defined $::RD_TRACE;
2580 53 push @item, $item{__PATTERN1__}=$current_match;
2581
2582  
2583
2584  
2585 53 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2586 Parse::RecDescent::_tracefirst($text),
2587 q{decint},
2588 $tracelevel)
2589 if defined $::RD_TRACE;
2590 53 $_tok = do { $commit = 1 };
2591 53 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 53 0 53
2592 {
2593 53 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2594 . $_tok . q{])},
2595 Parse::RecDescent::_tracefirst($text))
2596 if defined $::RD_TRACE;
2597 }
2598 else
2599 {
2600 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2601 Parse::RecDescent::_tracefirst($text))
2602 if defined $::RD_TRACE;
2603 }
2604
2605 53 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 53 53
2606 53 push @item, $item{__DIRECTIVE1__}=$_tok;
2607
2608  
2609 53 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2610 Parse::RecDescent::_tracefirst($text),
2611 q{decint},
2612 $tracelevel)
2613 if defined $::RD_TRACE;
2614
2615  
2616 53 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::limit(0 + $item[1], @arg); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 53 53
2617 53 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 53 53
2618 {
2619 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2620 if defined $::RD_TRACE;
2621 0 last;
2622 }
2623 53 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2624 . $_tok . q{])},
2625 Parse::RecDescent::_tracefirst($text))
2626 if defined $::RD_TRACE;
2627 53 push @item, $_tok;
2628 53 $item{__ACTION1__}=$_tok;
2629
2630  
2631 53 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[1-9]\\d*|0/ <commit>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 53 53
2632 Parse::RecDescent::_tracefirst($text),
2633 q{decint},
2634 $tracelevel)
2635 if defined $::RD_TRACE;
2636  
2637  
2638  
2639 53 $_matched = 1;
2640 53 last;
2641 }
2642  
2643  
2644 53 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 53 53
2645 {
2646
2647 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2648 Parse::RecDescent::_tracefirst($_[1]),
2649 q{decint},
2650 $tracelevel)
2651 if defined $::RD_TRACE;
2652 0 my $thisprod = $thisrule->{"prods"}[2];
2653
2654 0 my $_savetext;
2655 0 @item = (q{decint});
2656 0 %item = (__RULE__ => q{decint});
2657 0 my $repcount = 0;
2658  
2659  
2660
2661  
2662 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2663 Parse::RecDescent::_tracefirst($text),
2664 q{decint},
2665 $tracelevel)
2666 if defined $::RD_TRACE;
2667 0 ▶ $_tok = do { if ($commit) { do {push @{$thisparser->{errors}}, [qq{ Number $item[1] out of range},$thisline];} unless $_noactions; undef } else {0} };
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 0 0
unless ($_noactions) 0 0 0
2668 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
2669 {
2670 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2671 . $_tok . q{])},
2672 Parse::RecDescent::_tracefirst($text))
2673 if defined $::RD_TRACE;
2674 }
2675 else
2676 {
2677 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2678 Parse::RecDescent::_tracefirst($text))
2679 if defined $::RD_TRACE;
2680 }
2681
2682 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
2683 0 push @item, $item{__DIRECTIVE1__}=$_tok;
2684
2685  
2686 0 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2687 Parse::RecDescent::_tracefirst($text),
2688 q{decint},
2689 $tracelevel)
2690 if defined $::RD_TRACE;
2691 0 undef $return;
2692
2693  
2694 0 $_tok = undef;
2695
2696 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
2697  
2698 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2699 Parse::RecDescent::_tracefirst($text),
2700 q{decint},
2701 $tracelevel)
2702 if defined $::RD_TRACE;
2703  
2704  
2705  
2706 0 $_matched = 1;
2707 0 last;
2708 }
2709  
2710  
2711 53 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 53 53
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
5300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
2712 {
2713
2714  
2715 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
2716 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2717 Parse::RecDescent::_tracefirst($_[1]),
2718 q{decint},
2719 $tracelevel)
2720 if defined $::RD_TRACE;
2721 0 return undef;
2722 }
2723 53 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 53 53
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0530
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
ABresult
0X0
100
111
2724 {
2725 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2726 q{decint},
2727 $tracelevel)
2728 if defined $::RD_TRACE;
2729 0 $return = $score_return;
2730 }
2731 53 splice @{$thisparser->{errors}}, $err_at;
2732 53 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 53 0 53
2733 53 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 53 53
2734 {
2735 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
2736 $return . q{])}, "",
2737 q{decint},
2738 $tracelevel);
2739 0 Parse::RecDescent::_trace(q{(consumed: [} .
2740 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
2741 Parse::RecDescent::_tracefirst($text),
2742 , q{decint},
2743 $tracelevel)
2744 }
2745 53 $_[1] = $text;
2746 53 return $return;
2747 }
2748  
2749 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
2750 sub Parse::RecDescent::Config::Maker::Grammar::directive
2751 248 ▶{
Subroutine directive: called CC=380 SCAR=86.6
2752 248 my $thisparser = $_[0];
2753 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
2754 248 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
2480
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
2755 248 $ERRORS = 0;
2756 248 my $thisrule = $thisparser->{"rules"}{"directive"};
2757  
2758 248 ▶ Parse::RecDescent::_trace(q{Trying rule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 248 248
2759 Parse::RecDescent::_tracefirst($_[1]),
2760 q{directive},
2761 $tracelevel)
2762 if defined $::RD_TRACE;
2763  
2764
2765 248 my $err_at = @{$thisparser->{errors}};
2766  
2767 248 my $score;
2768 my $score_return;
2769 248 my $_tok;
2770 248 my $return = undef;
2771 248 my $_matched=0;
2772 248 my $commit=0;
2773 248 my @item = ();
2774 248 my %item = ();
2775 248 my $repeating = $_[2];
2776 248 my $_noactions = $_[3];
2777 248 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 248 0 248
2778 248 my $_itempos = $_[5];
2779 248 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 248 0 248
2780 248 my $text;
2781 my $lastsep;
2782 248 my $current_match;
2783 248 my $expectation = new Parse::RecDescent::Expectation(q{/([^\\[]|\\[\\[)+/, or '[#', or '[', or '[+', or '[<', or opener});
2784 248 $expectation->at($_[1]);
2785
2786 248 my $thisline;
2787 248 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
2788  
2789
2790  
2791 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 248 0 248
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00248
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
2792 {
2793
2794 248 ▶ Parse::RecDescent::_trace(q{Trying production: [/([^\\[]|\\[\\[)+/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 248 248
2795 Parse::RecDescent::_tracefirst($_[1]),
2796 q{directive},
2797 $tracelevel)
2798 if defined $::RD_TRACE;
2799 248 my $thisprod = $thisrule->{"prods"}[0];
2800 248 $text = $_[1];
2801 248 my $_savetext;
2802 248 @item = (q{directive});
2803 248 %item = (__RULE__ => q{directive});
2804 248 my $repcount = 0;
2805  
2806  
2807 248 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/([^\\[]|\\[\\[)+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 248 248
2808 q{directive},
2809 $tracelevel)
2810 if defined $::RD_TRACE;
2811 248 undef $lastsep;
2812 248 $expectation->is(q{})->at($text);
2813
2814  
2815 248 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:([^\[]|\[\[)+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^\[]|\[\[)+)/) 165 83 248
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^\[]|\[\[)+)/
!ll&&!rl&&r
016583
($lastsep = $1) && ''
!ll
2480
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^\[]|\[\[)+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:([^\[]|\[\[)+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2816 {
2817 165 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 165 0 165
2818 165 $expectation->failed();
2819 165 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 165 165
2820 Parse::RecDescent::_tracefirst($text))
2821 if defined $::RD_TRACE;
2822  
2823 165 last;
2824 }
2825 83 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2826 83 substr($text,0,length($current_match),q{});
2827 83 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
2828 . $current_match . q{])},
2829 Parse::RecDescent::_tracefirst($text))
2830 if defined $::RD_TRACE;
2831 83 push @item, $item{__PATTERN1__}=$current_match;
2832
2833  
2834 83 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
2835 Parse::RecDescent::_tracefirst($text),
2836 q{directive},
2837 $tracelevel)
2838 if defined $::RD_TRACE;
2839
2840  
2841 83 ▶ $_tok = ($_noactions) ? 0 : do { $item[1] =~ s/\[\[/[/g; $item[1] =~ s/\]\]/\]/g; $item[1]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 83 83
2842 83 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 83 83
2843 {
2844 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2845 if defined $::RD_TRACE;
2846 0 last;
2847 }
2848 83 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
2849 . $_tok . q{])},
2850 Parse::RecDescent::_tracefirst($text))
2851 if defined $::RD_TRACE;
2852 83 push @item, $_tok;
2853 83 $item{__ACTION1__}=$_tok;
2854
2855  
2856 83 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/([^\\[]|\\[\\[)+/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
2857 Parse::RecDescent::_tracefirst($text),
2858 q{directive},
2859 $tracelevel)
2860 if defined $::RD_TRACE;
2861  
2862  
2863  
2864 83 $_matched = 1;
2865 83 last;
2866 }
2867  
2868  
2869 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 165 83 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
830165
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
2870 {
2871
2872 165 ▶ Parse::RecDescent::_trace(q{Trying production: ['[#' <commit> /([^#]|#[^\\]])*/ '#]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 165 165
2873 Parse::RecDescent::_tracefirst($_[1]),
2874 q{directive},
2875 $tracelevel)
2876 if defined $::RD_TRACE;
2877 165 my $thisprod = $thisrule->{"prods"}[1];
2878 165 $text = $_[1];
2879 165 my $_savetext;
2880 165 @item = (q{directive});
2881 165 %item = (__RULE__ => q{directive});
2882 165 my $repcount = 0;
2883  
2884  
2885 165 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[#']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 165 165
2886 Parse::RecDescent::_tracefirst($text),
2887 q{directive},
2888 $tracelevel)
2889 if defined $::RD_TRACE;
2890 165 undef $lastsep;
2891 165 $expectation->is(q{})->at($text);
2892
2893  
2894 165 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\#/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\#/) 163 2 165
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\#/
!ll&&!rl&&r
01632
($lastsep = $1) && ''
!ll
1650
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\#/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[\#/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2895 {
2896 163 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 163 0 163
2897
2898 163 $expectation->failed();
2899 163 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
2900 Parse::RecDescent::_tracefirst($text))
2901 if defined $::RD_TRACE;
2902 163 last;
2903 }
2904 2 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2905 2 substr($text,0,length($current_match),q{});
2906 2 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2907 . $current_match . q{])},
2908 Parse::RecDescent::_tracefirst($text))
2909 if defined $::RD_TRACE;
2910 2 push @item, $item{__STRING1__}=$current_match;
2911
2912  
2913
2914  
2915 2 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2916 Parse::RecDescent::_tracefirst($text),
2917 q{directive},
2918 $tracelevel)
2919 if defined $::RD_TRACE;
2920 2 $_tok = do { $commit = 1 };
2921 2 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 2 0 2
2922 {
2923 2 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2924 . $_tok . q{])},
2925 Parse::RecDescent::_tracefirst($text))
2926 if defined $::RD_TRACE;
2927 }
2928 else
2929 {
2930 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2931 Parse::RecDescent::_tracefirst($text))
2932 if defined $::RD_TRACE;
2933 }
2934
2935 2 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 2 2
2936 2 push @item, $item{__DIRECTIVE1__}=$_tok;
2937
2938  
2939 2 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/([^#]|#[^\\]])*/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2940 q{directive},
2941 $tracelevel)
2942 if defined $::RD_TRACE;
2943 2 undef $lastsep;
2944 2 $expectation->is(q{/([^#]|#[^\\]])*/})->at($text);
2945
2946  
2947 2 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:([^#]|#[^\]])*)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^#]|#[^\]])*)/) 0 2 2
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^#]|#[^\]])*)/
!ll&&!rl&&r
002
($lastsep = $1) && ''
!ll
20
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([^#]|#[^\]])*)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:([^#]|#[^\]])*)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2948 {
2949 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
2950 0 $expectation->failed();
2951 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2952 Parse::RecDescent::_tracefirst($text))
2953 if defined $::RD_TRACE;
2954  
2955 0 last;
2956 }
2957 2 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2958 2 substr($text,0,length($current_match),q{});
2959 2 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2960 . $current_match . q{])},
2961 Parse::RecDescent::_tracefirst($text))
2962 if defined $::RD_TRACE;
2963 2 push @item, $item{__PATTERN1__}=$current_match;
2964
2965  
2966 2 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['#]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2967 Parse::RecDescent::_tracefirst($text),
2968 q{directive},
2969 $tracelevel)
2970 if defined $::RD_TRACE;
2971 2 undef $lastsep;
2972 2 $expectation->is(q{'#]'})->at($text);
2973
2974  
2975 2 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\#\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\#\]/) 0 2 2
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\#\]/
!ll&&!rl&&r
002
($lastsep = $1) && ''
!ll
20
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\#\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\#\]/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
2976 {
2977 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
2978
2979 0 $expectation->failed();
2980 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
2981 Parse::RecDescent::_tracefirst($text))
2982 if defined $::RD_TRACE;
2983 0 last;
2984 }
2985 2 $current_match = substr($text, $-[0], $+[0] - $-[0]);
2986 2 substr($text,0,length($current_match),q{});
2987 2 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2988 . $current_match . q{])},
2989 Parse::RecDescent::_tracefirst($text))
2990 if defined $::RD_TRACE;
2991 2 push @item, $item{__STRING2__}=$current_match;
2992
2993  
2994 2 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
2995 Parse::RecDescent::_tracefirst($text),
2996 q{directive},
2997 $tracelevel)
2998 if defined $::RD_TRACE;
2999
3000  
3001 2 ▶ $_tok = ($_noactions) ? 0 : do { ''; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 2 2
3002 2 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 2 2
3003 {
3004 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3005 if defined $::RD_TRACE;
3006 0 last;
3007 }
3008 2 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
3009 . $_tok . q{])},
3010 Parse::RecDescent::_tracefirst($text))
3011 if defined $::RD_TRACE;
3012 2 push @item, $_tok;
3013 2 $item{__ACTION1__}=$_tok;
3014
3015  
3016 2 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[#' <commit> /([^#]|#[^\\]])*/ '#]']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
3017 Parse::RecDescent::_tracefirst($text),
3018 q{directive},
3019 $tracelevel)
3020 if defined $::RD_TRACE;
3021  
3022  
3023  
3024 2 $_matched = 1;
3025 2 last;
3026 }
3027  
3028  
3029 248 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 163 85 248
3030 {
3031
3032 163 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3033 Parse::RecDescent::_tracefirst($_[1]),
3034 q{directive},
3035 $tracelevel)
3036 if defined $::RD_TRACE;
3037 163 my $thisprod = $thisrule->{"prods"}[2];
3038
3039 163 my $_savetext;
3040 163 @item = (q{directive});
3041 163 %item = (__RULE__ => q{directive});
3042 163 my $repcount = 0;
3043  
3044  
3045
3046  
3047 163 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3048 Parse::RecDescent::_tracefirst($text),
3049 q{directive},
3050 $tracelevel)
3051 if defined $::RD_TRACE;
3052 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 163 163
unless ($_noactions) 0 0 0
3053 0 my $rule = $item[0];
3054 0 $rule =~ s/_/ /g;
3055 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
3056 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
3057 0 } unless $_noactions; undef } else {0} };
3058 163 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 163 0 163
3059 {
3060 163 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3061 . $_tok . q{])},
3062 Parse::RecDescent::_tracefirst($text))
3063 if defined $::RD_TRACE;
3064 }
3065 else
3066 {
3067 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3068 Parse::RecDescent::_tracefirst($text))
3069 if defined $::RD_TRACE;
3070 }
3071
3072 163 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 163 163
3073 163 push @item, $item{__DIRECTIVE1__}=$_tok;
3074
3075  
3076 163 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3077 Parse::RecDescent::_tracefirst($text),
3078 q{directive},
3079 $tracelevel)
3080 if defined $::RD_TRACE;
3081 163 undef $return;
3082
3083  
3084 163 $_tok = undef;
3085
3086 163 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 163 0 163
3087  
3088 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3089 Parse::RecDescent::_tracefirst($text),
3090 q{directive},
3091 $tracelevel)
3092 if defined $::RD_TRACE;
3093  
3094  
3095  
3096 0 $_matched = 1;
3097 0 last;
3098 }
3099  
3100  
3101 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 163 85 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
850163
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
3102 {
3103
3104 163 ▶ Parse::RecDescent::_trace(q{Trying production: ['[' <perl_codeblock> <commit> ']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3105 Parse::RecDescent::_tracefirst($_[1]),
3106 q{directive},
3107 $tracelevel)
3108 if defined $::RD_TRACE;
3109 163 my $thisprod = $thisrule->{"prods"}[3];
3110 163 $text = $_[1];
3111 163 my $_savetext;
3112 163 @item = (q{directive});
3113 163 %item = (__RULE__ => q{directive});
3114 163 my $repcount = 0;
3115  
3116  
3117 163 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 163 163
3118 Parse::RecDescent::_tracefirst($text),
3119 q{directive},
3120 $tracelevel)
3121 if defined $::RD_TRACE;
3122 163 undef $lastsep;
3123 163 $expectation->is(q{})->at($text);
3124
3125  
3126 163 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/) 37 126 163
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
!ll&&!rl&&r
037126
($lastsep = $1) && ''
!ll
1630
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3127 {
3128 37 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 37 0 37
3129
3130 37 $expectation->failed();
3131 37 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
3132 Parse::RecDescent::_tracefirst($text))
3133 if defined $::RD_TRACE;
3134 37 last;
3135 }
3136 126 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3137 126 substr($text,0,length($current_match),q{});
3138 126 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 126 126
3139 . $current_match . q{])},
3140 Parse::RecDescent::_tracefirst($text))
3141 if defined $::RD_TRACE;
3142 126 push @item, $item{__STRING1__}=$current_match;
3143
3144  
3145
3146  
3147 126 ▶ Parse::RecDescent::_trace(q{Trying directive: [<perl_codeblock>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 126 126
3148 Parse::RecDescent::_tracefirst($text),
3149 q{directive},
3150 $tracelevel)
3151 if defined $::RD_TRACE;
3152 126 $_tok = do { Text::Balanced::extract_codeblock($text,undef,$skip,'{}');
3153 };
3154 126 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 15 111 126
3155 {
3156 15 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3157 . $_tok . q{])},
3158 Parse::RecDescent::_tracefirst($text))
3159 if defined $::RD_TRACE;
3160 }
3161 else
3162 {
3163 111 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 111 111
3164 Parse::RecDescent::_tracefirst($text))
3165 if defined $::RD_TRACE;
3166 }
3167
3168 126 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 111 15 126
3169 15 push @item, $item{__DIRECTIVE1__}=$_tok;
3170
3171  
3172
3173  
3174 15 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3175 Parse::RecDescent::_tracefirst($text),
3176 q{directive},
3177 $tracelevel)
3178 if defined $::RD_TRACE;
3179 15 $_tok = do { $commit = 1 };
3180 15 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 15 0 15
3181 {
3182 15 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3183 . $_tok . q{])},
3184 Parse::RecDescent::_tracefirst($text))
3185 if defined $::RD_TRACE;
3186 }
3187 else
3188 {
3189 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3190 Parse::RecDescent::_tracefirst($text))
3191 if defined $::RD_TRACE;
3192 }
3193
3194 15 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 15 15
3195 15 push @item, $item{__DIRECTIVE2__}=$_tok;
3196
3197  
3198 15 ▶ Parse::RecDescent::_trace(q{Trying terminal: [']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3199 Parse::RecDescent::_tracefirst($text),
3200 q{directive},
3201 $tracelevel)
3202 if defined $::RD_TRACE;
3203 15 undef $lastsep;
3204 15 $expectation->is(q{']'})->at($text);
3205
3206  
3207 15 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/) 0 15 15
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
!ll&&!rl&&r
0015
($lastsep = $1) && ''
!ll
150
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\]/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3208 {
3209 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
3210
3211 0 $expectation->failed();
3212 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3213 Parse::RecDescent::_tracefirst($text))
3214 if defined $::RD_TRACE;
3215 0 last;
3216 }
3217 15 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3218 15 substr($text,0,length($current_match),q{});
3219 15 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3220 . $current_match . q{])},
3221 Parse::RecDescent::_tracefirst($text))
3222 if defined $::RD_TRACE;
3223 15 push @item, $item{__STRING2__}=$current_match;
3224
3225  
3226 15 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3227 Parse::RecDescent::_tracefirst($text),
3228 q{directive},
3229 $tracelevel)
3230 if defined $::RD_TRACE;
3231
3232  
3233 15 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 15 15
3234 15 my $code = $item[2];
3235 17 ▶ sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
3236 17 print Config::Maker::exe($code);
3237 }
3238 15 };
3239 15 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 15 15
3240 {
3241 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3242 if defined $::RD_TRACE;
3243 0 last;
3244 }
3245 15 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3246 . $_tok . q{])},
3247 Parse::RecDescent::_tracefirst($text))
3248 if defined $::RD_TRACE;
3249 15 push @item, $_tok;
3250 15 $item{__ACTION1__}=$_tok;
3251
3252  
3253 15 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[' <perl_codeblock> <commit> ']']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 15 15
3254 Parse::RecDescent::_tracefirst($text),
3255 q{directive},
3256 $tracelevel)
3257 if defined $::RD_TRACE;
3258  
3259  
3260  
3261 15 $_matched = 1;
3262 15 last;
3263 }
3264  
3265  
3266 248 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 148 100 248
3267 {
3268
3269 148 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3270 Parse::RecDescent::_tracefirst($_[1]),
3271 q{directive},
3272 $tracelevel)
3273 if defined $::RD_TRACE;
3274 148 my $thisprod = $thisrule->{"prods"}[4];
3275
3276 148 my $_savetext;
3277 148 @item = (q{directive});
3278 148 %item = (__RULE__ => q{directive});
3279 148 my $repcount = 0;
3280  
3281  
3282
3283  
3284 148 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3285 Parse::RecDescent::_tracefirst($text),
3286 q{directive},
3287 $tracelevel)
3288 if defined $::RD_TRACE;
3289 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 148 148
unless ($_noactions) 0 0 0
3290 0 my $rule = $item[0];
3291 0 $rule =~ s/_/ /g;
3292 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
3293 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
3294 0 } unless $_noactions; undef } else {0} };
3295 148 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 148 0 148
3296 {
3297 148 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3298 . $_tok . q{])},
3299 Parse::RecDescent::_tracefirst($text))
3300 if defined $::RD_TRACE;
3301 }
3302 else
3303 {
3304 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3305 Parse::RecDescent::_tracefirst($text))
3306 if defined $::RD_TRACE;
3307 }
3308
3309 148 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 148 148
3310 148 push @item, $item{__DIRECTIVE1__}=$_tok;
3311
3312  
3313 148 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3314 Parse::RecDescent::_tracefirst($text),
3315 q{directive},
3316 $tracelevel)
3317 if defined $::RD_TRACE;
3318 148 undef $return;
3319
3320  
3321 148 $_tok = undef;
3322
3323 148 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 148 0 148
3324  
3325 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3326 Parse::RecDescent::_tracefirst($text),
3327 q{directive},
3328 $tracelevel)
3329 if defined $::RD_TRACE;
3330  
3331  
3332  
3333 0 $_matched = 1;
3334 0 last;
3335 }
3336  
3337  
3338 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 148 100 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
1000148
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
3339 {
3340 148 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 148 0 148
3341 148 ▶ Parse::RecDescent::_trace(q{Trying production: ['[+' <commit> <skip: qr/\s*/> identifier optpath '+]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3342 Parse::RecDescent::_tracefirst($_[1]),
3343 q{directive},
3344 $tracelevel)
3345 if defined $::RD_TRACE;
3346 148 my $thisprod = $thisrule->{"prods"}[5];
3347 148 $text = $_[1];
3348 148 my $_savetext;
3349 148 @item = (q{directive});
3350 148 %item = (__RULE__ => q{directive});
3351 148 my $repcount = 0;
3352  
3353  
3354 148 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[+']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 148 148
3355 Parse::RecDescent::_tracefirst($text),
3356 q{directive},
3357 $tracelevel)
3358 if defined $::RD_TRACE;
3359 148 undef $lastsep;
3360 148 $expectation->is(q{})->at($text);
3361
3362  
3363 148 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\+/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\+/) 115 33 148
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\+/
!ll&&!rl&&r
011533
($lastsep = $1) && ''
!ll
1480
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\+/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[\+/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3364 {
3365 115 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 115 0 115
3366
3367 115 $expectation->failed();
3368 115 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3369 Parse::RecDescent::_tracefirst($text))
3370 if defined $::RD_TRACE;
3371 115 last;
3372 }
3373 33 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3374 33 substr($text,0,length($current_match),q{});
3375 33 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3376 . $current_match . q{])},
3377 Parse::RecDescent::_tracefirst($text))
3378 if defined $::RD_TRACE;
3379 33 push @item, $item{__STRING1__}=$current_match;
3380
3381  
3382
3383  
3384 33 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3385 Parse::RecDescent::_tracefirst($text),
3386 q{directive},
3387 $tracelevel)
3388 if defined $::RD_TRACE;
3389 33 $_tok = do { $commit = 1 };
3390 33 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 33 0 33
3391 {
3392 33 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3393 . $_tok . q{])},
3394 Parse::RecDescent::_tracefirst($text))
3395 if defined $::RD_TRACE;
3396 }
3397 else
3398 {
3399 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3400 Parse::RecDescent::_tracefirst($text))
3401 if defined $::RD_TRACE;
3402 }
3403
3404 33 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 33 33
3405 33 push @item, $item{__DIRECTIVE1__}=$_tok;
3406
3407  
3408
3409  
3410 33 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: qr/\s*/>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3411 Parse::RecDescent::_tracefirst($text),
3412 q{directive},
3413 $tracelevel)
3414 if defined $::RD_TRACE;
3415 33 $_tok = do { my $oldskip = $skip; $skip= qr/\s*/; $oldskip };
3416 33 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 33 0 33
3417 {
3418 33 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3419 . $_tok . q{])},
3420 Parse::RecDescent::_tracefirst($text))
3421 if defined $::RD_TRACE;
3422 }
3423 else
3424 {
3425 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3426 Parse::RecDescent::_tracefirst($text))
3427 if defined $::RD_TRACE;
3428 }
3429
3430 33 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 33 33
3431 33 push @item, $item{__DIRECTIVE2__}=$_tok;
3432
3433  
3434 33 ▶ Parse::RecDescent::_trace(q{Trying subrule: [identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3435 Parse::RecDescent::_tracefirst($text),
3436 q{directive},
3437 $tracelevel)
3438 if defined $::RD_TRACE;
3439 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
3440 33 $expectation->is(q{identifier})->at($text);
3441 33 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::identifier($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = identifier($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 33 33
3442 {
3443
3444 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [identifier]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3445 Parse::RecDescent::_tracefirst($text),
3446 q{directive},
3447 $tracelevel)
3448 if defined $::RD_TRACE;
3449 0 $expectation->failed();
3450 0 last;
3451 }
3452 33 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [identifier]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3453 . $_tok . q{]},
3454  
3455 Parse::RecDescent::_tracefirst($text),
3456 q{directive},
3457 $tracelevel)
3458 if defined $::RD_TRACE;
3459 33 $item{q{identifier}} = $_tok;
3460 33 push @item, $_tok;
3461
3462 }
3463  
3464 33 ▶ Parse::RecDescent::_trace(q{Trying subrule: [optpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3465 Parse::RecDescent::_tracefirst($text),
3466 q{directive},
3467 $tracelevel)
3468 if defined $::RD_TRACE;
3469 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
3470 33 $expectation->is(q{optpath})->at($text);
3471 33 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::optpath($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = optpath($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 33 33
3472 {
3473
3474 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [optpath]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3475 Parse::RecDescent::_tracefirst($text),
3476 q{directive},
3477 $tracelevel)
3478 if defined $::RD_TRACE;
3479 0 $expectation->failed();
3480 0 last;
3481 }
3482 33 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [optpath]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3483 . $_tok . q{]},
3484  
3485 Parse::RecDescent::_tracefirst($text),
3486 q{directive},
3487 $tracelevel)
3488 if defined $::RD_TRACE;
3489 33 $item{q{optpath}} = $_tok;
3490 33 push @item, $_tok;
3491
3492 }
3493  
3494 33 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['+]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3495 Parse::RecDescent::_tracefirst($text),
3496 q{directive},
3497 $tracelevel)
3498 if defined $::RD_TRACE;
3499 33 undef $lastsep;
3500 33 $expectation->is(q{'+]'})->at($text);
3501
3502  
3503 33 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\+\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\+\]/) 0 33 33
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\+\]/
!ll&&!rl&&r
0033
($lastsep = $1) && ''
!ll
312
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\+\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\+\]/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\+\]/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
3504 {
3505 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
3506
3507 0 $expectation->failed();
3508 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3509 Parse::RecDescent::_tracefirst($text))
3510 if defined $::RD_TRACE;
3511 0 last;
3512 }
3513 33 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3514 33 substr($text,0,length($current_match),q{});
3515 33 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3516 . $current_match . q{])},
3517 Parse::RecDescent::_tracefirst($text))
3518 if defined $::RD_TRACE;
3519 33 push @item, $item{__STRING2__}=$current_match;
3520
3521  
3522 33 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3523 Parse::RecDescent::_tracefirst($text),
3524 q{directive},
3525 $tracelevel)
3526 if defined $::RD_TRACE;
3527
3528  
3529 33 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 33 33
3530 33 my $key = $item{identifier};
3531 33 my $path = $item{optpath};
3532 120 ▶ sub { print $_->get1($path)->{-$key}; }
Subroutine __ANON__: called CC=1 SCAR=0.0
3533 33 };
3534 33 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 33 33
3535 {
3536 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3537 if defined $::RD_TRACE;
3538 0 last;
3539 }
3540 33 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3541 . $_tok . q{])},
3542 Parse::RecDescent::_tracefirst($text))
3543 if defined $::RD_TRACE;
3544 33 push @item, $_tok;
3545 33 $item{__ACTION1__}=$_tok;
3546
3547  
3548 33 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[+' <commit> <skip: qr/\s*/> identifier optpath '+]']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
3549 Parse::RecDescent::_tracefirst($text),
3550 q{directive},
3551 $tracelevel)
3552 if defined $::RD_TRACE;
3553  
3554  
3555  
3556 33 $_matched = 1;
3557 33 last;
3558 }
3559  
3560  
3561 248 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 115 133 248
3562 {
3563
3564 115 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3565 Parse::RecDescent::_tracefirst($_[1]),
3566 q{directive},
3567 $tracelevel)
3568 if defined $::RD_TRACE;
3569 115 my $thisprod = $thisrule->{"prods"}[6];
3570
3571 115 my $_savetext;
3572 115 @item = (q{directive});
3573 115 %item = (__RULE__ => q{directive});
3574 115 my $repcount = 0;
3575  
3576  
3577
3578  
3579 115 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3580 Parse::RecDescent::_tracefirst($text),
3581 q{directive},
3582 $tracelevel)
3583 if defined $::RD_TRACE;
3584 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 115 115
unless ($_noactions) 0 0 0
3585 0 my $rule = $item[0];
3586 0 $rule =~ s/_/ /g;
3587 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
3588 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
3589 0 } unless $_noactions; undef } else {0} };
3590 115 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 115 0 115
3591 {
3592 115 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3593 . $_tok . q{])},
3594 Parse::RecDescent::_tracefirst($text))
3595 if defined $::RD_TRACE;
3596 }
3597 else
3598 {
3599 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3600 Parse::RecDescent::_tracefirst($text))
3601 if defined $::RD_TRACE;
3602 }
3603
3604 115 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 115 115
3605 115 push @item, $item{__DIRECTIVE1__}=$_tok;
3606
3607  
3608 115 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3609 Parse::RecDescent::_tracefirst($text),
3610 q{directive},
3611 $tracelevel)
3612 if defined $::RD_TRACE;
3613 115 undef $return;
3614
3615  
3616 115 $_tok = undef;
3617
3618 115 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 115 0 115
3619  
3620 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3621 Parse::RecDescent::_tracefirst($text),
3622 q{directive},
3623 $tracelevel)
3624 if defined $::RD_TRACE;
3625  
3626  
3627  
3628 0 $_matched = 1;
3629 0 last;
3630 }
3631  
3632  
3633 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 115 133 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
1330115
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
3634 {
3635 115 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 115 0 115
3636 115 ▶ Parse::RecDescent::_trace(q{Trying production: ['[<' <skip: ''> <commit> /[^>]+/ '>]' space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3637 Parse::RecDescent::_tracefirst($_[1]),
3638 q{directive},
3639 $tracelevel)
3640 if defined $::RD_TRACE;
3641 115 my $thisprod = $thisrule->{"prods"}[7];
3642 115 $text = $_[1];
3643 115 my $_savetext;
3644 115 @item = (q{directive});
3645 115 %item = (__RULE__ => q{directive});
3646 115 my $repcount = 0;
3647  
3648  
3649 115 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[<']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 115 115
3650 Parse::RecDescent::_tracefirst($text),
3651 q{directive},
3652 $tracelevel)
3653 if defined $::RD_TRACE;
3654 115 undef $lastsep;
3655 115 $expectation->is(q{})->at($text);
3656
3657  
3658 115 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\</)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\</) 114 1 115
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\</
!ll&&!rl&&r
01141
($lastsep = $1) && ''
!ll
1150
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\</
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[\</
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3659 {
3660 114 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 114 0 114
3661
3662 114 $expectation->failed();
3663 114 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3664 Parse::RecDescent::_tracefirst($text))
3665 if defined $::RD_TRACE;
3666 114 last;
3667 }
3668 1 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3669 1 substr($text,0,length($current_match),q{});
3670 1 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3671 . $current_match . q{])},
3672 Parse::RecDescent::_tracefirst($text))
3673 if defined $::RD_TRACE;
3674 1 push @item, $item{__STRING1__}=$current_match;
3675
3676  
3677
3678  
3679 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3680 Parse::RecDescent::_tracefirst($text),
3681 q{directive},
3682 $tracelevel)
3683 if defined $::RD_TRACE;
3684 1 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
3685 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
3686 {
3687 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3688 . $_tok . q{])},
3689 Parse::RecDescent::_tracefirst($text))
3690 if defined $::RD_TRACE;
3691 }
3692 else
3693 {
3694 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3695 Parse::RecDescent::_tracefirst($text))
3696 if defined $::RD_TRACE;
3697 }
3698
3699 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
3700 1 push @item, $item{__DIRECTIVE1__}=$_tok;
3701
3702  
3703
3704  
3705 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3706 Parse::RecDescent::_tracefirst($text),
3707 q{directive},
3708 $tracelevel)
3709 if defined $::RD_TRACE;
3710 1 $_tok = do { $commit = 1 };
3711 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
3712 {
3713 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3714 . $_tok . q{])},
3715 Parse::RecDescent::_tracefirst($text))
3716 if defined $::RD_TRACE;
3717 }
3718 else
3719 {
3720 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3721 Parse::RecDescent::_tracefirst($text))
3722 if defined $::RD_TRACE;
3723 }
3724
3725 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
3726 1 push @item, $item{__DIRECTIVE2__}=$_tok;
3727
3728  
3729 1 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[^>]+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3730 q{directive},
3731 $tracelevel)
3732 if defined $::RD_TRACE;
3733 1 undef $lastsep;
3734 1 $expectation->is(q{/[^>]+/})->at($text);
3735
3736  
3737 1 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[^>]+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/) 0 1 1
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/
!ll&&!rl&&r
001
($lastsep = $1) && ''
!ll
10
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[^>]+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[^>]+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3738 {
3739 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
3740 0 $expectation->failed();
3741 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3742 Parse::RecDescent::_tracefirst($text))
3743 if defined $::RD_TRACE;
3744  
3745 0 last;
3746 }
3747 1 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3748 1 substr($text,0,length($current_match),q{});
3749 1 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3750 . $current_match . q{])},
3751 Parse::RecDescent::_tracefirst($text))
3752 if defined $::RD_TRACE;
3753 1 push @item, $item{__PATTERN1__}=$current_match;
3754
3755  
3756 1 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['>]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3757 Parse::RecDescent::_tracefirst($text),
3758 q{directive},
3759 $tracelevel)
3760 if defined $::RD_TRACE;
3761 1 undef $lastsep;
3762 1 $expectation->is(q{'>]'})->at($text);
3763
3764  
3765 1 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\>\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>\]/) 0 1 1
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>\]/
!ll&&!rl&&r
001
($lastsep = $1) && ''
!ll
10
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\>\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\>\]/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
3766 {
3767 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
3768
3769 0 $expectation->failed();
3770 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3771 Parse::RecDescent::_tracefirst($text))
3772 if defined $::RD_TRACE;
3773 0 last;
3774 }
3775 1 $current_match = substr($text, $-[0], $+[0] - $-[0]);
3776 1 substr($text,0,length($current_match),q{});
3777 1 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3778 . $current_match . q{])},
3779 Parse::RecDescent::_tracefirst($text))
3780 if defined $::RD_TRACE;
3781 1 push @item, $item{__STRING2__}=$current_match;
3782
3783  
3784 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3785 Parse::RecDescent::_tracefirst($text),
3786 q{directive},
3787 $tracelevel)
3788 if defined $::RD_TRACE;
3789 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
3790 1 $expectation->is(q{space})->at($text);
3791 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::space($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = space($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 1 1
3792 {
3793
3794 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [space]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3795 Parse::RecDescent::_tracefirst($text),
3796 q{directive},
3797 $tracelevel)
3798 if defined $::RD_TRACE;
3799 0 $expectation->failed();
3800 0 last;
3801 }
3802 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [space]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3803 . $_tok . q{]},
3804  
3805 Parse::RecDescent::_tracefirst($text),
3806 q{directive},
3807 $tracelevel)
3808 if defined $::RD_TRACE;
3809 1 $item{q{space}} = $_tok;
3810 1 push @item, $_tok;
3811
3812 }
3813  
3814 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3815 Parse::RecDescent::_tracefirst($text),
3816 q{directive},
3817 $tracelevel)
3818 if defined $::RD_TRACE;
3819
3820  
3821 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
3822 1 Config::Maker::Driver->load($item[4]);
3823 };
3824 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
3825 {
3826 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3827 if defined $::RD_TRACE;
3828 0 last;
3829 }
3830 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3831 . $_tok . q{])},
3832 Parse::RecDescent::_tracefirst($text))
3833 if defined $::RD_TRACE;
3834 1 push @item, $_tok;
3835 1 $item{__ACTION1__}=$_tok;
3836
3837  
3838 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[<' <skip: ''> <commit> /[^>]+/ '>]' space]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3839 Parse::RecDescent::_tracefirst($text),
3840 q{directive},
3841 $tracelevel)
3842 if defined $::RD_TRACE;
3843  
3844  
3845  
3846 1 $_matched = 1;
3847 1 last;
3848 }
3849  
3850  
3851 248 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 114 134 248
3852 {
3853
3854 114 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3855 Parse::RecDescent::_tracefirst($_[1]),
3856 q{directive},
3857 $tracelevel)
3858 if defined $::RD_TRACE;
3859 114 my $thisprod = $thisrule->{"prods"}[8];
3860
3861 114 my $_savetext;
3862 114 @item = (q{directive});
3863 114 %item = (__RULE__ => q{directive});
3864 114 my $repcount = 0;
3865  
3866  
3867
3868  
3869 114 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3870 Parse::RecDescent::_tracefirst($text),
3871 q{directive},
3872 $tracelevel)
3873 if defined $::RD_TRACE;
3874 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 114 114
unless ($_noactions) 0 0 0
3875 0 my $rule = $item[0];
3876 0 $rule =~ s/_/ /g;
3877 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
3878 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
3879 0 } unless $_noactions; undef } else {0} };
3880 114 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 114 0 114
3881 {
3882 114 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3883 . $_tok . q{])},
3884 Parse::RecDescent::_tracefirst($text))
3885 if defined $::RD_TRACE;
3886 }
3887 else
3888 {
3889 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3890 Parse::RecDescent::_tracefirst($text))
3891 if defined $::RD_TRACE;
3892 }
3893
3894 114 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 114 114
3895 114 push @item, $item{__DIRECTIVE1__}=$_tok;
3896
3897  
3898 114 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3899 Parse::RecDescent::_tracefirst($text),
3900 q{directive},
3901 $tracelevel)
3902 if defined $::RD_TRACE;
3903 114 undef $return;
3904
3905  
3906 114 $_tok = undef;
3907
3908 114 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 114 0 114
3909  
3910 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3911 Parse::RecDescent::_tracefirst($text),
3912 q{directive},
3913 $tracelevel)
3914 if defined $::RD_TRACE;
3915  
3916  
3917  
3918 0 $_matched = 1;
3919 0 last;
3920 }
3921  
3922  
3923 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 114 134 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
1340114
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
3924 {
3925
3926 114 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3927 Parse::RecDescent::_tracefirst($_[1]),
3928 q{directive},
3929 $tracelevel)
3930 if defined $::RD_TRACE;
3931 114 my $thisprod = $thisrule->{"prods"}[9];
3932 114 $text = $_[1];
3933 114 my $_savetext;
3934 114 @item = (q{directive});
3935 114 %item = (__RULE__ => q{directive});
3936 114 my $repcount = 0;
3937  
3938  
3939 114 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 114 114
3940 Parse::RecDescent::_tracefirst($text),
3941 q{directive},
3942 $tracelevel)
3943 if defined $::RD_TRACE;
3944 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
3945 114 $expectation->is(q{})->at($text);
3946 114 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['map', perlcode => '()'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["map", "perlcode", "()"]; } , undef))) 113 1 114
3947 {
3948
3949 113 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 113 113
3950 Parse::RecDescent::_tracefirst($text),
3951 q{directive},
3952 $tracelevel)
3953 if defined $::RD_TRACE;
3954 113 $expectation->failed();
3955 113 last;
3956 }
3957 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3958 . $_tok . q{]},
3959  
3960 Parse::RecDescent::_tracefirst($text),
3961 q{directive},
3962 $tracelevel)
3963 if defined $::RD_TRACE;
3964 1 $item{q{opener}} = $_tok;
3965 1 push @item, $_tok;
3966
3967 }
3968  
3969
3970  
3971 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3972 Parse::RecDescent::_tracefirst($text),
3973 q{directive},
3974 $tracelevel)
3975 if defined $::RD_TRACE;
3976 1 $_tok = do { $commit = 1 };
3977 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
3978 {
3979 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3980 . $_tok . q{])},
3981 Parse::RecDescent::_tracefirst($text))
3982 if defined $::RD_TRACE;
3983 }
3984 else
3985 {
3986 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
3987 Parse::RecDescent::_tracefirst($text))
3988 if defined $::RD_TRACE;
3989 }
3990
3991 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
3992 1 push @item, $item{__DIRECTIVE1__}=$_tok;
3993
3994  
3995 1 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
3996 Parse::RecDescent::_tracefirst($text),
3997 q{directive},
3998 $tracelevel)
3999 if defined $::RD_TRACE;
4000 1 $expectation->is(q{directive})->at($text);
4001
4002 1 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 1 1
4003 {
4004 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4005 Parse::RecDescent::_tracefirst($text),
4006 q{directive},
4007 $tracelevel)
4008 if defined $::RD_TRACE;
4009 0 last;
4010 }
4011 1 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4012 . @$_tok . q{ times)},
4013  
4014 Parse::RecDescent::_tracefirst($text),
4015 q{directive},
4016 $tracelevel)
4017 if defined $::RD_TRACE;
4018 1 $item{q{directive(s)}} = $_tok;
4019 1 push @item, $_tok;
4020
4021  
4022  
4023 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4024 Parse::RecDescent::_tracefirst($text),
4025 q{directive},
4026 $tracelevel)
4027 if defined $::RD_TRACE;
4028 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4029 1 $expectation->is(q{closer})->at($text);
4030 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::closer($thisparser,$text,$repeating,$_noactions,sub { return ['map'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = closer($thisparser, $text, $repeating, $_noactions, sub { return ["map"]; } , undef))) 0 1 1
4031 {
4032
4033 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [closer]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4034 Parse::RecDescent::_tracefirst($text),
4035 q{directive},
4036 $tracelevel)
4037 if defined $::RD_TRACE;
4038 0 $expectation->failed();
4039 0 last;
4040 }
4041 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [closer]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4042 . $_tok . q{]},
4043  
4044 Parse::RecDescent::_tracefirst($text),
4045 q{directive},
4046 $tracelevel)
4047 if defined $::RD_TRACE;
4048 1 $item{q{closer}} = $_tok;
4049 1 push @item, $_tok;
4050
4051 }
4052  
4053 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4054 Parse::RecDescent::_tracefirst($text),
4055 q{directive},
4056 $tracelevel)
4057 if defined $::RD_TRACE;
4058
4059  
4060 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
4061 1 my $expr = $item[1];
4062 1 my @parts = @{$item[3]};
4063 1 ▶ sub {
Subroutine __ANON__: called CC=2 SCAR=6.9
4064 1 for(Config::Maker::exe($expr)) {
4065 3 Config::Maker::Driver::apply(@parts);
4066 }
4067 }
4068 1 };
4069 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
4070 {
4071 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4072 if defined $::RD_TRACE;
4073 0 last;
4074 }
4075 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4076 . $_tok . q{])},
4077 Parse::RecDescent::_tracefirst($text))
4078 if defined $::RD_TRACE;
4079 1 push @item, $_tok;
4080 1 $item{__ACTION1__}=$_tok;
4081
4082  
4083 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive closer]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
4084 Parse::RecDescent::_tracefirst($text),
4085 q{directive},
4086 $tracelevel)
4087 if defined $::RD_TRACE;
4088  
4089  
4090  
4091 1 $_matched = 1;
4092 1 last;
4093 }
4094  
4095  
4096 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 113 135 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
1350113
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
4097 {
4098
4099 113 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 113 113
4100 Parse::RecDescent::_tracefirst($_[1]),
4101 q{directive},
4102 $tracelevel)
4103 if defined $::RD_TRACE;
4104 113 my $thisprod = $thisrule->{"prods"}[10];
4105 113 $text = $_[1];
4106 113 my $_savetext;
4107 113 @item = (q{directive});
4108 113 %item = (__RULE__ => q{directive});
4109 113 my $repcount = 0;
4110  
4111  
4112 113 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 113 113
4113 Parse::RecDescent::_tracefirst($text),
4114 q{directive},
4115 $tracelevel)
4116 if defined $::RD_TRACE;
4117 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4118 113 $expectation->is(q{})->at($text);
4119 113 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['map', 'path'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["map", "path"]; } , undef))) 88 25 113
4120 {
4121
4122 88 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4123 Parse::RecDescent::_tracefirst($text),
4124 q{directive},
4125 $tracelevel)
4126 if defined $::RD_TRACE;
4127 88 $expectation->failed();
4128 88 last;
4129 }
4130 25 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4131 . $_tok . q{]},
4132  
4133 Parse::RecDescent::_tracefirst($text),
4134 q{directive},
4135 $tracelevel)
4136 if defined $::RD_TRACE;
4137 25 $item{q{opener}} = $_tok;
4138 25 push @item, $_tok;
4139
4140 }
4141  
4142
4143  
4144 25 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4145 Parse::RecDescent::_tracefirst($text),
4146 q{directive},
4147 $tracelevel)
4148 if defined $::RD_TRACE;
4149 25 $_tok = do { $commit = 1 };
4150 25 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 25 0 25
4151 {
4152 25 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4153 . $_tok . q{])},
4154 Parse::RecDescent::_tracefirst($text))
4155 if defined $::RD_TRACE;
4156 }
4157 else
4158 {
4159 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4160 Parse::RecDescent::_tracefirst($text))
4161 if defined $::RD_TRACE;
4162 }
4163
4164 25 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 25 25
4165 25 push @item, $item{__DIRECTIVE1__}=$_tok;
4166
4167  
4168 25 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4169 Parse::RecDescent::_tracefirst($text),
4170 q{directive},
4171 $tracelevel)
4172 if defined $::RD_TRACE;
4173 25 $expectation->is(q{directive})->at($text);
4174
4175 25 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 25 25
4176 {
4177 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4178 Parse::RecDescent::_tracefirst($text),
4179 q{directive},
4180 $tracelevel)
4181 if defined $::RD_TRACE;
4182 0 last;
4183 }
4184 25 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4185 . @$_tok . q{ times)},
4186  
4187 Parse::RecDescent::_tracefirst($text),
4188 q{directive},
4189 $tracelevel)
4190 if defined $::RD_TRACE;
4191 25 $item{q{directive(s)}} = $_tok;
4192 25 push @item, $_tok;
4193
4194  
4195  
4196 25 ▶ Parse::RecDescent::_trace(q{Trying subrule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4197 Parse::RecDescent::_tracefirst($text),
4198 q{directive},
4199 $tracelevel)
4200 if defined $::RD_TRACE;
4201 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4202 25 $expectation->is(q{closer})->at($text);
4203 25 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::closer($thisparser,$text,$repeating,$_noactions,sub { return ['map'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = closer($thisparser, $text, $repeating, $_noactions, sub { return ["map"]; } , undef))) 0 25 25
4204 {
4205
4206 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [closer]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4207 Parse::RecDescent::_tracefirst($text),
4208 q{directive},
4209 $tracelevel)
4210 if defined $::RD_TRACE;
4211 0 $expectation->failed();
4212 0 last;
4213 }
4214 25 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [closer]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4215 . $_tok . q{]},
4216  
4217 Parse::RecDescent::_tracefirst($text),
4218 q{directive},
4219 $tracelevel)
4220 if defined $::RD_TRACE;
4221 25 $item{q{closer}} = $_tok;
4222 25 push @item, $_tok;
4223
4224 }
4225  
4226 25 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4227 Parse::RecDescent::_tracefirst($text),
4228 q{directive},
4229 $tracelevel)
4230 if defined $::RD_TRACE;
4231
4232  
4233 25 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 25 25
4234 25 my $path = $item[1];
4235 25 my @parts = @{$item[3]};
4236 58 ▶ sub {
Subroutine __ANON__: called CC=2 SCAR=6.9
4237 58 for(@{$path->find($_)}) {
4238 110 Config::Maker::Driver::apply(@parts);
4239 }
4240 }
4241 25 };
4242 25 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 25 25
4243 {
4244 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4245 if defined $::RD_TRACE;
4246 0 last;
4247 }
4248 25 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4249 . $_tok . q{])},
4250 Parse::RecDescent::_tracefirst($text))
4251 if defined $::RD_TRACE;
4252 25 push @item, $_tok;
4253 25 $item{__ACTION1__}=$_tok;
4254
4255  
4256 25 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive closer]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 25 25
4257 Parse::RecDescent::_tracefirst($text),
4258 q{directive},
4259 $tracelevel)
4260 if defined $::RD_TRACE;
4261  
4262  
4263  
4264 25 $_matched = 1;
4265 25 last;
4266 }
4267  
4268  
4269 248 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 88 160 248
4270 {
4271
4272 88 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4273 Parse::RecDescent::_tracefirst($_[1]),
4274 q{directive},
4275 $tracelevel)
4276 if defined $::RD_TRACE;
4277 88 my $thisprod = $thisrule->{"prods"}[11];
4278
4279 88 my $_savetext;
4280 88 @item = (q{directive});
4281 88 %item = (__RULE__ => q{directive});
4282 88 my $repcount = 0;
4283  
4284  
4285
4286  
4287 88 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4288 Parse::RecDescent::_tracefirst($text),
4289 q{directive},
4290 $tracelevel)
4291 if defined $::RD_TRACE;
4292 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 88 88
unless ($_noactions) 0 0 0
4293 0 my $rule = $item[0];
4294 0 $rule =~ s/_/ /g;
4295 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
4296 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
4297 0 } unless $_noactions; undef } else {0} };
4298 88 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 88 0 88
4299 {
4300 88 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4301 . $_tok . q{])},
4302 Parse::RecDescent::_tracefirst($text))
4303 if defined $::RD_TRACE;
4304 }
4305 else
4306 {
4307 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4308 Parse::RecDescent::_tracefirst($text))
4309 if defined $::RD_TRACE;
4310 }
4311
4312 88 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 88 88
4313 88 push @item, $item{__DIRECTIVE1__}=$_tok;
4314
4315  
4316 88 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4317 Parse::RecDescent::_tracefirst($text),
4318 q{directive},
4319 $tracelevel)
4320 if defined $::RD_TRACE;
4321 88 undef $return;
4322
4323  
4324 88 $_tok = undef;
4325
4326 88 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 88 0 88
4327  
4328 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4329 Parse::RecDescent::_tracefirst($text),
4330 q{directive},
4331 $tracelevel)
4332 if defined $::RD_TRACE;
4333  
4334  
4335  
4336 0 $_matched = 1;
4337 0 last;
4338 }
4339  
4340  
4341 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 88 160 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
160088
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
4342 {
4343
4344 88 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4345 Parse::RecDescent::_tracefirst($_[1]),
4346 q{directive},
4347 $tracelevel)
4348 if defined $::RD_TRACE;
4349 88 my $thisprod = $thisrule->{"prods"}[12];
4350 88 $text = $_[1];
4351 88 my $_savetext;
4352 88 @item = (q{directive});
4353 88 %item = (__RULE__ => q{directive});
4354 88 my $repcount = 0;
4355  
4356  
4357 88 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 88 88
4358 Parse::RecDescent::_tracefirst($text),
4359 q{directive},
4360 $tracelevel)
4361 if defined $::RD_TRACE;
4362 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4363 88 $expectation->is(q{})->at($text);
4364 88 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['if', perlcode => '()'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["if", "perlcode", "()"]; } , undef))) 86 2 88
4365 {
4366
4367 86 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 86 86
4368 Parse::RecDescent::_tracefirst($text),
4369 q{directive},
4370 $tracelevel)
4371 if defined $::RD_TRACE;
4372 86 $expectation->failed();
4373 86 last;
4374 }
4375 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4376 . $_tok . q{]},
4377  
4378 Parse::RecDescent::_tracefirst($text),
4379 q{directive},
4380 $tracelevel)
4381 if defined $::RD_TRACE;
4382 2 $item{q{opener}} = $_tok;
4383 2 push @item, $_tok;
4384
4385 }
4386  
4387
4388  
4389 2 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4390 Parse::RecDescent::_tracefirst($text),
4391 q{directive},
4392 $tracelevel)
4393 if defined $::RD_TRACE;
4394 2 $_tok = do { $commit = 1 };
4395 2 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 2 0 2
4396 {
4397 2 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4398 . $_tok . q{])},
4399 Parse::RecDescent::_tracefirst($text))
4400 if defined $::RD_TRACE;
4401 }
4402 else
4403 {
4404 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4405 Parse::RecDescent::_tracefirst($text))
4406 if defined $::RD_TRACE;
4407 }
4408
4409 2 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 2 2
4410 2 push @item, $item{__DIRECTIVE1__}=$_tok;
4411
4412  
4413 2 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4414 Parse::RecDescent::_tracefirst($text),
4415 q{directive},
4416 $tracelevel)
4417 if defined $::RD_TRACE;
4418 2 $expectation->is(q{directive})->at($text);
4419
4420 2 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 2 2
4421 {
4422 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4423 Parse::RecDescent::_tracefirst($text),
4424 q{directive},
4425 $tracelevel)
4426 if defined $::RD_TRACE;
4427 0 last;
4428 }
4429 2 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4430 . @$_tok . q{ times)},
4431  
4432 Parse::RecDescent::_tracefirst($text),
4433 q{directive},
4434 $tracelevel)
4435 if defined $::RD_TRACE;
4436 2 $item{q{directive(s)}} = $_tok;
4437 2 push @item, $_tok;
4438
4439  
4440  
4441 2 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4442 Parse::RecDescent::_tracefirst($text),
4443 q{directive},
4444 $tracelevel)
4445 if defined $::RD_TRACE;
4446 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4447 2 $expectation->is(q{ifrest})->at($text);
4448 2 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ifrest($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ifrest($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 2 2
4449 {
4450
4451 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ifrest]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4452 Parse::RecDescent::_tracefirst($text),
4453 q{directive},
4454 $tracelevel)
4455 if defined $::RD_TRACE;
4456 0 $expectation->failed();
4457 0 last;
4458 }
4459 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ifrest]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4460 . $_tok . q{]},
4461  
4462 Parse::RecDescent::_tracefirst($text),
4463 q{directive},
4464 $tracelevel)
4465 if defined $::RD_TRACE;
4466 2 $item{q{ifrest}} = $_tok;
4467 2 push @item, $_tok;
4468
4469 }
4470  
4471 2 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4472 Parse::RecDescent::_tracefirst($text),
4473 q{directive},
4474 $tracelevel)
4475 if defined $::RD_TRACE;
4476
4477  
4478 2 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 2 2
4479 2 my $expr = $item[1];
4480 2 my @parts = @{$item[3]};
4481 2 my $else = $item[4];
4482 2 ▶ sub {
Subroutine __ANON__: called CC=2 SCAR=6.9
4483 2 ▶ if(Config::Maker::exe($expr)) {
Branch: 1 branch
BranchTrueFalseTotal
if (Config::Maker::exe($expr)) { } 1 1 2
4484 1 Config::Maker::Driver::apply(@parts);
4485 } else {
4486 1 Config::Maker::Driver::apply($else);
4487 }
4488 }
4489 2 };
4490 2 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 2 2
4491 {
4492 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4493 if defined $::RD_TRACE;
4494 0 last;
4495 }
4496 2 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4497 . $_tok . q{])},
4498 Parse::RecDescent::_tracefirst($text))
4499 if defined $::RD_TRACE;
4500 2 push @item, $_tok;
4501 2 $item{__ACTION1__}=$_tok;
4502
4503  
4504 2 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive ifrest]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
4505 Parse::RecDescent::_tracefirst($text),
4506 q{directive},
4507 $tracelevel)
4508 if defined $::RD_TRACE;
4509  
4510  
4511  
4512 2 $_matched = 1;
4513 2 last;
4514 }
4515  
4516  
4517 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 86 162 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
162086
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
4518 {
4519
4520 86 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 86 86
4521 Parse::RecDescent::_tracefirst($_[1]),
4522 q{directive},
4523 $tracelevel)
4524 if defined $::RD_TRACE;
4525 86 my $thisprod = $thisrule->{"prods"}[13];
4526 86 $text = $_[1];
4527 86 my $_savetext;
4528 86 @item = (q{directive});
4529 86 %item = (__RULE__ => q{directive});
4530 86 my $repcount = 0;
4531  
4532  
4533 86 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 86 86
4534 Parse::RecDescent::_tracefirst($text),
4535 q{directive},
4536 $tracelevel)
4537 if defined $::RD_TRACE;
4538 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4539 86 $expectation->is(q{})->at($text);
4540 86 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['if', pair => ['identifier'], ['path']] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["if", "pair", ["identifier"], ["path"]]; } , undef))) 83 3 86
4541 {
4542
4543 83 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
4544 Parse::RecDescent::_tracefirst($text),
4545 q{directive},
4546 $tracelevel)
4547 if defined $::RD_TRACE;
4548 83 $expectation->failed();
4549 83 last;
4550 }
4551 3 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4552 . $_tok . q{]},
4553  
4554 Parse::RecDescent::_tracefirst($text),
4555 q{directive},
4556 $tracelevel)
4557 if defined $::RD_TRACE;
4558 3 $item{q{opener}} = $_tok;
4559 3 push @item, $_tok;
4560
4561 }
4562  
4563
4564  
4565 3 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4566 Parse::RecDescent::_tracefirst($text),
4567 q{directive},
4568 $tracelevel)
4569 if defined $::RD_TRACE;
4570 3 $_tok = do { $commit = 1 };
4571 3 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 3 0 3
4572 {
4573 3 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4574 . $_tok . q{])},
4575 Parse::RecDescent::_tracefirst($text))
4576 if defined $::RD_TRACE;
4577 }
4578 else
4579 {
4580 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4581 Parse::RecDescent::_tracefirst($text))
4582 if defined $::RD_TRACE;
4583 }
4584
4585 3 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 3 3
4586 3 push @item, $item{__DIRECTIVE1__}=$_tok;
4587
4588  
4589 3 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4590 Parse::RecDescent::_tracefirst($text),
4591 q{directive},
4592 $tracelevel)
4593 if defined $::RD_TRACE;
4594 3 $expectation->is(q{directive})->at($text);
4595
4596 3 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 3 3
4597 {
4598 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4599 Parse::RecDescent::_tracefirst($text),
4600 q{directive},
4601 $tracelevel)
4602 if defined $::RD_TRACE;
4603 0 last;
4604 }
4605 3 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4606 . @$_tok . q{ times)},
4607  
4608 Parse::RecDescent::_tracefirst($text),
4609 q{directive},
4610 $tracelevel)
4611 if defined $::RD_TRACE;
4612 3 $item{q{directive(s)}} = $_tok;
4613 3 push @item, $_tok;
4614
4615  
4616  
4617 3 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4618 Parse::RecDescent::_tracefirst($text),
4619 q{directive},
4620 $tracelevel)
4621 if defined $::RD_TRACE;
4622 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4623 3 $expectation->is(q{ifrest})->at($text);
4624 3 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ifrest($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ifrest($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 3 3
4625 {
4626
4627 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ifrest]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4628 Parse::RecDescent::_tracefirst($text),
4629 q{directive},
4630 $tracelevel)
4631 if defined $::RD_TRACE;
4632 0 $expectation->failed();
4633 0 last;
4634 }
4635 3 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ifrest]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4636 . $_tok . q{]},
4637  
4638 Parse::RecDescent::_tracefirst($text),
4639 q{directive},
4640 $tracelevel)
4641 if defined $::RD_TRACE;
4642 3 $item{q{ifrest}} = $_tok;
4643 3 push @item, $_tok;
4644
4645 }
4646  
4647 3 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4648 Parse::RecDescent::_tracefirst($text),
4649 q{directive},
4650 $tracelevel)
4651 if defined $::RD_TRACE;
4652
4653  
4654 3 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 3 3
4655 3 my ($test, $path) = @{$item[1]};
4656 3 my @parts = @{$item[3]};
4657 3 my $else = $item[4];
4658 21 ▶ sub {
Subroutine __ANON__: called CC=3 SCAR=11.0
4659 die "No if test '$test'"
4660 21 ▶ unless $Config::Maker::Path::checks{$test};
Branch: 1 branch
BranchTrueFalseTotal
unless $Config::Maker::Path::checks{$test} 0 21 21
4661 21 ▶ if($Config::Maker::Path::checks{$test}($path)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Config::Maker::Path::checks{$test}->($path)) { } 6 15 21
4662 6 Config::Maker::Driver::apply(@parts);
4663 } else {
4664 15 Config::Maker::Driver::apply($else);
4665 }
4666 }
4667 3 };
4668 3 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 3 3
4669 {
4670 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4671 if defined $::RD_TRACE;
4672 0 last;
4673 }
4674 3 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4675 . $_tok . q{])},
4676 Parse::RecDescent::_tracefirst($text))
4677 if defined $::RD_TRACE;
4678 3 push @item, $_tok;
4679 3 $item{__ACTION1__}=$_tok;
4680
4681  
4682 3 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive ifrest]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
4683 Parse::RecDescent::_tracefirst($text),
4684 q{directive},
4685 $tracelevel)
4686 if defined $::RD_TRACE;
4687  
4688  
4689  
4690 3 $_matched = 1;
4691 3 last;
4692 }
4693  
4694  
4695 248 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 83 165 248
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
165083
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
4696 {
4697
4698 83 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
4699 Parse::RecDescent::_tracefirst($_[1]),
4700 q{directive},
4701 $tracelevel)
4702 if defined $::RD_TRACE;
4703 83 my $thisprod = $thisrule->{"prods"}[14];
4704 83 $text = $_[1];
4705 83 my $_savetext;
4706 83 @item = (q{directive});
4707 83 %item = (__RULE__ => q{directive});
4708 83 my $repcount = 0;
4709  
4710  
4711 83 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 83 83
4712 Parse::RecDescent::_tracefirst($text),
4713 q{directive},
4714 $tracelevel)
4715 if defined $::RD_TRACE;
4716 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4717 83 $expectation->is(q{})->at($text);
4718 83 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['output', 'identifier'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["output", "identifier"]; } , undef))) 77 6 83
4719 {
4720
4721 77 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 77 77
4722 Parse::RecDescent::_tracefirst($text),
4723 q{directive},
4724 $tracelevel)
4725 if defined $::RD_TRACE;
4726 77 $expectation->failed();
4727 77 last;
4728 }
4729 6 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4730 . $_tok . q{]},
4731  
4732 Parse::RecDescent::_tracefirst($text),
4733 q{directive},
4734 $tracelevel)
4735 if defined $::RD_TRACE;
4736 6 $item{q{opener}} = $_tok;
4737 6 push @item, $_tok;
4738
4739 }
4740  
4741
4742  
4743 6 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4744 Parse::RecDescent::_tracefirst($text),
4745 q{directive},
4746 $tracelevel)
4747 if defined $::RD_TRACE;
4748 6 $_tok = do { $commit = 1 };
4749 6 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 6 0 6
4750 {
4751 6 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4752 . $_tok . q{])},
4753 Parse::RecDescent::_tracefirst($text))
4754 if defined $::RD_TRACE;
4755 }
4756 else
4757 {
4758 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4759 Parse::RecDescent::_tracefirst($text))
4760 if defined $::RD_TRACE;
4761 }
4762
4763 6 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 6 6
4764 6 push @item, $item{__DIRECTIVE1__}=$_tok;
4765
4766  
4767 6 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4768 Parse::RecDescent::_tracefirst($text),
4769 q{directive},
4770 $tracelevel)
4771 if defined $::RD_TRACE;
4772 6 $expectation->is(q{directive})->at($text);
4773
4774 6 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 6 6
4775 {
4776 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4777 Parse::RecDescent::_tracefirst($text),
4778 q{directive},
4779 $tracelevel)
4780 if defined $::RD_TRACE;
4781 0 last;
4782 }
4783 6 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4784 . @$_tok . q{ times)},
4785  
4786 Parse::RecDescent::_tracefirst($text),
4787 q{directive},
4788 $tracelevel)
4789 if defined $::RD_TRACE;
4790 6 $item{q{directive(s)}} = $_tok;
4791 6 push @item, $_tok;
4792
4793  
4794  
4795 6 ▶ Parse::RecDescent::_trace(q{Trying subrule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4796 Parse::RecDescent::_tracefirst($text),
4797 q{directive},
4798 $tracelevel)
4799 if defined $::RD_TRACE;
4800 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
4801 6 $expectation->is(q{closer})->at($text);
4802 6 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::closer($thisparser,$text,$repeating,$_noactions,sub { return ['output'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = closer($thisparser, $text, $repeating, $_noactions, sub { return ["output"]; } , undef))) 0 6 6
4803 {
4804
4805 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [closer]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4806 Parse::RecDescent::_tracefirst($text),
4807 q{directive},
4808 $tracelevel)
4809 if defined $::RD_TRACE;
4810 0 $expectation->failed();
4811 0 last;
4812 }
4813 6 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [closer]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4814 . $_tok . q{]},
4815  
4816 Parse::RecDescent::_tracefirst($text),
4817 q{directive},
4818 $tracelevel)
4819 if defined $::RD_TRACE;
4820 6 $item{q{closer}} = $_tok;
4821 6 push @item, $_tok;
4822
4823 }
4824  
4825 6 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4826 Parse::RecDescent::_tracefirst($text),
4827 q{directive},
4828 $tracelevel)
4829 if defined $::RD_TRACE;
4830
4831  
4832 6 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 6 6
4833 6 my $key = $item[1];
4834 6 my @parts = @{$item[3]};
4835 6 ▶ my ($cache, $output) =
Branch: 6 branches
BranchTrueFalseTotal
$key eq 'all' ? : 0 6 6
$key eq 'both' ? : 0 6 6
$key eq 'only-cache' ? : 2 4 6
$key eq 'no-cache' ? : 2 2 4
$key eq 'only-out' ? : 2 0 2
$key eq 'no-out' ? : 0 0 0
4836 $key eq 'all' ? (1, 1) :
4837 $key eq 'both' ? (1, 1) :
4838 $key eq 'only-cache' ? (1, 0) :
4839 $key eq 'no-cache' ? (0, 1) :
4840 $key eq 'only-out' ? (0, 1) :
4841 $key eq 'no-out' ? (1, 0) :
4842 die "Bad output option: $key";
4843 6 ▶ sub {
Subroutine __ANON__: called CC=2 SCAR=7.0
4844 6 ▶ die "output limiting only works when cache is enabled"
Branch: 1 branch
BranchTrueFalseTotal
unless UNIVERSAL::isa(select, "Config::Maker::Tee") 0 6 6
4845 unless UNIVERSAL::isa(select(), 'Config::Maker::Tee');
4846 6 local $Config::Maker::Tee::CACHE = $cache;
4847 6 local $Config::Maker::Tee::OUT = $output;
4848 6 Config::Maker::Driver::apply(@parts);
4849 }
4850 6 };
4851 6 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 6 6
4852 {
4853 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4854 if defined $::RD_TRACE;
4855 0 last;
4856 }
4857 6 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4858 . $_tok . q{])},
4859 Parse::RecDescent::_tracefirst($text))
4860 if defined $::RD_TRACE;
4861 6 push @item, $_tok;
4862 6 $item{__ACTION1__}=$_tok;
4863
4864  
4865 6 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive closer]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
4866 Parse::RecDescent::_tracefirst($text),
4867 q{directive},
4868 $tracelevel)
4869 if defined $::RD_TRACE;
4870  
4871  
4872  
4873 6 $_matched = 1;
4874 6 last;
4875 }
4876  
4877  
4878 248 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 77 171 248
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
171077
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
4879 {
4880
4881  
4882 77 $_[1] = $text; # NOT SURE THIS IS NEEDED
4883 77 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 77 77
4884 Parse::RecDescent::_tracefirst($_[1]),
4885 q{directive},
4886 $tracelevel)
4887 if defined $::RD_TRACE;
4888 77 return undef;
4889 }
4890 171 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 171 171
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
01710
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
ABresult
0X0
100
111
4891 {
4892 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4893 q{directive},
4894 $tracelevel)
4895 if defined $::RD_TRACE;
4896 0 $return = $score_return;
4897 }
4898 171 splice @{$thisparser->{errors}}, $err_at;
4899 171 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 171 0 171
4900 171 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 171 171
4901 {
4902 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
4903 $return . q{])}, "",
4904 q{directive},
4905 $tracelevel);
4906 0 Parse::RecDescent::_trace(q{(consumed: [} .
4907 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
4908 Parse::RecDescent::_tracefirst($text),
4909 , q{directive},
4910 $tracelevel)
4911 }
4912 171 $_[1] = $text;
4913 171 return $return;
4914 }
4915  
4916 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
4917 sub Parse::RecDescent::Config::Maker::Grammar::eof
4918 404 ▶{
Subroutine eof: called CC=24 SCAR=38.3
4919 404 my $thisparser = $_[0];
4920 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
4921 404 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
4040
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
4922 404 $ERRORS = 0;
4923 404 my $thisrule = $thisparser->{"rules"}{"eof"};
4924  
4925 404 ▶ Parse::RecDescent::_trace(q{Trying rule: [eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 404 404
4926 Parse::RecDescent::_tracefirst($_[1]),
4927 q{eof},
4928 $tracelevel)
4929 if defined $::RD_TRACE;
4930  
4931
4932 404 my $err_at = @{$thisparser->{errors}};
4933  
4934 404 my $score;
4935 my $score_return;
4936 404 my $_tok;
4937 404 my $return = undef;
4938 404 my $_matched=0;
4939 404 my $commit=0;
4940 404 my @item = ();
4941 404 my %item = ();
4942 404 my $repeating = $_[2];
4943 404 my $_noactions = $_[3];
4944 404 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 404 0 404
4945 404 my $_itempos = $_[5];
4946 404 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 306 98 404
4947 404 my $text;
4948 my $lastsep;
4949 404 my $current_match;
4950 404 my $expectation = new Parse::RecDescent::Expectation(q{/^\\Z/});
4951 404 $expectation->at($_[1]);
4952
4953 404 my $thisline;
4954 404 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
4955  
4956
4957  
4958 404 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 404 0 404
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00404
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
4959 {
4960
4961 404 ▶ Parse::RecDescent::_trace(q{Trying production: [/^\\Z/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 404 404
4962 Parse::RecDescent::_tracefirst($_[1]),
4963 q{eof},
4964 $tracelevel)
4965 if defined $::RD_TRACE;
4966 404 my $thisprod = $thisrule->{"prods"}[0];
4967 404 $text = $_[1];
4968 404 my $_savetext;
4969 404 @item = (q{eof});
4970 404 %item = (__RULE__ => q{eof});
4971 404 my $repcount = 0;
4972  
4973  
4974 404 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/^\\Z/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 404 404
4975 q{eof},
4976 $tracelevel)
4977 if defined $::RD_TRACE;
4978 404 undef $lastsep;
4979 404 $expectation->is(q{})->at($text);
4980
4981  
4982 404 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:^\Z)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:^\Z)/) 0 404 404
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:^\Z)/
!ll&&!rl&&r
00404
($lastsep = $1) && ''
!ll
31490
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:^\Z)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:^\Z)/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:^\Z)/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
4983 {
4984 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
4985 0 $expectation->failed();
4986 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
4987 Parse::RecDescent::_tracefirst($text))
4988 if defined $::RD_TRACE;
4989  
4990 0 last;
4991 }
4992 404 $current_match = substr($text, $-[0], $+[0] - $-[0]);
4993 404 substr($text,0,length($current_match),q{});
4994 404 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 404 404
4995 . $current_match . q{])},
4996 Parse::RecDescent::_tracefirst($text))
4997 if defined $::RD_TRACE;
4998 404 push @item, $item{__PATTERN1__}=$current_match;
4999
5000  
5001 404 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/^\\Z/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 404 404
5002 Parse::RecDescent::_tracefirst($text),
5003 q{eof},
5004 $tracelevel)
5005 if defined $::RD_TRACE;
5006  
5007  
5008  
5009 404 $_matched = 1;
5010 404 last;
5011 }
5012  
5013  
5014 404 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 404 404
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
40400
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
5015 {
5016
5017  
5018 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
5019 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5020 Parse::RecDescent::_tracefirst($_[1]),
5021 q{eof},
5022 $tracelevel)
5023 if defined $::RD_TRACE;
5024 0 return undef;
5025 }
5026 404 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 404 404
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
04040
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
ABresult
0X0
100
111
5027 {
5028 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5029 q{eof},
5030 $tracelevel)
5031 if defined $::RD_TRACE;
5032 0 $return = $score_return;
5033 }
5034 404 splice @{$thisparser->{errors}}, $err_at;
5035 404 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 404 0 404
5036 404 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 404 404
5037 {
5038 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5039 $return . q{])}, "",
5040 q{eof},
5041 $tracelevel);
5042 0 Parse::RecDescent::_trace(q{(consumed: [} .
5043 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5044 Parse::RecDescent::_tracefirst($text),
5045 , q{eof},
5046 $tracelevel)
5047 }
5048 404 $_[1] = $text;
5049 404 return $return;
5050 }
5051  
5052 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
5053 sub Parse::RecDescent::Config::Maker::Grammar::glob
5054 632 ▶{
Subroutine glob: called CC=24 SCAR=34.3
5055 632 my $thisparser = $_[0];
5056 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
5057 632 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
6320
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
5058 632 $ERRORS = 0;
5059 632 my $thisrule = $thisparser->{"rules"}{"glob"};
5060  
5061 632 ▶ Parse::RecDescent::_trace(q{Trying rule: [glob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 632 632
5062 Parse::RecDescent::_tracefirst($_[1]),
5063 q{glob},
5064 $tracelevel)
5065 if defined $::RD_TRACE;
5066  
5067
5068 632 my $err_at = @{$thisparser->{errors}};
5069  
5070 632 my $score;
5071 my $score_return;
5072 632 my $_tok;
5073 632 my $return = undef;
5074 632 my $_matched=0;
5075 632 my $commit=0;
5076 632 my @item = ();
5077 632 my %item = ();
5078 632 my $repeating = $_[2];
5079 632 my $_noactions = $_[3];
5080 632 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 632 0 632
5081 632 my $_itempos = $_[5];
5082 632 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 624 8 632
5083 632 my $text;
5084 my $lastsep;
5085 632 my $current_match;
5086 632 my $expectation = new Parse::RecDescent::Expectation(q{/([[:alnum:].@%*=?|_\\[\\]\{\}-]|\\\\.)+/});
5087 632 $expectation->at($_[1]);
5088
5089 632 my $thisline;
5090 632 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5091  
5092
5093  
5094 632 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 632 0 632
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00632
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5095 {
5096
5097 632 ▶ Parse::RecDescent::_trace(q{Trying production: [/([[:alnum:].@%*=?|_\\[\\]\{\}-]|\\\\.)+/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 632 632
5098 Parse::RecDescent::_tracefirst($_[1]),
5099 q{glob},
5100 $tracelevel)
5101 if defined $::RD_TRACE;
5102 632 my $thisprod = $thisrule->{"prods"}[0];
5103 632 $text = $_[1];
5104 632 my $_savetext;
5105 632 @item = (q{glob});
5106 632 %item = (__RULE__ => q{glob});
5107 632 my $repcount = 0;
5108  
5109  
5110 632 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/([[:alnum:].@%*=?|_\\[\\]\{\}-]|\\\\.)+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 632 632
5111 q{glob},
5112 $tracelevel)
5113 if defined $::RD_TRACE;
5114 632 undef $lastsep;
5115 632 $expectation->is(q{})->at($text);
5116
5117  
5118 632 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:([[:alnum:].@%*=?|_\[\]{}-]|\\.)+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:alnum:].\@%*=?|_\[\]{}-]|\\.)+)/) 40 592 632
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:alnum:].\@%*=?|_\[\]{}-]|\\.)+)/
!ll&&!rl&&r
040592
($lastsep = $1) && ''
!ll
6320
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:alnum:].\@%*=?|_\[\]{}-]|\\.)+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:([[:alnum:].\@%*=?|_\[\]{}-]|\\.)+)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:([[:alnum:].\@%*=?|_\[\]{}-]|\\.)+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
5119 {
5120 40 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 40 0 40
5121 40 $expectation->failed();
5122 40 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
5123 Parse::RecDescent::_tracefirst($text))
5124 if defined $::RD_TRACE;
5125  
5126 40 last;
5127 }
5128 592 $current_match = substr($text, $-[0], $+[0] - $-[0]);
5129 592 substr($text,0,length($current_match),q{});
5130 592 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 592 592
5131 . $current_match . q{])},
5132 Parse::RecDescent::_tracefirst($text))
5133 if defined $::RD_TRACE;
5134 592 push @item, $item{__PATTERN1__}=$current_match;
5135
5136  
5137 592 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/([[:alnum:].@%*=?|_\\[\\]\{\}-]|\\\\.)+/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 592 592
5138 Parse::RecDescent::_tracefirst($text),
5139 q{glob},
5140 $tracelevel)
5141 if defined $::RD_TRACE;
5142  
5143  
5144  
5145 592 $_matched = 1;
5146 592 last;
5147 }
5148  
5149  
5150 632 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 40 592 632
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
592040
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
5151 {
5152
5153  
5154 40 $_[1] = $text; # NOT SURE THIS IS NEEDED
5155 40 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
5156 Parse::RecDescent::_tracefirst($_[1]),
5157 q{glob},
5158 $tracelevel)
5159 if defined $::RD_TRACE;
5160 40 return undef;
5161 }
5162 592 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 592 592
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
05920
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
ABresult
0X0
100
111
5163 {
5164 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5165 q{glob},
5166 $tracelevel)
5167 if defined $::RD_TRACE;
5168 0 $return = $score_return;
5169 }
5170 592 splice @{$thisparser->{errors}}, $err_at;
5171 592 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 592 0 592
5172 592 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 592 592
5173 {
5174 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5175 $return . q{])}, "",
5176 q{glob},
5177 $tracelevel);
5178 0 Parse::RecDescent::_trace(q{(consumed: [} .
5179 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5180 Parse::RecDescent::_tracefirst($text),
5181 , q{glob},
5182 $tracelevel)
5183 }
5184 592 $_[1] = $text;
5185 592 return $return;
5186 }
5187  
5188 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
5189 sub Parse::RecDescent::Config::Maker::Grammar::hexint
5190 0 ▶{
Subroutine hexint: not called CC=46 SCAR=76.4
5191 0 my $thisparser = $_[0];
5192 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
5193 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
5194 0 $ERRORS = 0;
5195 0 my $thisrule = $thisparser->{"rules"}{"hexint"};
5196  
5197 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [hexint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5198 Parse::RecDescent::_tracefirst($_[1]),
5199 q{hexint},
5200 $tracelevel)
5201 if defined $::RD_TRACE;
5202  
5203
5204 0 my $err_at = @{$thisparser->{errors}};
5205  
5206 0 my $score;
5207 my $score_return;
5208 0 my $_tok;
5209 0 my $return = undef;
5210 0 my $_matched=0;
5211 0 my $commit=0;
5212 0 my @item = ();
5213 0 my %item = ();
5214 0 my $repeating = $_[2];
5215 0 my $_noactions = $_[3];
5216 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
5217 0 my $_itempos = $_[5];
5218 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
5219 0 my $text;
5220 my $lastsep;
5221 0 my $current_match;
5222 0 my $expectation = new Parse::RecDescent::Expectation(q{/0x[[:xdigit:]]+/});
5223 0 $expectation->at($_[1]);
5224
5225 0 my $thisline;
5226 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5227  
5228
5229  
5230 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5231 {
5232
5233 0 ▶ Parse::RecDescent::_trace(q{Trying production: [/0x[[:xdigit:]]+/ <commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5234 Parse::RecDescent::_tracefirst($_[1]),
5235 q{hexint},
5236 $tracelevel)
5237 if defined $::RD_TRACE;
5238 0 my $thisprod = $thisrule->{"prods"}[0];
5239 0 $text = $_[1];
5240 0 my $_savetext;
5241 0 @item = (q{hexint});
5242 0 %item = (__RULE__ => q{hexint});
5243 0 my $repcount = 0;
5244  
5245  
5246 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/0x[[:xdigit:]]+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5247 q{hexint},
5248 $tracelevel)
5249 if defined $::RD_TRACE;
5250 0 undef $lastsep;
5251 0 $expectation->is(q{})->at($text);
5252
5253  
5254 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:0x[[:xdigit:]]+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0x[[:xdigit:]]+)/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0x[[:xdigit:]]+)/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0x[[:xdigit:]]+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:0x[[:xdigit:]]+)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:0x[[:xdigit:]]+)/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
5255 {
5256 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
5257 0 $expectation->failed();
5258 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5259 Parse::RecDescent::_tracefirst($text))
5260 if defined $::RD_TRACE;
5261  
5262 0 last;
5263 }
5264 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
5265 0 substr($text,0,length($current_match),q{});
5266 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5267 . $current_match . q{])},
5268 Parse::RecDescent::_tracefirst($text))
5269 if defined $::RD_TRACE;
5270 0 push @item, $item{__PATTERN1__}=$current_match;
5271
5272  
5273
5274  
5275 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5276 Parse::RecDescent::_tracefirst($text),
5277 q{hexint},
5278 $tracelevel)
5279 if defined $::RD_TRACE;
5280 0 $_tok = do { $commit = 1 };
5281 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
5282 {
5283 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5284 . $_tok . q{])},
5285 Parse::RecDescent::_tracefirst($text))
5286 if defined $::RD_TRACE;
5287 }
5288 else
5289 {
5290 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5291 Parse::RecDescent::_tracefirst($text))
5292 if defined $::RD_TRACE;
5293 }
5294
5295 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
5296 0 push @item, $item{__DIRECTIVE1__}=$_tok;
5297
5298  
5299 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5300 Parse::RecDescent::_tracefirst($text),
5301 q{hexint},
5302 $tracelevel)
5303 if defined $::RD_TRACE;
5304
5305  
5306 0 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::limit(hex($item[1]), @arg); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
5307 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
5308 {
5309 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5310 if defined $::RD_TRACE;
5311 0 last;
5312 }
5313 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5314 . $_tok . q{])},
5315 Parse::RecDescent::_tracefirst($text))
5316 if defined $::RD_TRACE;
5317 0 push @item, $_tok;
5318 0 $item{__ACTION1__}=$_tok;
5319
5320  
5321 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/0x[[:xdigit:]]+/ <commit>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5322 Parse::RecDescent::_tracefirst($text),
5323 q{hexint},
5324 $tracelevel)
5325 if defined $::RD_TRACE;
5326  
5327  
5328  
5329 0 $_matched = 1;
5330 0 last;
5331 }
5332  
5333  
5334 0 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 0 0
5335 {
5336
5337 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5338 Parse::RecDescent::_tracefirst($_[1]),
5339 q{hexint},
5340 $tracelevel)
5341 if defined $::RD_TRACE;
5342 0 my $thisprod = $thisrule->{"prods"}[1];
5343
5344 0 my $_savetext;
5345 0 @item = (q{hexint});
5346 0 %item = (__RULE__ => q{hexint});
5347 0 my $repcount = 0;
5348  
5349  
5350
5351  
5352 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5353 Parse::RecDescent::_tracefirst($text),
5354 q{hexint},
5355 $tracelevel)
5356 if defined $::RD_TRACE;
5357 0 ▶ $_tok = do { if ($commit) { do {push @{$thisparser->{errors}}, [qq{ Number $item[1] out of range},$thisline];} unless $_noactions; undef } else {0} };
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 0 0
unless ($_noactions) 0 0 0
5358 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
5359 {
5360 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5361 . $_tok . q{])},
5362 Parse::RecDescent::_tracefirst($text))
5363 if defined $::RD_TRACE;
5364 }
5365 else
5366 {
5367 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5368 Parse::RecDescent::_tracefirst($text))
5369 if defined $::RD_TRACE;
5370 }
5371
5372 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
5373 0 push @item, $item{__DIRECTIVE1__}=$_tok;
5374
5375  
5376 0 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5377 Parse::RecDescent::_tracefirst($text),
5378 q{hexint},
5379 $tracelevel)
5380 if defined $::RD_TRACE;
5381 0 undef $return;
5382
5383  
5384 0 $_tok = undef;
5385
5386 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
5387  
5388 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5389 Parse::RecDescent::_tracefirst($text),
5390 q{hexint},
5391 $tracelevel)
5392 if defined $::RD_TRACE;
5393  
5394  
5395  
5396 0 $_matched = 1;
5397 0 last;
5398 }
5399  
5400  
5401 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
5402 {
5403
5404  
5405 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
5406 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5407 Parse::RecDescent::_tracefirst($_[1]),
5408 q{hexint},
5409 $tracelevel)
5410 if defined $::RD_TRACE;
5411 0 return undef;
5412 }
5413 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
5414 {
5415 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5416 q{hexint},
5417 $tracelevel)
5418 if defined $::RD_TRACE;
5419 0 $return = $score_return;
5420 }
5421 0 splice @{$thisparser->{errors}}, $err_at;
5422 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
5423 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
5424 {
5425 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5426 $return . q{])}, "",
5427 q{hexint},
5428 $tracelevel);
5429 0 Parse::RecDescent::_trace(q{(consumed: [} .
5430 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5431 Parse::RecDescent::_tracefirst($text),
5432 , q{hexint},
5433 $tracelevel)
5434 }
5435 0 $_[1] = $text;
5436 0 return $return;
5437 }
5438  
5439 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
5440 sub Parse::RecDescent::Config::Maker::Grammar::identifier
5441 1425 ▶{
Subroutine identifier: called CC=24 SCAR=34.0
5442 1425 my $thisparser = $_[0];
5443 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
5444 1425 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
14250
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
5445 1425 $ERRORS = 0;
5446 1425 my $thisrule = $thisparser->{"rules"}{"identifier"};
5447  
5448 1425 ▶ Parse::RecDescent::_trace(q{Trying rule: [identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1425 1425
5449 Parse::RecDescent::_tracefirst($_[1]),
5450 q{identifier},
5451 $tracelevel)
5452 if defined $::RD_TRACE;
5453  
5454
5455 1425 my $err_at = @{$thisparser->{errors}};
5456  
5457 1425 my $score;
5458 my $score_return;
5459 1425 my $_tok;
5460 1425 my $return = undef;
5461 1425 my $_matched=0;
5462 1425 my $commit=0;
5463 1425 my @item = ();
5464 1425 my %item = ();
5465 1425 my $repeating = $_[2];
5466 1425 my $_noactions = $_[3];
5467 1425 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 1425 0 1425
5468 1425 my $_itempos = $_[5];
5469 1425 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 364 1061 1425
5470 1425 my $text;
5471 my $lastsep;
5472 1425 my $current_match;
5473 1425 my $expectation = new Parse::RecDescent::Expectation(q{/[[:alpha:]][[:alnum:]_-]*/});
5474 1425 $expectation->at($_[1]);
5475
5476 1425 my $thisline;
5477 1425 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5478  
5479
5480  
5481 1425 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1425 0 1425
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
001425
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5482 {
5483
5484 1425 ▶ Parse::RecDescent::_trace(q{Trying production: [/[[:alpha:]][[:alnum:]_-]*/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1425 1425
5485 Parse::RecDescent::_tracefirst($_[1]),
5486 q{identifier},
5487 $tracelevel)
5488 if defined $::RD_TRACE;
5489 1425 my $thisprod = $thisrule->{"prods"}[0];
5490 1425 $text = $_[1];
5491 1425 my $_savetext;
5492 1425 @item = (q{identifier});
5493 1425 %item = (__RULE__ => q{identifier});
5494 1425 my $repcount = 0;
5495  
5496  
5497 1425 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[[:alpha:]][[:alnum:]_-]*/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1425 1425
5498 q{identifier},
5499 $tracelevel)
5500 if defined $::RD_TRACE;
5501 1425 undef $lastsep;
5502 1425 $expectation->is(q{})->at($text);
5503
5504  
5505 1425 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[[:alpha:]][[:alnum:]_-]*)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[[:alpha:]][[:alnum:]_-]*)/) 336 1089 1425
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[[:alpha:]][[:alnum:]_-]*)/
!ll&&!rl&&r
03361089
($lastsep = $1) && ''
!ll
475950
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[[:alpha:]][[:alnum:]_-]*)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[[:alpha:]][[:alnum:]_-]*)/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[[:alpha:]][[:alnum:]_-]*)/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
5506 {
5507 336 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 336 0 336
5508 336 $expectation->failed();
5509 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
5510 Parse::RecDescent::_tracefirst($text))
5511 if defined $::RD_TRACE;
5512  
5513 336 last;
5514 }
5515 1089 $current_match = substr($text, $-[0], $+[0] - $-[0]);
5516 1089 substr($text,0,length($current_match),q{});
5517 1089 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1089 1089
5518 . $current_match . q{])},
5519 Parse::RecDescent::_tracefirst($text))
5520 if defined $::RD_TRACE;
5521 1089 push @item, $item{__PATTERN1__}=$current_match;
5522
5523  
5524 1089 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[[:alpha:]][[:alnum:]_-]*/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1089 1089
5525 Parse::RecDescent::_tracefirst($text),
5526 q{identifier},
5527 $tracelevel)
5528 if defined $::RD_TRACE;
5529  
5530  
5531  
5532 1089 $_matched = 1;
5533 1089 last;
5534 }
5535  
5536  
5537 1425 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 336 1089 1425
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
10890336
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
5538 {
5539
5540  
5541 336 $_[1] = $text; # NOT SURE THIS IS NEEDED
5542 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
5543 Parse::RecDescent::_tracefirst($_[1]),
5544 q{identifier},
5545 $tracelevel)
5546 if defined $::RD_TRACE;
5547 336 return undef;
5548 }
5549 1089 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 1089 1089
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
010890
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
ABresult
0X0
100
111
5550 {
5551 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5552 q{identifier},
5553 $tracelevel)
5554 if defined $::RD_TRACE;
5555 0 $return = $score_return;
5556 }
5557 1089 splice @{$thisparser->{errors}}, $err_at;
5558 1089 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 1089 0 1089
5559 1089 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 1089 1089
5560 {
5561 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
5562 $return . q{])}, "",
5563 q{identifier},
5564 $tracelevel);
5565 0 Parse::RecDescent::_trace(q{(consumed: [} .
5566 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
5567 Parse::RecDescent::_tracefirst($text),
5568 , q{identifier},
5569 $tracelevel)
5570 }
5571 1089 $_[1] = $text;
5572 1089 return $return;
5573 }
5574  
5575 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
5576 sub Parse::RecDescent::Config::Maker::Grammar::ifrest
5577 7 ▶{
Subroutine ifrest: called CC=104 SCAR=60.1
5578 7 my $thisparser = $_[0];
5579 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
5580 7 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
70
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
5581 7 $ERRORS = 0;
5582 7 my $thisrule = $thisparser->{"rules"}{"ifrest"};
5583  
5584 7 ▶ Parse::RecDescent::_trace(q{Trying rule: [ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 7 7
5585 Parse::RecDescent::_tracefirst($_[1]),
5586 q{ifrest},
5587 $tracelevel)
5588 if defined $::RD_TRACE;
5589  
5590
5591 7 my $err_at = @{$thisparser->{errors}};
5592  
5593 7 my $score;
5594 my $score_return;
5595 7 my $_tok;
5596 7 my $return = undef;
5597 7 my $_matched=0;
5598 7 my $commit=0;
5599 7 my @item = ();
5600 7 my %item = ();
5601 7 my $repeating = $_[2];
5602 7 my $_noactions = $_[3];
5603 7 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 7 0 7
5604 7 my $_itempos = $_[5];
5605 7 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 7 0 7
5606 7 my $text;
5607 my $lastsep;
5608 7 my $current_match;
5609 7 my $expectation = new Parse::RecDescent::Expectation(q{opener, or closer});
5610 7 $expectation->at($_[1]);
5611
5612 7 my $thisline;
5613 7 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
5614  
5615
5616  
5617 7 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 7 0 7
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
007
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5618 {
5619
5620 7 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 7 7
5621 Parse::RecDescent::_tracefirst($_[1]),
5622 q{ifrest},
5623 $tracelevel)
5624 if defined $::RD_TRACE;
5625 7 my $thisprod = $thisrule->{"prods"}[0];
5626 7 $text = $_[1];
5627 7 my $_savetext;
5628 7 @item = (q{ifrest});
5629 7 %item = (__RULE__ => q{ifrest});
5630 7 my $repcount = 0;
5631  
5632  
5633 7 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 7 7
5634 Parse::RecDescent::_tracefirst($text),
5635 q{ifrest},
5636 $tracelevel)
5637 if defined $::RD_TRACE;
5638 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
5639 7 $expectation->is(q{})->at($text);
5640 7 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['elsif', perlcode => '()'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["elsif", "perlcode", "()"]; } , undef))) 6 1 7
5641 {
5642
5643 6 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
5644 Parse::RecDescent::_tracefirst($text),
5645 q{ifrest},
5646 $tracelevel)
5647 if defined $::RD_TRACE;
5648 6 $expectation->failed();
5649 6 last;
5650 }
5651 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5652 . $_tok . q{]},
5653  
5654 Parse::RecDescent::_tracefirst($text),
5655 q{ifrest},
5656 $tracelevel)
5657 if defined $::RD_TRACE;
5658 1 $item{q{opener}} = $_tok;
5659 1 push @item, $_tok;
5660
5661 }
5662  
5663
5664  
5665 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5666 Parse::RecDescent::_tracefirst($text),
5667 q{ifrest},
5668 $tracelevel)
5669 if defined $::RD_TRACE;
5670 1 $_tok = do { $commit = 1 };
5671 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
5672 {
5673 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5674 . $_tok . q{])},
5675 Parse::RecDescent::_tracefirst($text))
5676 if defined $::RD_TRACE;
5677 }
5678 else
5679 {
5680 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5681 Parse::RecDescent::_tracefirst($text))
5682 if defined $::RD_TRACE;
5683 }
5684
5685 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
5686 1 push @item, $item{__DIRECTIVE1__}=$_tok;
5687
5688  
5689 1 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5690 Parse::RecDescent::_tracefirst($text),
5691 q{ifrest},
5692 $tracelevel)
5693 if defined $::RD_TRACE;
5694 1 $expectation->is(q{directive})->at($text);
5695
5696 1 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 1 1
5697 {
5698 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5699 Parse::RecDescent::_tracefirst($text),
5700 q{ifrest},
5701 $tracelevel)
5702 if defined $::RD_TRACE;
5703 0 last;
5704 }
5705 1 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5706 . @$_tok . q{ times)},
5707  
5708 Parse::RecDescent::_tracefirst($text),
5709 q{ifrest},
5710 $tracelevel)
5711 if defined $::RD_TRACE;
5712 1 $item{q{directive(s)}} = $_tok;
5713 1 push @item, $_tok;
5714
5715  
5716  
5717 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5718 Parse::RecDescent::_tracefirst($text),
5719 q{ifrest},
5720 $tracelevel)
5721 if defined $::RD_TRACE;
5722 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
5723 1 $expectation->is(q{ifrest})->at($text);
5724 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ifrest($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ifrest($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 1 1
5725 {
5726
5727 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ifrest]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5728 Parse::RecDescent::_tracefirst($text),
5729 q{ifrest},
5730 $tracelevel)
5731 if defined $::RD_TRACE;
5732 0 $expectation->failed();
5733 0 last;
5734 }
5735 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ifrest]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5736 . $_tok . q{]},
5737  
5738 Parse::RecDescent::_tracefirst($text),
5739 q{ifrest},
5740 $tracelevel)
5741 if defined $::RD_TRACE;
5742 1 $item{q{ifrest}} = $_tok;
5743 1 push @item, $_tok;
5744
5745 }
5746  
5747 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5748 Parse::RecDescent::_tracefirst($text),
5749 q{ifrest},
5750 $tracelevel)
5751 if defined $::RD_TRACE;
5752
5753  
5754 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
5755 1 my $expr = $item[1];
5756 1 my @parts = @{$item[3]};
5757 1 my $else = $item[4];
5758 6 ▶ sub {
Subroutine __ANON__: called CC=2 SCAR=8.1
5759 6 ▶ if(Config::Maker::exe($expr)) {
Branch: 1 branch
BranchTrueFalseTotal
if (Config::Maker::exe($expr)) { } 6 0 6
5760 6 Config::Maker::Driver::apply(@parts);
5761 } else {
5762 0 Config::Maker::Driver::apply($else);
5763 }
5764 }
5765 1 };
5766 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
5767 {
5768 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5769 if defined $::RD_TRACE;
5770 0 last;
5771 }
5772 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5773 . $_tok . q{])},
5774 Parse::RecDescent::_tracefirst($text))
5775 if defined $::RD_TRACE;
5776 1 push @item, $_tok;
5777 1 $item{__ACTION1__}=$_tok;
5778
5779  
5780 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive ifrest]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5781 Parse::RecDescent::_tracefirst($text),
5782 q{ifrest},
5783 $tracelevel)
5784 if defined $::RD_TRACE;
5785  
5786  
5787  
5788 1 $_matched = 1;
5789 1 last;
5790 }
5791  
5792  
5793 7 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 6 1 7
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
106
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5794 {
5795
5796 6 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
5797 Parse::RecDescent::_tracefirst($_[1]),
5798 q{ifrest},
5799 $tracelevel)
5800 if defined $::RD_TRACE;
5801 6 my $thisprod = $thisrule->{"prods"}[1];
5802 6 $text = $_[1];
5803 6 my $_savetext;
5804 6 @item = (q{ifrest});
5805 6 %item = (__RULE__ => q{ifrest});
5806 6 my $repcount = 0;
5807  
5808  
5809 6 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
5810 Parse::RecDescent::_tracefirst($text),
5811 q{ifrest},
5812 $tracelevel)
5813 if defined $::RD_TRACE;
5814 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
5815 6 $expectation->is(q{})->at($text);
5816 6 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['elsif', pair => ['identifier'], ['path']] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["elsif", "pair", ["identifier"], ["path"]]; } , undef))) 5 1 6
5817 {
5818
5819 5 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
5820 Parse::RecDescent::_tracefirst($text),
5821 q{ifrest},
5822 $tracelevel)
5823 if defined $::RD_TRACE;
5824 5 $expectation->failed();
5825 5 last;
5826 }
5827 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5828 . $_tok . q{]},
5829  
5830 Parse::RecDescent::_tracefirst($text),
5831 q{ifrest},
5832 $tracelevel)
5833 if defined $::RD_TRACE;
5834 1 $item{q{opener}} = $_tok;
5835 1 push @item, $_tok;
5836
5837 }
5838  
5839
5840  
5841 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5842 Parse::RecDescent::_tracefirst($text),
5843 q{ifrest},
5844 $tracelevel)
5845 if defined $::RD_TRACE;
5846 1 $_tok = do { $commit = 1 };
5847 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
5848 {
5849 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5850 . $_tok . q{])},
5851 Parse::RecDescent::_tracefirst($text))
5852 if defined $::RD_TRACE;
5853 }
5854 else
5855 {
5856 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5857 Parse::RecDescent::_tracefirst($text))
5858 if defined $::RD_TRACE;
5859 }
5860
5861 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
5862 1 push @item, $item{__DIRECTIVE1__}=$_tok;
5863
5864  
5865 1 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5866 Parse::RecDescent::_tracefirst($text),
5867 q{ifrest},
5868 $tracelevel)
5869 if defined $::RD_TRACE;
5870 1 $expectation->is(q{directive})->at($text);
5871
5872 1 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 1 1
5873 {
5874 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5875 Parse::RecDescent::_tracefirst($text),
5876 q{ifrest},
5877 $tracelevel)
5878 if defined $::RD_TRACE;
5879 0 last;
5880 }
5881 1 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5882 . @$_tok . q{ times)},
5883  
5884 Parse::RecDescent::_tracefirst($text),
5885 q{ifrest},
5886 $tracelevel)
5887 if defined $::RD_TRACE;
5888 1 $item{q{directive(s)}} = $_tok;
5889 1 push @item, $_tok;
5890
5891  
5892  
5893 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ifrest]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5894 Parse::RecDescent::_tracefirst($text),
5895 q{ifrest},
5896 $tracelevel)
5897 if defined $::RD_TRACE;
5898 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
5899 1 $expectation->is(q{ifrest})->at($text);
5900 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ifrest($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ifrest($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 1 1
5901 {
5902
5903 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ifrest]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5904 Parse::RecDescent::_tracefirst($text),
5905 q{ifrest},
5906 $tracelevel)
5907 if defined $::RD_TRACE;
5908 0 $expectation->failed();
5909 0 last;
5910 }
5911 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ifrest]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5912 . $_tok . q{]},
5913  
5914 Parse::RecDescent::_tracefirst($text),
5915 q{ifrest},
5916 $tracelevel)
5917 if defined $::RD_TRACE;
5918 1 $item{q{ifrest}} = $_tok;
5919 1 push @item, $_tok;
5920
5921 }
5922  
5923 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5924 Parse::RecDescent::_tracefirst($text),
5925 q{ifrest},
5926 $tracelevel)
5927 if defined $::RD_TRACE;
5928
5929  
5930 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
5931 1 my ($test, $path) = @{$item[1]};
5932 1 my @parts = @{$item[3]};
5933 1 my $else = $item[4];
5934 5 ▶ sub {
Subroutine __ANON__: called CC=3 SCAR=11.0
5935 die "No if test '$test'"
5936 5 ▶ unless $Config::Maker::Path::checks{$test};
Branch: 1 branch
BranchTrueFalseTotal
unless $Config::Maker::Path::checks{$test} 0 5 5
5937 5 ▶ if($Config::Maker::Path::checks{$test}($path)) {
Branch: 1 branch
BranchTrueFalseTotal
if ($Config::Maker::Path::checks{$test}->($path)) { } 2 3 5
5938 2 Config::Maker::Driver::apply(@parts);
5939 } else {
5940 3 Config::Maker::Driver::apply($else);
5941 }
5942 }
5943 1 };
5944 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
5945 {
5946 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
5947 if defined $::RD_TRACE;
5948 0 last;
5949 }
5950 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5951 . $_tok . q{])},
5952 Parse::RecDescent::_tracefirst($text))
5953 if defined $::RD_TRACE;
5954 1 push @item, $_tok;
5955 1 $item{__ACTION1__}=$_tok;
5956
5957  
5958 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive ifrest]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
5959 Parse::RecDescent::_tracefirst($text),
5960 q{ifrest},
5961 $tracelevel)
5962 if defined $::RD_TRACE;
5963  
5964  
5965  
5966 1 $_matched = 1;
5967 1 last;
5968 }
5969  
5970  
5971 7 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 5 2 7
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
205
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
5972 {
5973
5974 5 ▶ Parse::RecDescent::_trace(q{Trying production: [opener <commit> directive closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
5975 Parse::RecDescent::_tracefirst($_[1]),
5976 q{ifrest},
5977 $tracelevel)
5978 if defined $::RD_TRACE;
5979 5 my $thisprod = $thisrule->{"prods"}[2];
5980 5 $text = $_[1];
5981 5 my $_savetext;
5982 5 @item = (q{ifrest});
5983 5 %item = (__RULE__ => q{ifrest});
5984 5 my $repcount = 0;
5985  
5986  
5987 5 ▶ Parse::RecDescent::_trace(q{Trying subrule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
5988 Parse::RecDescent::_tracefirst($text),
5989 q{ifrest},
5990 $tracelevel)
5991 if defined $::RD_TRACE;
5992 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
5993 5 $expectation->is(q{})->at($text);
5994 5 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::opener($thisparser,$text,$repeating,$_noactions,sub { return ['else', 'void'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = opener($thisparser, $text, $repeating, $_noactions, sub { return ["else", "void"]; } , undef))) 4 1 5
5995 {
5996
5997 4 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [opener]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
5998 Parse::RecDescent::_tracefirst($text),
5999 q{ifrest},
6000 $tracelevel)
6001 if defined $::RD_TRACE;
6002 4 $expectation->failed();
6003 4 last;
6004 }
6005 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [opener]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6006 . $_tok . q{]},
6007  
6008 Parse::RecDescent::_tracefirst($text),
6009 q{ifrest},
6010 $tracelevel)
6011 if defined $::RD_TRACE;
6012 1 $item{q{opener}} = $_tok;
6013 1 push @item, $_tok;
6014
6015 }
6016  
6017
6018  
6019 1 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6020 Parse::RecDescent::_tracefirst($text),
6021 q{ifrest},
6022 $tracelevel)
6023 if defined $::RD_TRACE;
6024 1 $_tok = do { $commit = 1 };
6025 1 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 1 0 1
6026 {
6027 1 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6028 . $_tok . q{])},
6029 Parse::RecDescent::_tracefirst($text))
6030 if defined $::RD_TRACE;
6031 }
6032 else
6033 {
6034 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6035 Parse::RecDescent::_tracefirst($text))
6036 if defined $::RD_TRACE;
6037 }
6038
6039 1 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 1 1
6040 1 push @item, $item{__DIRECTIVE1__}=$_tok;
6041
6042  
6043 1 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6044 Parse::RecDescent::_tracefirst($text),
6045 q{ifrest},
6046 $tracelevel)
6047 if defined $::RD_TRACE;
6048 1 $expectation->is(q{directive})->at($text);
6049
6050 1 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 1, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 1 1
6051 {
6052 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6053 Parse::RecDescent::_tracefirst($text),
6054 q{ifrest},
6055 $tracelevel)
6056 if defined $::RD_TRACE;
6057 0 last;
6058 }
6059 1 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6060 . @$_tok . q{ times)},
6061  
6062 Parse::RecDescent::_tracefirst($text),
6063 q{ifrest},
6064 $tracelevel)
6065 if defined $::RD_TRACE;
6066 1 $item{q{directive(s)}} = $_tok;
6067 1 push @item, $_tok;
6068
6069  
6070  
6071 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6072 Parse::RecDescent::_tracefirst($text),
6073 q{ifrest},
6074 $tracelevel)
6075 if defined $::RD_TRACE;
6076 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
6077 1 $expectation->is(q{closer})->at($text);
6078 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::closer($thisparser,$text,$repeating,$_noactions,sub { return ['if'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = closer($thisparser, $text, $repeating, $_noactions, sub { return ["if"]; } , undef))) 0 1 1
6079 {
6080
6081 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [closer]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6082 Parse::RecDescent::_tracefirst($text),
6083 q{ifrest},
6084 $tracelevel)
6085 if defined $::RD_TRACE;
6086 0 $expectation->failed();
6087 0 last;
6088 }
6089 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [closer]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6090 . $_tok . q{]},
6091  
6092 Parse::RecDescent::_tracefirst($text),
6093 q{ifrest},
6094 $tracelevel)
6095 if defined $::RD_TRACE;
6096 1 $item{q{closer}} = $_tok;
6097 1 push @item, $_tok;
6098
6099 }
6100  
6101 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6102 Parse::RecDescent::_tracefirst($text),
6103 q{ifrest},
6104 $tracelevel)
6105 if defined $::RD_TRACE;
6106
6107  
6108 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
6109 1 my @parts = @{$item[3]};
6110 3 ▶ sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
6111 3 Config::Maker::Driver::apply(@parts);
6112 }
6113 1 };
6114 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
6115 {
6116 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6117 if defined $::RD_TRACE;
6118 0 last;
6119 }
6120 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6121 . $_tok . q{])},
6122 Parse::RecDescent::_tracefirst($text))
6123 if defined $::RD_TRACE;
6124 1 push @item, $_tok;
6125 1 $item{__ACTION1__}=$_tok;
6126
6127  
6128 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: [opener <commit> directive closer]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
6129 Parse::RecDescent::_tracefirst($text),
6130 q{ifrest},
6131 $tracelevel)
6132 if defined $::RD_TRACE;
6133  
6134  
6135  
6136 1 $_matched = 1;
6137 1 last;
6138 }
6139  
6140  
6141 7 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 4 3 7
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
304
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6142 {
6143
6144 4 ▶ Parse::RecDescent::_trace(q{Trying production: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6145 Parse::RecDescent::_tracefirst($_[1]),
6146 q{ifrest},
6147 $tracelevel)
6148 if defined $::RD_TRACE;
6149 4 my $thisprod = $thisrule->{"prods"}[3];
6150 4 $text = $_[1];
6151 4 my $_savetext;
6152 4 @item = (q{ifrest});
6153 4 %item = (__RULE__ => q{ifrest});
6154 4 my $repcount = 0;
6155  
6156  
6157 4 ▶ Parse::RecDescent::_trace(q{Trying subrule: [closer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6158 Parse::RecDescent::_tracefirst($text),
6159 q{ifrest},
6160 $tracelevel)
6161 if defined $::RD_TRACE;
6162 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
6163 4 $expectation->is(q{})->at($text);
6164 4 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::closer($thisparser,$text,$repeating,$_noactions,sub { return ['if'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = closer($thisparser, $text, $repeating, $_noactions, sub { return ["if"]; } , undef))) 0 4 4
6165 {
6166
6167 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [closer]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6168 Parse::RecDescent::_tracefirst($text),
6169 q{ifrest},
6170 $tracelevel)
6171 if defined $::RD_TRACE;
6172 0 $expectation->failed();
6173 0 last;
6174 }
6175 4 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [closer]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6176 . $_tok . q{]},
6177  
6178 Parse::RecDescent::_tracefirst($text),
6179 q{ifrest},
6180 $tracelevel)
6181 if defined $::RD_TRACE;
6182 4 $item{q{closer}} = $_tok;
6183 4 push @item, $_tok;
6184
6185 }
6186  
6187 4 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6188 Parse::RecDescent::_tracefirst($text),
6189 q{ifrest},
6190 $tracelevel)
6191 if defined $::RD_TRACE;
6192
6193  
6194 4 ▶ $_tok = ($_noactions) ? 0 : do { ''; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 4 4
6195 4 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 4 4
6196 {
6197 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6198 if defined $::RD_TRACE;
6199 0 last;
6200 }
6201 4 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6202 . $_tok . q{])},
6203 Parse::RecDescent::_tracefirst($text))
6204 if defined $::RD_TRACE;
6205 4 push @item, $_tok;
6206 4 $item{__ACTION1__}=$_tok;
6207
6208  
6209 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: [closer]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
6210 Parse::RecDescent::_tracefirst($text),
6211 q{ifrest},
6212 $tracelevel)
6213 if defined $::RD_TRACE;
6214  
6215  
6216  
6217 4 $_matched = 1;
6218 4 last;
6219 }
6220  
6221  
6222 7 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 7 7
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
700
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
6223 {
6224
6225  
6226 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
6227 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6228 Parse::RecDescent::_tracefirst($_[1]),
6229 q{ifrest},
6230 $tracelevel)
6231 if defined $::RD_TRACE;
6232 0 return undef;
6233 }
6234 7 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 7 7
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
070
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
ABresult
0X0
100
111
6235 {
6236 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6237 q{ifrest},
6238 $tracelevel)
6239 if defined $::RD_TRACE;
6240 0 $return = $score_return;
6241 }
6242 7 splice @{$thisparser->{errors}}, $err_at;
6243 7 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 7 0 7
6244 7 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 7 7
6245 {
6246 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6247 $return . q{])}, "",
6248 q{ifrest},
6249 $tracelevel);
6250 0 Parse::RecDescent::_trace(q{(consumed: [} .
6251 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6252 Parse::RecDescent::_tracefirst($text),
6253 , q{ifrest},
6254 $tracelevel)
6255 }
6256 7 $_[1] = $text;
6257 7 return $return;
6258 }
6259  
6260 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
6261 sub Parse::RecDescent::Config::Maker::Grammar::integer
6262 0 ▶{
Subroutine integer: not called CC=37 SCAR=70.7
6263 0 my $thisparser = $_[0];
6264 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
6265 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
6266 0 $ERRORS = 0;
6267 0 my $thisrule = $thisparser->{"rules"}{"integer"};
6268  
6269 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [integer]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6270 Parse::RecDescent::_tracefirst($_[1]),
6271 q{integer},
6272 $tracelevel)
6273 if defined $::RD_TRACE;
6274  
6275
6276 0 my $err_at = @{$thisparser->{errors}};
6277  
6278 0 my $score;
6279 my $score_return;
6280 0 my $_tok;
6281 0 my $return = undef;
6282 0 my $_matched=0;
6283 0 my $commit=0;
6284 0 my @item = ();
6285 0 my %item = ();
6286 0 my $repeating = $_[2];
6287 0 my $_noactions = $_[3];
6288 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
6289 0 my $_itempos = $_[5];
6290 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
6291 0 my $text;
6292 my $lastsep;
6293 0 my $current_match;
6294 0 my $expectation = new Parse::RecDescent::Expectation(q{hexint, or octint, or decint});
6295 0 $expectation->at($_[1]);
6296
6297 0 my $thisline;
6298 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6299  
6300
6301  
6302 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6303 {
6304
6305 0 ▶ Parse::RecDescent::_trace(q{Trying production: [hexint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6306 Parse::RecDescent::_tracefirst($_[1]),
6307 q{integer},
6308 $tracelevel)
6309 if defined $::RD_TRACE;
6310 0 my $thisprod = $thisrule->{"prods"}[0];
6311 0 $text = $_[1];
6312 0 my $_savetext;
6313 0 @item = (q{integer});
6314 0 %item = (__RULE__ => q{integer});
6315 0 my $repcount = 0;
6316  
6317  
6318 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [hexint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6319 Parse::RecDescent::_tracefirst($text),
6320 q{integer},
6321 $tracelevel)
6322 if defined $::RD_TRACE;
6323 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
6324 0 $expectation->is(q{})->at($text);
6325 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::hexint($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = hexint($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 0 0 0
6326 {
6327
6328 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [hexint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6329 Parse::RecDescent::_tracefirst($text),
6330 q{integer},
6331 $tracelevel)
6332 if defined $::RD_TRACE;
6333 0 $expectation->failed();
6334 0 last;
6335 }
6336 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [hexint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6337 . $_tok . q{]},
6338  
6339 Parse::RecDescent::_tracefirst($text),
6340 q{integer},
6341 $tracelevel)
6342 if defined $::RD_TRACE;
6343 0 $item{q{hexint}} = $_tok;
6344 0 push @item, $_tok;
6345
6346 }
6347  
6348 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [hexint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6349 Parse::RecDescent::_tracefirst($text),
6350 q{integer},
6351 $tracelevel)
6352 if defined $::RD_TRACE;
6353  
6354  
6355  
6356 0 $_matched = 1;
6357 0 last;
6358 }
6359  
6360  
6361 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6362 {
6363
6364 0 ▶ Parse::RecDescent::_trace(q{Trying production: [octint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6365 Parse::RecDescent::_tracefirst($_[1]),
6366 q{integer},
6367 $tracelevel)
6368 if defined $::RD_TRACE;
6369 0 my $thisprod = $thisrule->{"prods"}[1];
6370 0 $text = $_[1];
6371 0 my $_savetext;
6372 0 @item = (q{integer});
6373 0 %item = (__RULE__ => q{integer});
6374 0 my $repcount = 0;
6375  
6376  
6377 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [octint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6378 Parse::RecDescent::_tracefirst($text),
6379 q{integer},
6380 $tracelevel)
6381 if defined $::RD_TRACE;
6382 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
6383 0 $expectation->is(q{})->at($text);
6384 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::octint($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = octint($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 0 0 0
6385 {
6386
6387 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [octint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6388 Parse::RecDescent::_tracefirst($text),
6389 q{integer},
6390 $tracelevel)
6391 if defined $::RD_TRACE;
6392 0 $expectation->failed();
6393 0 last;
6394 }
6395 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [octint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6396 . $_tok . q{]},
6397  
6398 Parse::RecDescent::_tracefirst($text),
6399 q{integer},
6400 $tracelevel)
6401 if defined $::RD_TRACE;
6402 0 $item{q{octint}} = $_tok;
6403 0 push @item, $_tok;
6404
6405 }
6406  
6407 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [octint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6408 Parse::RecDescent::_tracefirst($text),
6409 q{integer},
6410 $tracelevel)
6411 if defined $::RD_TRACE;
6412  
6413  
6414  
6415 0 $_matched = 1;
6416 0 last;
6417 }
6418  
6419  
6420 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6421 {
6422
6423 0 ▶ Parse::RecDescent::_trace(q{Trying production: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6424 Parse::RecDescent::_tracefirst($_[1]),
6425 q{integer},
6426 $tracelevel)
6427 if defined $::RD_TRACE;
6428 0 my $thisprod = $thisrule->{"prods"}[2];
6429 0 $text = $_[1];
6430 0 my $_savetext;
6431 0 @item = (q{integer});
6432 0 %item = (__RULE__ => q{integer});
6433 0 my $repcount = 0;
6434  
6435  
6436 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6437 Parse::RecDescent::_tracefirst($text),
6438 q{integer},
6439 $tracelevel)
6440 if defined $::RD_TRACE;
6441 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
6442 0 $expectation->is(q{})->at($text);
6443 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::decint($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = decint($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 0 0 0
6444 {
6445
6446 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [decint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6447 Parse::RecDescent::_tracefirst($text),
6448 q{integer},
6449 $tracelevel)
6450 if defined $::RD_TRACE;
6451 0 $expectation->failed();
6452 0 last;
6453 }
6454 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [decint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6455 . $_tok . q{]},
6456  
6457 Parse::RecDescent::_tracefirst($text),
6458 q{integer},
6459 $tracelevel)
6460 if defined $::RD_TRACE;
6461 0 $item{q{decint}} = $_tok;
6462 0 push @item, $_tok;
6463
6464 }
6465  
6466 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [decint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6467 Parse::RecDescent::_tracefirst($text),
6468 q{integer},
6469 $tracelevel)
6470 if defined $::RD_TRACE;
6471  
6472  
6473  
6474 0 $_matched = 1;
6475 0 last;
6476 }
6477  
6478  
6479 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
6480 {
6481
6482  
6483 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
6484 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6485 Parse::RecDescent::_tracefirst($_[1]),
6486 q{integer},
6487 $tracelevel)
6488 if defined $::RD_TRACE;
6489 0 return undef;
6490 }
6491 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
6492 {
6493 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6494 q{integer},
6495 $tracelevel)
6496 if defined $::RD_TRACE;
6497 0 $return = $score_return;
6498 }
6499 0 splice @{$thisparser->{errors}}, $err_at;
6500 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
6501 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
6502 {
6503 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6504 $return . q{])}, "",
6505 q{integer},
6506 $tracelevel);
6507 0 Parse::RecDescent::_trace(q{(consumed: [} .
6508 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6509 Parse::RecDescent::_tracefirst($text),
6510 , q{integer},
6511 $tracelevel)
6512 }
6513 0 $_[1] = $text;
6514 0 return $return;
6515 }
6516  
6517 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
6518 sub Parse::RecDescent::Config::Maker::Grammar::literal
6519 335 ▶{
Subroutine literal: called CC=65 SCAR=48.8
6520 335 my $thisparser = $_[0];
6521 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
6522 335 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3350
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
6523 335 $ERRORS = 0;
6524 335 my $thisrule = $thisparser->{"rules"}{"literal"};
6525  
6526 335 ▶ Parse::RecDescent::_trace(q{Trying rule: [literal]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
6527 Parse::RecDescent::_tracefirst($_[1]),
6528 q{literal},
6529 $tracelevel)
6530 if defined $::RD_TRACE;
6531  
6532
6533 335 my $err_at = @{$thisparser->{errors}};
6534  
6535 335 my $score;
6536 my $score_return;
6537 335 my $_tok;
6538 335 my $return = undef;
6539 335 my $_matched=0;
6540 335 my $commit=0;
6541 335 my @item = ();
6542 335 my %item = ();
6543 335 my $repeating = $_[2];
6544 335 my $_noactions = $_[3];
6545 335 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 335 0 335
6546 335 my $_itempos = $_[5];
6547 335 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 335 0 335
6548 335 my $text;
6549 my $lastsep;
6550 335 my $current_match;
6551 335 my $expectation = new Parse::RecDescent::Expectation(q{/[[:alnum:].!@%*=:\\/?_+-]+/, or /"(?:[^"]|\\\\.)*"/, or /'(?:[^']|\\\\.)*'/});
6552 335 $expectation->at($_[1]);
6553
6554 335 my $thisline;
6555 335 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6556  
6557
6558  
6559 335 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 335 0 335
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00335
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6560 {
6561
6562 335 ▶ Parse::RecDescent::_trace(q{Trying production: [/[[:alnum:].!@%*=:\\/?_+-]+/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
6563 Parse::RecDescent::_tracefirst($_[1]),
6564 q{literal},
6565 $tracelevel)
6566 if defined $::RD_TRACE;
6567 335 my $thisprod = $thisrule->{"prods"}[0];
6568 335 $text = $_[1];
6569 335 my $_savetext;
6570 335 @item = (q{literal});
6571 335 %item = (__RULE__ => q{literal});
6572 335 my $repcount = 0;
6573  
6574  
6575 335 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[[:alnum:].!@%*=:\\/?_+-]+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
6576 q{literal},
6577 $tracelevel)
6578 if defined $::RD_TRACE;
6579 335 undef $lastsep;
6580 335 $expectation->is(q{})->at($text);
6581
6582  
6583 335 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[[:alnum:].!@%*=:\/?_+-]+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:[[:alnum:].!\@%*=:/?_+-]+)]) 312 23 335
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:[[:alnum:].!\@%*=:/?_+-]+)]
!ll&&!rl&&r
031223
($lastsep = $1) && ''
!ll
28946
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:[[:alnum:].!\@%*=:/?_+-]+)]
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ m[\A(?:[[:alnum:].!\@%*=:/?_+-]+)]
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ m[\A(?:[[:alnum:].!\@%*=:/?_+-]+)]
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
6584 {
6585 312 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 312 0 312
6586 312 $expectation->failed();
6587 312 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 312 312
6588 Parse::RecDescent::_tracefirst($text))
6589 if defined $::RD_TRACE;
6590  
6591 312 last;
6592 }
6593 23 $current_match = substr($text, $-[0], $+[0] - $-[0]);
6594 23 substr($text,0,length($current_match),q{});
6595 23 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
6596 . $current_match . q{])},
6597 Parse::RecDescent::_tracefirst($text))
6598 if defined $::RD_TRACE;
6599 23 push @item, $item{__PATTERN1__}=$current_match;
6600
6601  
6602 23 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[[:alnum:].!@%*=:\\/?_+-]+/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
6603 Parse::RecDescent::_tracefirst($text),
6604 q{literal},
6605 $tracelevel)
6606 if defined $::RD_TRACE;
6607  
6608  
6609  
6610 23 $_matched = 1;
6611 23 last;
6612 }
6613  
6614  
6615 335 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 312 23 335
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
230312
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6616 {
6617
6618 312 ▶ Parse::RecDescent::_trace(q{Trying production: [/"(?:[^"]|\\\\.)*"/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 312 312
6619 Parse::RecDescent::_tracefirst($_[1]),
6620 q{literal},
6621 $tracelevel)
6622 if defined $::RD_TRACE;
6623 312 my $thisprod = $thisrule->{"prods"}[1];
6624 312 $text = $_[1];
6625 312 my $_savetext;
6626 312 @item = (q{literal});
6627 312 %item = (__RULE__ => q{literal});
6628 312 my $repcount = 0;
6629  
6630  
6631 312 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/"(?:[^"]|\\\\.)*"/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 312 312
6632 q{literal},
6633 $tracelevel)
6634 if defined $::RD_TRACE;
6635 312 undef $lastsep;
6636 312 $expectation->is(q{})->at($text);
6637
6638  
6639 312 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:"(?:[^"]|\\.)*")/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:"(?:[^"]|\\.)*")/) 307 5 312
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:"(?:[^"]|\\.)*")/
!ll&&!rl&&r
03075
($lastsep = $1) && ''
!ll
28923
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:"(?:[^"]|\\.)*")/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:"(?:[^"]|\\.)*")/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:"(?:[^"]|\\.)*")/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
6640 {
6641 307 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 307 0 307
6642 307 $expectation->failed();
6643 307 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 307 307
6644 Parse::RecDescent::_tracefirst($text))
6645 if defined $::RD_TRACE;
6646  
6647 307 last;
6648 }
6649 5 $current_match = substr($text, $-[0], $+[0] - $-[0]);
6650 5 substr($text,0,length($current_match),q{});
6651 5 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
6652 . $current_match . q{])},
6653 Parse::RecDescent::_tracefirst($text))
6654 if defined $::RD_TRACE;
6655 5 push @item, $item{__PATTERN1__}=$current_match;
6656
6657  
6658 5 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
6659 Parse::RecDescent::_tracefirst($text),
6660 q{literal},
6661 $tracelevel)
6662 if defined $::RD_TRACE;
6663
6664  
6665 5 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::unquote_double($item[1]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 5 5
6666 5 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 5 5
6667 {
6668 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6669 if defined $::RD_TRACE;
6670 0 last;
6671 }
6672 5 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
6673 . $_tok . q{])},
6674 Parse::RecDescent::_tracefirst($text))
6675 if defined $::RD_TRACE;
6676 5 push @item, $_tok;
6677 5 $item{__ACTION1__}=$_tok;
6678
6679  
6680 5 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/"(?:[^"]|\\\\.)*"/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
6681 Parse::RecDescent::_tracefirst($text),
6682 q{literal},
6683 $tracelevel)
6684 if defined $::RD_TRACE;
6685  
6686  
6687  
6688 5 $_matched = 1;
6689 5 last;
6690 }
6691  
6692  
6693 335 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 307 28 335
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
280307
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6694 {
6695
6696 307 ▶ Parse::RecDescent::_trace(q{Trying production: [/'(?:[^']|\\\\.)*'/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 307 307
6697 Parse::RecDescent::_tracefirst($_[1]),
6698 q{literal},
6699 $tracelevel)
6700 if defined $::RD_TRACE;
6701 307 my $thisprod = $thisrule->{"prods"}[2];
6702 307 $text = $_[1];
6703 307 my $_savetext;
6704 307 @item = (q{literal});
6705 307 %item = (__RULE__ => q{literal});
6706 307 my $repcount = 0;
6707  
6708  
6709 307 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/'(?:[^']|\\\\.)*'/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 307 307
6710 q{literal},
6711 $tracelevel)
6712 if defined $::RD_TRACE;
6713 307 undef $lastsep;
6714 307 $expectation->is(q{})->at($text);
6715
6716  
6717 307 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:'(?:[^']|\\.)*')/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:'(?:[^']|\\.)*')/) 68 239 307
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:'(?:[^']|\\.)*')/
!ll&&!rl&&r
068239
($lastsep = $1) && ''
!ll
28423
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:'(?:[^']|\\.)*')/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:'(?:[^']|\\.)*')/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:'(?:[^']|\\.)*')/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
6718 {
6719 68 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 68 0 68
6720 68 $expectation->failed();
6721 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
6722 Parse::RecDescent::_tracefirst($text))
6723 if defined $::RD_TRACE;
6724  
6725 68 last;
6726 }
6727 239 $current_match = substr($text, $-[0], $+[0] - $-[0]);
6728 239 substr($text,0,length($current_match),q{});
6729 239 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 239 239
6730 . $current_match . q{])},
6731 Parse::RecDescent::_tracefirst($text))
6732 if defined $::RD_TRACE;
6733 239 push @item, $item{__PATTERN1__}=$current_match;
6734
6735  
6736 239 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 239 239
6737 Parse::RecDescent::_tracefirst($text),
6738 q{literal},
6739 $tracelevel)
6740 if defined $::RD_TRACE;
6741
6742  
6743 239 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::unquote_single($item[1]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 239 239
6744 239 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 239 239
6745 {
6746 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6747 if defined $::RD_TRACE;
6748 0 last;
6749 }
6750 239 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 239 239
6751 . $_tok . q{])},
6752 Parse::RecDescent::_tracefirst($text))
6753 if defined $::RD_TRACE;
6754 239 push @item, $_tok;
6755 239 $item{__ACTION1__}=$_tok;
6756
6757  
6758 239 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/'(?:[^']|\\\\.)*'/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 239 239
6759 Parse::RecDescent::_tracefirst($text),
6760 q{literal},
6761 $tracelevel)
6762 if defined $::RD_TRACE;
6763  
6764  
6765  
6766 239 $_matched = 1;
6767 239 last;
6768 }
6769  
6770  
6771 335 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 68 267 335
6772 {
6773
6774 68 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
6775 Parse::RecDescent::_tracefirst($_[1]),
6776 q{literal},
6777 $tracelevel)
6778 if defined $::RD_TRACE;
6779 68 my $thisprod = $thisrule->{"prods"}[3];
6780
6781 68 my $_savetext;
6782 68 @item = (q{literal});
6783 68 %item = (__RULE__ => q{literal});
6784 68 my $repcount = 0;
6785  
6786  
6787
6788  
6789 68 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
6790 Parse::RecDescent::_tracefirst($text),
6791 q{literal},
6792 $tracelevel)
6793 if defined $::RD_TRACE;
6794 68 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 68 0 68
6795 68 my $rule = $item[0];
6796 68 $rule =~ s/_/ /g;
6797 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
6798 68 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
6799 68 } unless $_noactions; undef } else {0} };
6800 68 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 68 68
6801 {
6802 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6803 . $_tok . q{])},
6804 Parse::RecDescent::_tracefirst($text))
6805 if defined $::RD_TRACE;
6806 }
6807 else
6808 {
6809 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
6810 Parse::RecDescent::_tracefirst($text))
6811 if defined $::RD_TRACE;
6812 }
6813
6814 68 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 68 0 68
6815 0 push @item, $item{__DIRECTIVE1__}=$_tok;
6816
6817  
6818 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6819 Parse::RecDescent::_tracefirst($text),
6820 q{literal},
6821 $tracelevel)
6822 if defined $::RD_TRACE;
6823  
6824  
6825  
6826 0 $_matched = 1;
6827 0 last;
6828 }
6829  
6830  
6831 335 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 68 267 335
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
267068
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
6832 {
6833
6834  
6835 68 $_[1] = $text; # NOT SURE THIS IS NEEDED
6836 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
6837 Parse::RecDescent::_tracefirst($_[1]),
6838 q{literal},
6839 $tracelevel)
6840 if defined $::RD_TRACE;
6841 68 return undef;
6842 }
6843 267 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 267 267
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
02670
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
ABresult
0X0
100
111
6844 {
6845 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6846 q{literal},
6847 $tracelevel)
6848 if defined $::RD_TRACE;
6849 0 $return = $score_return;
6850 }
6851 267 splice @{$thisparser->{errors}}, $err_at;
6852 267 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 267 0 267
6853 267 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 267 267
6854 {
6855 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6856 $return . q{])}, "",
6857 q{literal},
6858 $tracelevel);
6859 0 Parse::RecDescent::_trace(q{(consumed: [} .
6860 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6861 Parse::RecDescent::_tracefirst($text),
6862 , q{literal},
6863 $tracelevel)
6864 }
6865 267 $_[1] = $text;
6866 267 return $return;
6867 }
6868  
6869 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
6870 sub Parse::RecDescent::Config::Maker::Grammar::metaroot
6871 604 ▶{
Subroutine metaroot: called CC=24 SCAR=42.4
6872 604 my $thisparser = $_[0];
6873 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
6874 604 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
6040
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
6875 604 $ERRORS = 0;
6876 604 my $thisrule = $thisparser->{"rules"}{"metaroot"};
6877  
6878 604 ▶ Parse::RecDescent::_trace(q{Trying rule: [metaroot]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 604 604
6879 Parse::RecDescent::_tracefirst($_[1]),
6880 q{metaroot},
6881 $tracelevel)
6882 if defined $::RD_TRACE;
6883  
6884
6885 604 my $err_at = @{$thisparser->{errors}};
6886  
6887 604 my $score;
6888 my $score_return;
6889 604 my $_tok;
6890 604 my $return = undef;
6891 604 my $_matched=0;
6892 604 my $commit=0;
6893 604 my @item = ();
6894 604 my %item = ();
6895 604 my $repeating = $_[2];
6896 604 my $_noactions = $_[3];
6897 604 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 604 0 604
6898 604 my $_itempos = $_[5];
6899 604 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 596 8 604
6900 604 my $text;
6901 my $lastsep;
6902 604 my $current_match;
6903 604 my $expectation = new Parse::RecDescent::Expectation(q{'META:'});
6904 604 $expectation->at($_[1]);
6905
6906 604 my $thisline;
6907 604 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
6908  
6909
6910  
6911 604 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 604 0 604
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00604
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
6912 {
6913
6914 604 ▶ Parse::RecDescent::_trace(q{Trying production: ['META:']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 604 604
6915 Parse::RecDescent::_tracefirst($_[1]),
6916 q{metaroot},
6917 $tracelevel)
6918 if defined $::RD_TRACE;
6919 604 my $thisprod = $thisrule->{"prods"}[0];
6920 604 $text = $_[1];
6921 604 my $_savetext;
6922 604 @item = (q{metaroot});
6923 604 %item = (__RULE__ => q{metaroot});
6924 604 my $repcount = 0;
6925  
6926  
6927 604 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['META:']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 604 604
6928 Parse::RecDescent::_tracefirst($text),
6929 q{metaroot},
6930 $tracelevel)
6931 if defined $::RD_TRACE;
6932 604 undef $lastsep;
6933 604 $expectation->is(q{})->at($text);
6934
6935  
6936 604 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\AMETA\:/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\AMETA\:/) 604 0 604
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\AMETA\:/
!ll&&!rl&&r
06040
($lastsep = $1) && ''
!ll
6040
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\AMETA\:/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\AMETA\:/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\AMETA\:/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
6937 {
6938 604 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 604 0 604
6939
6940 604 $expectation->failed();
6941 604 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 604 604
6942 Parse::RecDescent::_tracefirst($text))
6943 if defined $::RD_TRACE;
6944 604 last;
6945 }
6946 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
6947 0 substr($text,0,length($current_match),q{});
6948 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6949 . $current_match . q{])},
6950 Parse::RecDescent::_tracefirst($text))
6951 if defined $::RD_TRACE;
6952 0 push @item, $item{__STRING1__}=$current_match;
6953
6954  
6955 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['META:']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6956 Parse::RecDescent::_tracefirst($text),
6957 q{metaroot},
6958 $tracelevel)
6959 if defined $::RD_TRACE;
6960  
6961  
6962  
6963 0 $_matched = 1;
6964 0 last;
6965 }
6966  
6967  
6968 604 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 604 0 604
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
00604
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
6969 {
6970
6971  
6972 604 $_[1] = $text; # NOT SURE THIS IS NEEDED
6973 604 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 604 604
6974 Parse::RecDescent::_tracefirst($_[1]),
6975 q{metaroot},
6976 $tracelevel)
6977 if defined $::RD_TRACE;
6978 604 return undef;
6979 }
6980 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
6981 {
6982 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
6983 q{metaroot},
6984 $tracelevel)
6985 if defined $::RD_TRACE;
6986 0 $return = $score_return;
6987 }
6988 0 splice @{$thisparser->{errors}}, $err_at;
6989 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
6990 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
6991 {
6992 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
6993 $return . q{])}, "",
6994 q{metaroot},
6995 $tracelevel);
6996 0 Parse::RecDescent::_trace(q{(consumed: [} .
6997 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
6998 Parse::RecDescent::_tracefirst($text),
6999 , q{metaroot},
7000 $tracelevel)
7001 }
7002 0 $_[1] = $text;
7003 0 return $return;
7004 }
7005  
7006 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
7007 sub Parse::RecDescent::Config::Maker::Grammar::nonglob
7008 961 ▶{
Subroutine nonglob: called CC=24 SCAR=34.5
7009 961 my $thisparser = $_[0];
7010 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
7011 961 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
9610
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
7012 961 $ERRORS = 0;
7013 961 my $thisrule = $thisparser->{"rules"}{"nonglob"};
7014  
7015 961 ▶ Parse::RecDescent::_trace(q{Trying rule: [nonglob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 961 961
7016 Parse::RecDescent::_tracefirst($_[1]),
7017 q{nonglob},
7018 $tracelevel)
7019 if defined $::RD_TRACE;
7020  
7021
7022 961 my $err_at = @{$thisparser->{errors}};
7023  
7024 961 my $score;
7025 my $score_return;
7026 961 my $_tok;
7027 961 my $return = undef;
7028 961 my $_matched=0;
7029 961 my $commit=0;
7030 961 my @item = ();
7031 961 my %item = ();
7032 961 my $repeating = $_[2];
7033 961 my $_noactions = $_[3];
7034 961 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 961 0 961
7035 961 my $_itempos = $_[5];
7036 961 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 961 961
7037 961 my $text;
7038 my $lastsep;
7039 961 my $current_match;
7040 961 my $expectation = new Parse::RecDescent::Expectation(q{/\\Q$arg[0]\\E(?![[:alnum:].@%*=?|_\\\\\\[\\]\{\}-])/});
7041 961 $expectation->at($_[1]);
7042
7043 961 my $thisline;
7044 961 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
7045  
7046
7047  
7048 961 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 961 0 961
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00961
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
7049 {
7050
7051 961 ▶ Parse::RecDescent::_trace(q{Trying production: [/\\Q$arg[0]\\E(?![[:alnum:].@%*=?|_\\\\\\[\\]\{\}-])/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 961 961
7052 Parse::RecDescent::_tracefirst($_[1]),
7053 q{nonglob},
7054 $tracelevel)
7055 if defined $::RD_TRACE;
7056 961 my $thisprod = $thisrule->{"prods"}[0];
7057 961 $text = $_[1];
7058 961 my $_savetext;
7059 961 @item = (q{nonglob});
7060 961 %item = (__RULE__ => q{nonglob});
7061 961 my $repcount = 0;
7062  
7063  
7064 961 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/\\Q$arg[0]\\E(?![[:alnum:].@%*=?|_\\\\\\[\\]\{\}-])/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 961 961
7065 q{nonglob},
7066 $tracelevel)
7067 if defined $::RD_TRACE;
7068 961 undef $lastsep;
7069 961 $expectation->is(q{})->at($text);
7070
7071  
7072 961 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:\Q$arg[0]\E(?![[:alnum:].@%*=?|_\\\[\]{}-]))/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\Q$arg[0]\E(?![[:alnum:].\@%*=?|_\\\[\]{}-]))/) 949 12 961
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\Q$arg[0]\E(?![[:alnum:].\@%*=?|_\\\[\]{}-]))/
!ll&&!rl&&r
094912
($lastsep = $1) && ''
!ll
9610
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:\Q$arg[0]\E(?![[:alnum:].\@%*=?|_\\\[\]{}-]))/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:\Q$arg[0]\E(?![[:alnum:].\@%*=?|_\\\[\]{}-]))/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:\Q$arg[0]\E(?![[:alnum:].\@%*=?|_\\\[\]{}-]))/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
7073 {
7074 949 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 949 0 949
7075 949 $expectation->failed();
7076 949 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 949 949
7077 Parse::RecDescent::_tracefirst($text))
7078 if defined $::RD_TRACE;
7079  
7080 949 last;
7081 }
7082 12 $current_match = substr($text, $-[0], $+[0] - $-[0]);
7083 12 substr($text,0,length($current_match),q{});
7084 12 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
7085 . $current_match . q{])},
7086 Parse::RecDescent::_tracefirst($text))
7087 if defined $::RD_TRACE;
7088 12 push @item, $item{__PATTERN1__}=$current_match;
7089
7090  
7091 12 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/\\Q$arg[0]\\E(?![[:alnum:].@%*=?|_\\\\\\[\\]\{\}-])/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
7092 Parse::RecDescent::_tracefirst($text),
7093 q{nonglob},
7094 $tracelevel)
7095 if defined $::RD_TRACE;
7096  
7097  
7098  
7099 12 $_matched = 1;
7100 12 last;
7101 }
7102  
7103  
7104 961 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 949 12 961
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
120949
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
7105 {
7106
7107  
7108 949 $_[1] = $text; # NOT SURE THIS IS NEEDED
7109 949 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 949 949
7110 Parse::RecDescent::_tracefirst($_[1]),
7111 q{nonglob},
7112 $tracelevel)
7113 if defined $::RD_TRACE;
7114 949 return undef;
7115 }
7116 12 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 12 12
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0120
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
ABresult
0X0
100
111
7117 {
7118 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7119 q{nonglob},
7120 $tracelevel)
7121 if defined $::RD_TRACE;
7122 0 $return = $score_return;
7123 }
7124 12 splice @{$thisparser->{errors}}, $err_at;
7125 12 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 12 0 12
7126 12 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 12 12
7127 {
7128 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
7129 $return . q{])}, "",
7130 q{nonglob},
7131 $tracelevel);
7132 0 Parse::RecDescent::_trace(q{(consumed: [} .
7133 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
7134 Parse::RecDescent::_tracefirst($text),
7135 , q{nonglob},
7136 $tracelevel)
7137 }
7138 12 $_[1] = $text;
7139 12 return $return;
7140 }
7141  
7142 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
7143 sub Parse::RecDescent::Config::Maker::Grammar::octint
7144 0 ▶{
Subroutine octint: not called CC=41 SCAR=74.0
7145 0 my $thisparser = $_[0];
7146 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
7147 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
7148 0 $ERRORS = 0;
7149 0 my $thisrule = $thisparser->{"rules"}{"octint"};
7150  
7151 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [octint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7152 Parse::RecDescent::_tracefirst($_[1]),
7153 q{octint},
7154 $tracelevel)
7155 if defined $::RD_TRACE;
7156  
7157
7158 0 my $err_at = @{$thisparser->{errors}};
7159  
7160 0 my $score;
7161 my $score_return;
7162 0 my $_tok;
7163 0 my $return = undef;
7164 0 my $_matched=0;
7165 0 my $commit=0;
7166 0 my @item = ();
7167 0 my %item = ();
7168 0 my $repeating = $_[2];
7169 0 my $_noactions = $_[3];
7170 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
7171 0 my $_itempos = $_[5];
7172 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
7173 0 my $text;
7174 my $lastsep;
7175 0 my $current_match;
7176 0 my $expectation = new Parse::RecDescent::Expectation(q{/0[0-7]*/});
7177 0 $expectation->at($_[1]);
7178
7179 0 my $thisline;
7180 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
7181  
7182
7183  
7184 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
7185 {
7186
7187 0 ▶ Parse::RecDescent::_trace(q{Trying production: [/0[0-7]*/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7188 Parse::RecDescent::_tracefirst($_[1]),
7189 q{octint},
7190 $tracelevel)
7191 if defined $::RD_TRACE;
7192 0 my $thisprod = $thisrule->{"prods"}[0];
7193 0 $text = $_[1];
7194 0 my $_savetext;
7195 0 @item = (q{octint});
7196 0 %item = (__RULE__ => q{octint});
7197 0 my $repcount = 0;
7198  
7199  
7200 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/0[0-7]*/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7201 q{octint},
7202 $tracelevel)
7203 if defined $::RD_TRACE;
7204 0 undef $lastsep;
7205 0 $expectation->is(q{})->at($text);
7206
7207  
7208 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:0[0-7]*)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0[0-7]*)/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0[0-7]*)/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:0[0-7]*)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:0[0-7]*)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:0[0-7]*)/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
7209 {
7210 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
7211 0 $expectation->failed();
7212 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7213 Parse::RecDescent::_tracefirst($text))
7214 if defined $::RD_TRACE;
7215  
7216 0 last;
7217 }
7218 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
7219 0 substr($text,0,length($current_match),q{});
7220 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7221 . $current_match . q{])},
7222 Parse::RecDescent::_tracefirst($text))
7223 if defined $::RD_TRACE;
7224 0 push @item, $item{__PATTERN1__}=$current_match;
7225
7226  
7227 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7228 Parse::RecDescent::_tracefirst($text),
7229 q{octint},
7230 $tracelevel)
7231 if defined $::RD_TRACE;
7232
7233  
7234 0 ▶ $_tok = ($_noactions) ? 0 : do { Config::Maker::limit(oct($item[1]), @arg); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
7235 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
7236 {
7237 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7238 if defined $::RD_TRACE;
7239 0 last;
7240 }
7241 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7242 . $_tok . q{])},
7243 Parse::RecDescent::_tracefirst($text))
7244 if defined $::RD_TRACE;
7245 0 push @item, $_tok;
7246 0 $item{__ACTION1__}=$_tok;
7247
7248  
7249 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/0[0-7]*/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7250 Parse::RecDescent::_tracefirst($text),
7251 q{octint},
7252 $tracelevel)
7253 if defined $::RD_TRACE;
7254  
7255  
7256  
7257 0 $_matched = 1;
7258 0 last;
7259 }
7260  
7261  
7262 0 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 0 0
7263 {
7264
7265 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7266 Parse::RecDescent::_tracefirst($_[1]),
7267 q{octint},
7268 $tracelevel)
7269 if defined $::RD_TRACE;
7270 0 my $thisprod = $thisrule->{"prods"}[1];
7271
7272 0 my $_savetext;
7273 0 @item = (q{octint});
7274 0 %item = (__RULE__ => q{octint});
7275 0 my $repcount = 0;
7276  
7277  
7278
7279  
7280 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7281 Parse::RecDescent::_tracefirst($text),
7282 q{octint},
7283 $tracelevel)
7284 if defined $::RD_TRACE;
7285 0 ▶ $_tok = do { if ($commit) { do {push @{$thisparser->{errors}}, [qq{ Number $item[1] out of range},$thisline];} unless $_noactions; undef } else {0} };
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 0 0
unless ($_noactions) 0 0 0
7286 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
7287 {
7288 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7289 . $_tok . q{])},
7290 Parse::RecDescent::_tracefirst($text))
7291 if defined $::RD_TRACE;
7292 }
7293 else
7294 {
7295 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7296 Parse::RecDescent::_tracefirst($text))
7297 if defined $::RD_TRACE;
7298 }
7299
7300 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
7301 0 push @item, $item{__DIRECTIVE1__}=$_tok;
7302
7303  
7304 0 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7305 Parse::RecDescent::_tracefirst($text),
7306 q{octint},
7307 $tracelevel)
7308 if defined $::RD_TRACE;
7309 0 undef $return;
7310
7311  
7312 0 $_tok = undef;
7313
7314 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
7315  
7316 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7317 Parse::RecDescent::_tracefirst($text),
7318 q{octint},
7319 $tracelevel)
7320 if defined $::RD_TRACE;
7321  
7322  
7323  
7324 0 $_matched = 1;
7325 0 last;
7326 }
7327  
7328  
7329 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
7330 {
7331
7332  
7333 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
7334 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7335 Parse::RecDescent::_tracefirst($_[1]),
7336 q{octint},
7337 $tracelevel)
7338 if defined $::RD_TRACE;
7339 0 return undef;
7340 }
7341 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
7342 {
7343 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7344 q{octint},
7345 $tracelevel)
7346 if defined $::RD_TRACE;
7347 0 $return = $score_return;
7348 }
7349 0 splice @{$thisparser->{errors}}, $err_at;
7350 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
7351 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
7352 {
7353 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
7354 $return . q{])}, "",
7355 q{octint},
7356 $tracelevel);
7357 0 Parse::RecDescent::_trace(q{(consumed: [} .
7358 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
7359 Parse::RecDescent::_tracefirst($text),
7360 , q{octint},
7361 $tracelevel)
7362 }
7363 0 $_[1] = $text;
7364 0 return $return;
7365 }
7366  
7367 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
7368 sub Parse::RecDescent::Config::Maker::Grammar::opener
7369 502 ▶{
Subroutine opener: called CC=59 SCAR=49.0
7370 502 my $thisparser = $_[0];
7371 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
7372 502 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
5020
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
7373 502 $ERRORS = 0;
7374 502 my $thisrule = $thisparser->{"rules"}{"opener"};
7375  
7376 502 ▶ Parse::RecDescent::_trace(q{Trying rule: [opener]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 502 502
7377 Parse::RecDescent::_tracefirst($_[1]),
7378 q{opener},
7379 $tracelevel)
7380 if defined $::RD_TRACE;
7381  
7382
7383 502 my $err_at = @{$thisparser->{errors}};
7384  
7385 502 my $score;
7386 my $score_return;
7387 502 my $_tok;
7388 502 my $return = undef;
7389 502 my $_matched=0;
7390 502 my $commit=0;
7391 502 my @item = ();
7392 502 my %item = ();
7393 502 my $repeating = $_[2];
7394 502 my $_noactions = $_[3];
7395 502 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 502 0 502
7396 502 my $_itempos = $_[5];
7397 502 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 293 209 502
7398 502 my $text;
7399 my $lastsep;
7400 502 my $current_match;
7401 502 my $expectation = new Parse::RecDescent::Expectation(q{'[$'});
7402 502 $expectation->at($_[1]);
7403
7404 502 my $thisline;
7405 502 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
7406  
7407
7408  
7409 502 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 502 0 502
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00502
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
7410 {
7411 502 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 502 0 502
7412 502 ▶ Parse::RecDescent::_trace(q{Trying production: ['[$' <skip: qr/\s*/> '$arg[0]' value '$]' space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 502 502
7413 Parse::RecDescent::_tracefirst($_[1]),
7414 q{opener},
7415 $tracelevel)
7416 if defined $::RD_TRACE;
7417 502 my $thisprod = $thisrule->{"prods"}[0];
7418 502 $text = $_[1];
7419 502 my $_savetext;
7420 502 @item = (q{opener});
7421 502 %item = (__RULE__ => q{opener});
7422 502 my $repcount = 0;
7423  
7424  
7425 502 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[$']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 502 502
7426 Parse::RecDescent::_tracefirst($text),
7427 q{opener},
7428 $tracelevel)
7429 if defined $::RD_TRACE;
7430 502 undef $lastsep;
7431 502 $expectation->is(q{})->at($text);
7432
7433  
7434 502 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[\$/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/) 327 175 502
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/
!ll&&!rl&&r
0327175
($lastsep = $1) && ''
!ll
5020
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[\$/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[\$/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
7435 {
7436 327 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 327 0 327
7437
7438 327 $expectation->failed();
7439 327 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 327 327
7440 Parse::RecDescent::_tracefirst($text))
7441 if defined $::RD_TRACE;
7442 327 last;
7443 }
7444 175 $current_match = substr($text, $-[0], $+[0] - $-[0]);
7445 175 substr($text,0,length($current_match),q{});
7446 175 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 175 175
7447 . $current_match . q{])},
7448 Parse::RecDescent::_tracefirst($text))
7449 if defined $::RD_TRACE;
7450 175 push @item, $item{__STRING1__}=$current_match;
7451
7452  
7453
7454  
7455 175 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: qr/\s*/>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 175 175
7456 Parse::RecDescent::_tracefirst($text),
7457 q{opener},
7458 $tracelevel)
7459 if defined $::RD_TRACE;
7460 175 $_tok = do { my $oldskip = $skip; $skip= qr/\s*/; $oldskip };
7461 175 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 175 0 175
7462 {
7463 175 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 175 175
7464 . $_tok . q{])},
7465 Parse::RecDescent::_tracefirst($text))
7466 if defined $::RD_TRACE;
7467 }
7468 else
7469 {
7470 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7471 Parse::RecDescent::_tracefirst($text))
7472 if defined $::RD_TRACE;
7473 }
7474
7475 175 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 175 175
7476 175 push @item, $item{__DIRECTIVE1__}=$_tok;
7477
7478  
7479 175 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['$arg[0]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 175 175
7480 Parse::RecDescent::_tracefirst($text),
7481 q{opener},
7482 $tracelevel)
7483 if defined $::RD_TRACE;
7484 175 undef $lastsep;
7485 175 $expectation->is(q{'$arg[0]'})->at($text);
7486
7487  
7488 175 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and do { $_tok = "$arg[0]"; 1 } and
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }) 106 69 175
Condition63%7/11
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }
!ll&&!rl&&r
106069
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok
!ll&&!rl&&r
010669
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "$arg[0]"; 1 }
!ll&&!rl&&r
00175
($lastsep = $1) && ''
!ll
49126
MC/DC25%1/4
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and do { $_tok = "$arg[0]"; 1 } and substr($text, 0, length $_tok) eq $_tok and do { substr($text, 0, length $_tok) = ""; 1 }
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e do { $_tok = "$arg[0]"; 1 } substr($text, 0, length $_tok) eq $_tok do { substr($text, 0, length $_tok) = ""; 1 }
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table40%2/5
A and B and C and D
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= do { $_tok = "$arg[0]"; 1 }C= substr($text, 0, length $_tok) eq $_tokD= do { substr($text, 0, length $_tok) = ""; 1 }
ABCDresult
0XXX0
10XX0
110X0
11100
11111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
7489 substr($text,0,length($_tok)) eq $_tok and
7490 69 do { substr($text,0,length($_tok)) = ""; 1; }
7491 )
7492 {
7493 106 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 106 0 106
7494
7495 106 $expectation->failed();
7496 106 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 106 106
7497 Parse::RecDescent::_tracefirst($text))
7498 if defined $::RD_TRACE;
7499 106 last;
7500 }
7501 69 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 69 69
7502 . $_tok . q{])},
7503 Parse::RecDescent::_tracefirst($text))
7504 if defined $::RD_TRACE;
7505 69 push @item, $item{__STRING2__}=$_tok;
7506
7507  
7508 69 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 69 69
7509 Parse::RecDescent::_tracefirst($text),
7510 q{opener},
7511 $tracelevel)
7512 if defined $::RD_TRACE;
7513 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
7514 69 $expectation->is(q{value})->at($text);
7515 69 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value($thisparser,$text,$repeating,$_noactions,sub { return [@arg[1..$#arg]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value($thisparser, $text, $repeating, $_noactions, sub { return [@arg[1 .. $#arg]]; } , undef))) 29 40 69
7516 {
7517
7518 29 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
7519 Parse::RecDescent::_tracefirst($text),
7520 q{opener},
7521 $tracelevel)
7522 if defined $::RD_TRACE;
7523 29 $expectation->failed();
7524 29 last;
7525 }
7526 40 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7527 . $_tok . q{]},
7528  
7529 Parse::RecDescent::_tracefirst($text),
7530 q{opener},
7531 $tracelevel)
7532 if defined $::RD_TRACE;
7533 40 $item{q{value}} = $_tok;
7534 40 push @item, $_tok;
7535
7536 }
7537  
7538 40 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['$]']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7539 Parse::RecDescent::_tracefirst($text),
7540 q{opener},
7541 $tracelevel)
7542 if defined $::RD_TRACE;
7543 40 undef $lastsep;
7544 40 $expectation->is(q{'$]'})->at($text);
7545
7546  
7547 40 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\$\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/) 0 40 40
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/
!ll&&!rl&&r
0040
($lastsep = $1) && ''
!ll
733
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\$\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\$\]/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\$\]/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
7548 {
7549 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
7550
7551 0 $expectation->failed();
7552 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7553 Parse::RecDescent::_tracefirst($text))
7554 if defined $::RD_TRACE;
7555 0 last;
7556 }
7557 40 $current_match = substr($text, $-[0], $+[0] - $-[0]);
7558 40 substr($text,0,length($current_match),q{});
7559 40 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7560 . $current_match . q{])},
7561 Parse::RecDescent::_tracefirst($text))
7562 if defined $::RD_TRACE;
7563 40 push @item, $item{__STRING3__}=$current_match;
7564
7565  
7566 40 ▶ Parse::RecDescent::_trace(q{Trying subrule: [space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7567 Parse::RecDescent::_tracefirst($text),
7568 q{opener},
7569 $tracelevel)
7570 if defined $::RD_TRACE;
7571 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
7572 40 $expectation->is(q{space})->at($text);
7573 40 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::space($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = space($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 40 40
7574 {
7575
7576 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [space]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7577 Parse::RecDescent::_tracefirst($text),
7578 q{opener},
7579 $tracelevel)
7580 if defined $::RD_TRACE;
7581 0 $expectation->failed();
7582 0 last;
7583 }
7584 40 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [space]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7585 . $_tok . q{]},
7586  
7587 Parse::RecDescent::_tracefirst($text),
7588 q{opener},
7589 $tracelevel)
7590 if defined $::RD_TRACE;
7591 40 $item{q{space}} = $_tok;
7592 40 push @item, $_tok;
7593
7594 }
7595  
7596 40 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7597 Parse::RecDescent::_tracefirst($text),
7598 q{opener},
7599 $tracelevel)
7600 if defined $::RD_TRACE;
7601
7602  
7603 40 ▶ $_tok = ($_noactions) ? 0 : do { $item[-3]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 40 40
7604 40 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 40 40
7605 {
7606 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7607 if defined $::RD_TRACE;
7608 0 last;
7609 }
7610 40 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7611 . $_tok . q{])},
7612 Parse::RecDescent::_tracefirst($text))
7613 if defined $::RD_TRACE;
7614 40 push @item, $_tok;
7615 40 $item{__ACTION1__}=$_tok;
7616
7617  
7618 40 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[$' <skip: qr/\s*/> '$arg[0]' value '$]' space]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 40 40
7619 Parse::RecDescent::_tracefirst($text),
7620 q{opener},
7621 $tracelevel)
7622 if defined $::RD_TRACE;
7623  
7624  
7625  
7626 40 $_matched = 1;
7627 40 last;
7628 }
7629  
7630  
7631 502 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 462 40 502
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
400462
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
7632 {
7633
7634  
7635 462 $_[1] = $text; # NOT SURE THIS IS NEEDED
7636 462 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 462 462
7637 Parse::RecDescent::_tracefirst($_[1]),
7638 q{opener},
7639 $tracelevel)
7640 if defined $::RD_TRACE;
7641 462 return undef;
7642 }
7643 40 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 40 40
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0400
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
ABresult
0X0
100
111
7644 {
7645 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7646 q{opener},
7647 $tracelevel)
7648 if defined $::RD_TRACE;
7649 0 $return = $score_return;
7650 }
7651 40 splice @{$thisparser->{errors}}, $err_at;
7652 40 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 40 0 40
7653 40 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 40 40
7654 {
7655 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
7656 $return . q{])}, "",
7657 q{opener},
7658 $tracelevel);
7659 0 Parse::RecDescent::_trace(q{(consumed: [} .
7660 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
7661 Parse::RecDescent::_tracefirst($text),
7662 , q{opener},
7663 $tracelevel)
7664 }
7665 40 $_[1] = $text;
7666 40 return $return;
7667 }
7668  
7669 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
7670 sub Parse::RecDescent::Config::Maker::Grammar::option
7671 1034 ▶{
Subroutine option: called CC=55 SCAR=48.7
7672 1034 my $thisparser = $_[0];
7673 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
7674 1034 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
10340
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
7675 1034 $ERRORS = 0;
7676 1034 my $thisrule = $thisparser->{"rules"}{"option"};
7677  
7678 1034 ▶ Parse::RecDescent::_trace(q{Trying rule: [option]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1034 1034
7679 Parse::RecDescent::_tracefirst($_[1]),
7680 q{option},
7681 $tracelevel)
7682 if defined $::RD_TRACE;
7683  
7684
7685 1034 my $err_at = @{$thisparser->{errors}};
7686  
7687 1034 my $score;
7688 my $score_return;
7689 1034 my $_tok;
7690 1034 my $return = undef;
7691 1034 my $_matched=0;
7692 1034 my $commit=0;
7693 1034 my @item = ();
7694 1034 my %item = ();
7695 1034 my $repeating = $_[2];
7696 1034 my $_noactions = $_[3];
7697 1034 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 1034 0 1034
7698 1034 my $_itempos = $_[5];
7699 1034 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 1034 1034
7700 1034 my $text;
7701 my $lastsep;
7702 1034 my $current_match;
7703 1034 my $expectation = new Parse::RecDescent::Expectation(q{block, or type});
7704 1034 $expectation->at($_[1]);
7705
7706 1034 my $thisline;
7707 1034 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
7708  
7709
7710  
7711 1034 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1034 0 1034
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
001034
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
7712 {
7713
7714 1034 ▶ Parse::RecDescent::_trace(q{Trying production: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1034 1034
7715 Parse::RecDescent::_tracefirst($_[1]),
7716 q{option},
7717 $tracelevel)
7718 if defined $::RD_TRACE;
7719 1034 my $thisprod = $thisrule->{"prods"}[0];
7720 1034 $text = $_[1];
7721 1034 my $_savetext;
7722 1034 @item = (q{option});
7723 1034 %item = (__RULE__ => q{option});
7724 1034 my $repcount = 0;
7725  
7726  
7727 1034 ▶ Parse::RecDescent::_trace(q{Trying subrule: [block]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1034 1034
7728 Parse::RecDescent::_tracefirst($text),
7729 q{option},
7730 $tracelevel)
7731 if defined $::RD_TRACE;
7732 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
7733 1034 $expectation->is(q{})->at($text);
7734 1034 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::block($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = block($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 1025 9 1034
7735 {
7736
7737 1025 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [block]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
7738 Parse::RecDescent::_tracefirst($text),
7739 q{option},
7740 $tracelevel)
7741 if defined $::RD_TRACE;
7742 1025 $expectation->failed();
7743 1025 last;
7744 }
7745 9 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [block]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 9 9
7746 . $_tok . q{]},
7747  
7748 Parse::RecDescent::_tracefirst($text),
7749 q{option},
7750 $tracelevel)
7751 if defined $::RD_TRACE;
7752 9 $item{q{block}} = $_tok;
7753 9 push @item, $_tok;
7754
7755 }
7756  
7757 9 ▶ Parse::RecDescent::_trace(q{>>Matched production: [block]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 9 9
7758 Parse::RecDescent::_tracefirst($text),
7759 q{option},
7760 $tracelevel)
7761 if defined $::RD_TRACE;
7762  
7763  
7764  
7765 9 $_matched = 1;
7766 9 last;
7767 }
7768  
7769  
7770 1034 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1025 9 1034
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
901025
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
7771 {
7772
7773 1025 ▶ Parse::RecDescent::_trace(q{Trying production: [type <commit> body]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
7774 Parse::RecDescent::_tracefirst($_[1]),
7775 q{option},
7776 $tracelevel)
7777 if defined $::RD_TRACE;
7778 1025 my $thisprod = $thisrule->{"prods"}[1];
7779 1025 $text = $_[1];
7780 1025 my $_savetext;
7781 1025 @item = (q{option});
7782 1025 %item = (__RULE__ => q{option});
7783 1025 my $repcount = 0;
7784  
7785  
7786 1025 ▶ Parse::RecDescent::_trace(q{Trying subrule: [type]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
7787 Parse::RecDescent::_tracefirst($text),
7788 q{option},
7789 $tracelevel)
7790 if defined $::RD_TRACE;
7791 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
7792 1025 $expectation->is(q{})->at($text);
7793 1025 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::type($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = type($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 336 689 1025
7794 {
7795
7796 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [type]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7797 Parse::RecDescent::_tracefirst($text),
7798 q{option},
7799 $tracelevel)
7800 if defined $::RD_TRACE;
7801 336 $expectation->failed();
7802 336 last;
7803 }
7804 689 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [type]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7805 . $_tok . q{]},
7806  
7807 Parse::RecDescent::_tracefirst($text),
7808 q{option},
7809 $tracelevel)
7810 if defined $::RD_TRACE;
7811 689 $item{q{type}} = $_tok;
7812 689 push @item, $_tok;
7813
7814 }
7815  
7816
7817  
7818 689 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7819 Parse::RecDescent::_tracefirst($text),
7820 q{option},
7821 $tracelevel)
7822 if defined $::RD_TRACE;
7823 689 $_tok = do { $commit = 1 };
7824 689 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 689 0 689
7825 {
7826 689 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7827 . $_tok . q{])},
7828 Parse::RecDescent::_tracefirst($text))
7829 if defined $::RD_TRACE;
7830 }
7831 else
7832 {
7833 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7834 Parse::RecDescent::_tracefirst($text))
7835 if defined $::RD_TRACE;
7836 }
7837
7838 689 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 689 689
7839 689 push @item, $item{__DIRECTIVE1__}=$_tok;
7840
7841  
7842 689 ▶ Parse::RecDescent::_trace(q{Trying subrule: [body]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7843 Parse::RecDescent::_tracefirst($text),
7844 q{option},
7845 $tracelevel)
7846 if defined $::RD_TRACE;
7847 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
7848 689 $expectation->is(q{body})->at($text);
7849 689 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::body($thisparser,$text,$repeating,$_noactions,sub { return [$item[1], $item[1]->body] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = body($thisparser, $text, $repeating, $_noactions, sub { return [$item[1], $item[1]->body]; } , undef))) 0 689 689
7850 {
7851
7852 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [body]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7853 Parse::RecDescent::_tracefirst($text),
7854 q{option},
7855 $tracelevel)
7856 if defined $::RD_TRACE;
7857 0 $expectation->failed();
7858 0 last;
7859 }
7860 689 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [body]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7861 . $_tok . q{]},
7862  
7863 Parse::RecDescent::_tracefirst($text),
7864 q{option},
7865 $tracelevel)
7866 if defined $::RD_TRACE;
7867 689 $item{q{body}} = $_tok;
7868 689 push @item, $_tok;
7869
7870 }
7871  
7872 689 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7873 Parse::RecDescent::_tracefirst($text),
7874 q{option},
7875 $tracelevel)
7876 if defined $::RD_TRACE;
7877
7878  
7879 689 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 689 689
7880 689 $item[1]->instantiate($item[3]);
7881 };
7882 689 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 689 689
7883 {
7884 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7885 if defined $::RD_TRACE;
7886 0 last;
7887 }
7888 689 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7889 . $_tok . q{])},
7890 Parse::RecDescent::_tracefirst($text))
7891 if defined $::RD_TRACE;
7892 689 push @item, $_tok;
7893 689 $item{__ACTION1__}=$_tok;
7894
7895  
7896 689 ▶ Parse::RecDescent::_trace(q{>>Matched production: [type <commit> body]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
7897 Parse::RecDescent::_tracefirst($text),
7898 q{option},
7899 $tracelevel)
7900 if defined $::RD_TRACE;
7901  
7902  
7903  
7904 689 $_matched = 1;
7905 689 last;
7906 }
7907  
7908  
7909 1034 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 336 698 1034
7910 {
7911
7912 336 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7913 Parse::RecDescent::_tracefirst($_[1]),
7914 q{option},
7915 $tracelevel)
7916 if defined $::RD_TRACE;
7917 336 my $thisprod = $thisrule->{"prods"}[2];
7918
7919 336 my $_savetext;
7920 336 @item = (q{option});
7921 336 %item = (__RULE__ => q{option});
7922 336 my $repcount = 0;
7923  
7924  
7925
7926  
7927 336 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7928 Parse::RecDescent::_tracefirst($text),
7929 q{option},
7930 $tracelevel)
7931 if defined $::RD_TRACE;
7932 0 ▶ $_tok = do { if ($commit) { do {
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 336 336
unless ($_noactions) 0 0 0
7933 0 my $rule = $item[0];
7934 0 $rule =~ s/_/ /g;
7935 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
7936 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
7937 0 } unless $_noactions; undef } else {0} };
7938 336 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 336 0 336
7939 {
7940 336 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7941 . $_tok . q{])},
7942 Parse::RecDescent::_tracefirst($text))
7943 if defined $::RD_TRACE;
7944 }
7945 else
7946 {
7947 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7948 Parse::RecDescent::_tracefirst($text))
7949 if defined $::RD_TRACE;
7950 }
7951
7952 336 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 336 336
7953 336 push @item, $item{__DIRECTIVE1__}=$_tok;
7954
7955  
7956 336 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7957 Parse::RecDescent::_tracefirst($text),
7958 q{option},
7959 $tracelevel)
7960 if defined $::RD_TRACE;
7961 336 undef $return;
7962
7963  
7964 336 $_tok = undef;
7965
7966 336 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 336 0 336
7967  
7968 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7969 Parse::RecDescent::_tracefirst($text),
7970 q{option},
7971 $tracelevel)
7972 if defined $::RD_TRACE;
7973  
7974  
7975  
7976 0 $_matched = 1;
7977 0 last;
7978 }
7979  
7980  
7981 1034 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 336 698 1034
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
6980336
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
7982 {
7983
7984  
7985 336 $_[1] = $text; # NOT SURE THIS IS NEEDED
7986 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
7987 Parse::RecDescent::_tracefirst($_[1]),
7988 q{option},
7989 $tracelevel)
7990 if defined $::RD_TRACE;
7991 336 return undef;
7992 }
7993 698 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 698 698
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
06980
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
ABresult
0X0
100
111
7994 {
7995 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
7996 q{option},
7997 $tracelevel)
7998 if defined $::RD_TRACE;
7999 0 $return = $score_return;
8000 }
8001 698 splice @{$thisparser->{errors}}, $err_at;
8002 698 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 698 0 698
8003 698 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 698 698
8004 {
8005 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
8006 $return . q{])}, "",
8007 q{option},
8008 $tracelevel);
8009 0 Parse::RecDescent::_trace(q{(consumed: [} .
8010 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
8011 Parse::RecDescent::_tracefirst($text),
8012 , q{option},
8013 $tracelevel)
8014 }
8015 698 $_[1] = $text;
8016 698 return $return;
8017 }
8018  
8019 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
8020 sub Parse::RecDescent::Config::Maker::Grammar::optpath
8021 33 ▶{
Subroutine optpath: called CC=37 SCAR=42.5
8022 33 my $thisparser = $_[0];
8023 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
8024 33 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
330
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
8025 33 $ERRORS = 0;
8026 33 my $thisrule = $thisparser->{"rules"}{"optpath"};
8027  
8028 33 ▶ Parse::RecDescent::_trace(q{Trying rule: [optpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
8029 Parse::RecDescent::_tracefirst($_[1]),
8030 q{optpath},
8031 $tracelevel)
8032 if defined $::RD_TRACE;
8033  
8034
8035 33 my $err_at = @{$thisparser->{errors}};
8036  
8037 33 my $score;
8038 my $score_return;
8039 33 my $_tok;
8040 33 my $return = undef;
8041 33 my $_matched=0;
8042 33 my $commit=0;
8043 33 my @item = ();
8044 33 my %item = ();
8045 33 my $repeating = $_[2];
8046 33 my $_noactions = $_[3];
8047 33 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 33 0 33
8048 33 my $_itempos = $_[5];
8049 33 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 33 0 33
8050 33 my $text;
8051 my $lastsep;
8052 33 my $current_match;
8053 33 my $expectation = new Parse::RecDescent::Expectation(q{':'});
8054 33 $expectation->at($_[1]);
8055
8056 33 my $thisline;
8057 33 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
8058  
8059
8060  
8061 33 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 33 0 33
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0033
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8062 {
8063
8064 33 ▶ Parse::RecDescent::_trace(q{Trying production: [':' path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
8065 Parse::RecDescent::_tracefirst($_[1]),
8066 q{optpath},
8067 $tracelevel)
8068 if defined $::RD_TRACE;
8069 33 my $thisprod = $thisrule->{"prods"}[0];
8070 33 $text = $_[1];
8071 33 my $_savetext;
8072 33 @item = (q{optpath});
8073 33 %item = (__RULE__ => q{optpath});
8074 33 my $repcount = 0;
8075  
8076  
8077 33 ▶ Parse::RecDescent::_trace(q{Trying terminal: [':']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
8078 Parse::RecDescent::_tracefirst($text),
8079 q{optpath},
8080 $tracelevel)
8081 if defined $::RD_TRACE;
8082 33 undef $lastsep;
8083 33 $expectation->is(q{})->at($text);
8084
8085  
8086 33 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\:/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/) 29 4 33
Condition80%4/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
!ll&&!rl&&r
0294
($lastsep = $1) && ''
!ll
312
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\:/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\:/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8087 {
8088 29 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 29 0 29
8089
8090 29 $expectation->failed();
8091 29 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
8092 Parse::RecDescent::_tracefirst($text))
8093 if defined $::RD_TRACE;
8094 29 last;
8095 }
8096 4 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8097 4 substr($text,0,length($current_match),q{});
8098 4 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8099 . $current_match . q{])},
8100 Parse::RecDescent::_tracefirst($text))
8101 if defined $::RD_TRACE;
8102 4 push @item, $item{__STRING1__}=$current_match;
8103
8104  
8105 4 ▶ Parse::RecDescent::_trace(q{Trying subrule: [path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8106 Parse::RecDescent::_tracefirst($text),
8107 q{optpath},
8108 $tracelevel)
8109 if defined $::RD_TRACE;
8110 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8111 4 $expectation->is(q{path})->at($text);
8112 4 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::path($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = path($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 4 4
8113 {
8114
8115 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [path]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8116 Parse::RecDescent::_tracefirst($text),
8117 q{optpath},
8118 $tracelevel)
8119 if defined $::RD_TRACE;
8120 0 $expectation->failed();
8121 0 last;
8122 }
8123 4 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [path]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8124 . $_tok . q{]},
8125  
8126 Parse::RecDescent::_tracefirst($text),
8127 q{optpath},
8128 $tracelevel)
8129 if defined $::RD_TRACE;
8130 4 $item{q{path}} = $_tok;
8131 4 push @item, $_tok;
8132
8133 }
8134  
8135 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: [':' path]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8136 Parse::RecDescent::_tracefirst($text),
8137 q{optpath},
8138 $tracelevel)
8139 if defined $::RD_TRACE;
8140  
8141  
8142  
8143 4 $_matched = 1;
8144 4 last;
8145 }
8146  
8147  
8148 33 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 29 4 33
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
4029
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8149 {
8150
8151 29 ▶ Parse::RecDescent::_trace(q{Trying production: []},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
8152 Parse::RecDescent::_tracefirst($_[1]),
8153 q{optpath},
8154 $tracelevel)
8155 if defined $::RD_TRACE;
8156 29 my $thisprod = $thisrule->{"prods"}[1];
8157 29 $text = $_[1];
8158 29 my $_savetext;
8159 29 @item = (q{optpath});
8160 29 %item = (__RULE__ => q{optpath});
8161 29 my $repcount = 0;
8162  
8163  
8164 29 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
8165 Parse::RecDescent::_tracefirst($text),
8166 q{optpath},
8167 $tracelevel)
8168 if defined $::RD_TRACE;
8169
8170  
8171 29 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Path::This(); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 29 29
8172 29 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 29 29
8173 {
8174 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8175 if defined $::RD_TRACE;
8176 0 last;
8177 }
8178 29 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
8179 . $_tok . q{])},
8180 Parse::RecDescent::_tracefirst($text))
8181 if defined $::RD_TRACE;
8182 29 push @item, $_tok;
8183 29 $item{__ACTION1__}=$_tok;
8184
8185  
8186 29 ▶ Parse::RecDescent::_trace(q{>>Matched production: []<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
8187 Parse::RecDescent::_tracefirst($text),
8188 q{optpath},
8189 $tracelevel)
8190 if defined $::RD_TRACE;
8191  
8192  
8193  
8194 29 $_matched = 1;
8195 29 last;
8196 }
8197  
8198  
8199 33 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 33 33
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
3300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
8200 {
8201
8202  
8203 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
8204 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8205 Parse::RecDescent::_tracefirst($_[1]),
8206 q{optpath},
8207 $tracelevel)
8208 if defined $::RD_TRACE;
8209 0 return undef;
8210 }
8211 33 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 33 33
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0330
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
ABresult
0X0
100
111
8212 {
8213 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8214 q{optpath},
8215 $tracelevel)
8216 if defined $::RD_TRACE;
8217 0 $return = $score_return;
8218 }
8219 33 splice @{$thisparser->{errors}}, $err_at;
8220 33 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 33 0 33
8221 33 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 33 33
8222 {
8223 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
8224 $return . q{])}, "",
8225 q{optpath},
8226 $tracelevel);
8227 0 Parse::RecDescent::_trace(q{(consumed: [} .
8228 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
8229 Parse::RecDescent::_tracefirst($text),
8230 , q{optpath},
8231 $tracelevel)
8232 }
8233 33 $_[1] = $text;
8234 33 return $return;
8235 }
8236  
8237 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
8238 sub Parse::RecDescent::Config::Maker::Grammar::path
8239 302 ▶{
Subroutine path: called CC=146 SCAR=73.2
8240 302 my $thisparser = $_[0];
8241 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
8242 302 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3020
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
8243 302 $ERRORS = 0;
8244 302 my $thisrule = $thisparser->{"rules"}{"path"};
8245  
8246 302 ▶ Parse::RecDescent::_trace(q{Trying rule: [path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8247 Parse::RecDescent::_tracefirst($_[1]),
8248 q{path},
8249 $tracelevel)
8250 if defined $::RD_TRACE;
8251  
8252
8253 302 my $err_at = @{$thisparser->{errors}};
8254  
8255 302 my $score;
8256 my $score_return;
8257 302 my $_tok;
8258 302 my $return = undef;
8259 302 my $_matched=0;
8260 302 my $commit=0;
8261 302 my @item = ();
8262 302 my %item = ();
8263 302 my $repeating = $_[2];
8264 302 my $_noactions = $_[3];
8265 302 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 302 0 302
8266 302 my $_itempos = $_[5];
8267 302 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 298 4 302
8268 302 my $text;
8269 my $lastsep;
8270 302 my $current_match;
8271 302 my $expectation = new Parse::RecDescent::Expectation(q{''});
8272 302 $expectation->at($_[1]);
8273
8274 302 my $thisline;
8275 302 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
8276  
8277
8278  
8279 302 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 302 0 302
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00302
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8280 {
8281 302 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 302 0 302
8282 302 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <skip: ''> metaroot relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8283 Parse::RecDescent::_tracefirst($_[1]),
8284 q{path},
8285 $tracelevel)
8286 if defined $::RD_TRACE;
8287 302 my $thisprod = $thisrule->{"prods"}[0];
8288 302 $text = $_[1];
8289 302 my $_savetext;
8290 302 @item = (q{path});
8291 302 %item = (__RULE__ => q{path});
8292 302 my $repcount = 0;
8293  
8294  
8295 302 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8296 Parse::RecDescent::_tracefirst($text),
8297 q{path},
8298 $tracelevel)
8299 if defined $::RD_TRACE;
8300 302 undef $lastsep;
8301 302 $expectation->is(q{})->at($text);
8302
8303  
8304 302 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 302 302
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00302
($lastsep = $1) && ''
!ll
2984
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8305 {
8306 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
8307
8308 0 $expectation->failed();
8309 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8310 Parse::RecDescent::_tracefirst($text))
8311 if defined $::RD_TRACE;
8312 0 last;
8313 }
8314 302 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8315 302 substr($text,0,length($current_match),q{});
8316 302 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8317 . $current_match . q{])},
8318 Parse::RecDescent::_tracefirst($text))
8319 if defined $::RD_TRACE;
8320 302 push @item, $item{__STRING1__}=$current_match;
8321
8322  
8323
8324  
8325 302 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8326 Parse::RecDescent::_tracefirst($text),
8327 q{path},
8328 $tracelevel)
8329 if defined $::RD_TRACE;
8330 302 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
8331 302 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 302 0 302
8332 {
8333 302 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8334 . $_tok . q{])},
8335 Parse::RecDescent::_tracefirst($text))
8336 if defined $::RD_TRACE;
8337 }
8338 else
8339 {
8340 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8341 Parse::RecDescent::_tracefirst($text))
8342 if defined $::RD_TRACE;
8343 }
8344
8345 302 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 302 302
8346 302 push @item, $item{__DIRECTIVE1__}=$_tok;
8347
8348  
8349 302 ▶ Parse::RecDescent::_trace(q{Trying subrule: [metaroot]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8350 Parse::RecDescent::_tracefirst($text),
8351 q{path},
8352 $tracelevel)
8353 if defined $::RD_TRACE;
8354 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8355 302 $expectation->is(q{metaroot})->at($text);
8356 302 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::metaroot($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = metaroot($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 302 0 302
8357 {
8358
8359 302 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [metaroot]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8360 Parse::RecDescent::_tracefirst($text),
8361 q{path},
8362 $tracelevel)
8363 if defined $::RD_TRACE;
8364 302 $expectation->failed();
8365 302 last;
8366 }
8367 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [metaroot]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8368 . $_tok . q{]},
8369  
8370 Parse::RecDescent::_tracefirst($text),
8371 q{path},
8372 $tracelevel)
8373 if defined $::RD_TRACE;
8374 0 $item{q{metaroot}} = $_tok;
8375 0 push @item, $_tok;
8376
8377 }
8378  
8379 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8380 Parse::RecDescent::_tracefirst($text),
8381 q{path},
8382 $tracelevel)
8383 if defined $::RD_TRACE;
8384 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
8385 0 $expectation->is(q{relpath})->at($text);
8386 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::relpath($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = relpath($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 0 0
8387 {
8388
8389 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [relpath]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8390 Parse::RecDescent::_tracefirst($text),
8391 q{path},
8392 $tracelevel)
8393 if defined $::RD_TRACE;
8394 0 $expectation->failed();
8395 0 last;
8396 }
8397 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [relpath]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8398 . $_tok . q{]},
8399  
8400 Parse::RecDescent::_tracefirst($text),
8401 q{path},
8402 $tracelevel)
8403 if defined $::RD_TRACE;
8404 0 $item{q{relpath}} = $_tok;
8405 0 push @item, $_tok;
8406
8407 }
8408  
8409 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8410 Parse::RecDescent::_tracefirst($text),
8411 q{path},
8412 $tracelevel)
8413 if defined $::RD_TRACE;
8414
8415  
8416 0 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
8417 0 new Config::Maker::Path::Meta(-tail => $item[-1]);
8418 };
8419 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
8420 {
8421 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8422 if defined $::RD_TRACE;
8423 0 last;
8424 }
8425 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8426 . $_tok . q{])},
8427 Parse::RecDescent::_tracefirst($text))
8428 if defined $::RD_TRACE;
8429 0 push @item, $_tok;
8430 0 $item{__ACTION1__}=$_tok;
8431
8432  
8433 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <skip: ''> metaroot relpath]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8434 Parse::RecDescent::_tracefirst($text),
8435 q{path},
8436 $tracelevel)
8437 if defined $::RD_TRACE;
8438  
8439  
8440  
8441 0 $_matched = 1;
8442 0 last;
8443 }
8444  
8445  
8446 302 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 302 0 302
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00302
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8447 {
8448 302 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 302 0 302
8449 302 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <skip: ''> metaroot]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8450 Parse::RecDescent::_tracefirst($_[1]),
8451 q{path},
8452 $tracelevel)
8453 if defined $::RD_TRACE;
8454 302 my $thisprod = $thisrule->{"prods"}[1];
8455 302 $text = $_[1];
8456 302 my $_savetext;
8457 302 @item = (q{path});
8458 302 %item = (__RULE__ => q{path});
8459 302 my $repcount = 0;
8460  
8461  
8462 302 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8463 Parse::RecDescent::_tracefirst($text),
8464 q{path},
8465 $tracelevel)
8466 if defined $::RD_TRACE;
8467 302 undef $lastsep;
8468 302 $expectation->is(q{})->at($text);
8469
8470  
8471 302 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 302 302
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00302
($lastsep = $1) && ''
!ll
2984
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8472 {
8473 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
8474
8475 0 $expectation->failed();
8476 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8477 Parse::RecDescent::_tracefirst($text))
8478 if defined $::RD_TRACE;
8479 0 last;
8480 }
8481 302 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8482 302 substr($text,0,length($current_match),q{});
8483 302 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8484 . $current_match . q{])},
8485 Parse::RecDescent::_tracefirst($text))
8486 if defined $::RD_TRACE;
8487 302 push @item, $item{__STRING1__}=$current_match;
8488
8489  
8490
8491  
8492 302 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8493 Parse::RecDescent::_tracefirst($text),
8494 q{path},
8495 $tracelevel)
8496 if defined $::RD_TRACE;
8497 302 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
8498 302 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 302 0 302
8499 {
8500 302 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8501 . $_tok . q{])},
8502 Parse::RecDescent::_tracefirst($text))
8503 if defined $::RD_TRACE;
8504 }
8505 else
8506 {
8507 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8508 Parse::RecDescent::_tracefirst($text))
8509 if defined $::RD_TRACE;
8510 }
8511
8512 302 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 302 302
8513 302 push @item, $item{__DIRECTIVE1__}=$_tok;
8514
8515  
8516 302 ▶ Parse::RecDescent::_trace(q{Trying subrule: [metaroot]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8517 Parse::RecDescent::_tracefirst($text),
8518 q{path},
8519 $tracelevel)
8520 if defined $::RD_TRACE;
8521 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8522 302 $expectation->is(q{metaroot})->at($text);
8523 302 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::metaroot($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = metaroot($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 302 0 302
8524 {
8525
8526 302 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [metaroot]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8527 Parse::RecDescent::_tracefirst($text),
8528 q{path},
8529 $tracelevel)
8530 if defined $::RD_TRACE;
8531 302 $expectation->failed();
8532 302 last;
8533 }
8534 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [metaroot]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8535 . $_tok . q{]},
8536  
8537 Parse::RecDescent::_tracefirst($text),
8538 q{path},
8539 $tracelevel)
8540 if defined $::RD_TRACE;
8541 0 $item{q{metaroot}} = $_tok;
8542 0 push @item, $_tok;
8543
8544 }
8545  
8546 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8547 Parse::RecDescent::_tracefirst($text),
8548 q{path},
8549 $tracelevel)
8550 if defined $::RD_TRACE;
8551
8552  
8553 0 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
8554 0 new Config::Maker::Path::Meta();
8555 };
8556 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
8557 {
8558 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8559 if defined $::RD_TRACE;
8560 0 last;
8561 }
8562 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8563 . $_tok . q{])},
8564 Parse::RecDescent::_tracefirst($text))
8565 if defined $::RD_TRACE;
8566 0 push @item, $_tok;
8567 0 $item{__ACTION1__}=$_tok;
8568
8569  
8570 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <skip: ''> metaroot]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8571 Parse::RecDescent::_tracefirst($text),
8572 q{path},
8573 $tracelevel)
8574 if defined $::RD_TRACE;
8575  
8576  
8577  
8578 0 $_matched = 1;
8579 0 last;
8580 }
8581  
8582  
8583 302 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 302 0 302
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00302
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8584 {
8585 302 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 302 0 302
8586 302 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <skip: ''> separator relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8587 Parse::RecDescent::_tracefirst($_[1]),
8588 q{path},
8589 $tracelevel)
8590 if defined $::RD_TRACE;
8591 302 my $thisprod = $thisrule->{"prods"}[2];
8592 302 $text = $_[1];
8593 302 my $_savetext;
8594 302 @item = (q{path});
8595 302 %item = (__RULE__ => q{path});
8596 302 my $repcount = 0;
8597  
8598  
8599 302 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8600 Parse::RecDescent::_tracefirst($text),
8601 q{path},
8602 $tracelevel)
8603 if defined $::RD_TRACE;
8604 302 undef $lastsep;
8605 302 $expectation->is(q{})->at($text);
8606
8607  
8608 302 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 302 302
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00302
($lastsep = $1) && ''
!ll
2984
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8609 {
8610 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
8611
8612 0 $expectation->failed();
8613 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8614 Parse::RecDescent::_tracefirst($text))
8615 if defined $::RD_TRACE;
8616 0 last;
8617 }
8618 302 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8619 302 substr($text,0,length($current_match),q{});
8620 302 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8621 . $current_match . q{])},
8622 Parse::RecDescent::_tracefirst($text))
8623 if defined $::RD_TRACE;
8624 302 push @item, $item{__STRING1__}=$current_match;
8625
8626  
8627
8628  
8629 302 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8630 Parse::RecDescent::_tracefirst($text),
8631 q{path},
8632 $tracelevel)
8633 if defined $::RD_TRACE;
8634 302 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
8635 302 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 302 0 302
8636 {
8637 302 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8638 . $_tok . q{])},
8639 Parse::RecDescent::_tracefirst($text))
8640 if defined $::RD_TRACE;
8641 }
8642 else
8643 {
8644 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8645 Parse::RecDescent::_tracefirst($text))
8646 if defined $::RD_TRACE;
8647 }
8648
8649 302 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 302 302
8650 302 push @item, $item{__DIRECTIVE1__}=$_tok;
8651
8652  
8653 302 ▶ Parse::RecDescent::_trace(q{Trying subrule: [separator]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 302 302
8654 Parse::RecDescent::_tracefirst($text),
8655 q{path},
8656 $tracelevel)
8657 if defined $::RD_TRACE;
8658 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8659 302 $expectation->is(q{separator})->at($text);
8660 302 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::separator($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = separator($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 280 22 302
8661 {
8662
8663 280 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [separator]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8664 Parse::RecDescent::_tracefirst($text),
8665 q{path},
8666 $tracelevel)
8667 if defined $::RD_TRACE;
8668 280 $expectation->failed();
8669 280 last;
8670 }
8671 22 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [separator]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 22 22
8672 . $_tok . q{]},
8673  
8674 Parse::RecDescent::_tracefirst($text),
8675 q{path},
8676 $tracelevel)
8677 if defined $::RD_TRACE;
8678 22 $item{q{separator}} = $_tok;
8679 22 push @item, $_tok;
8680
8681 }
8682  
8683 22 ▶ Parse::RecDescent::_trace(q{Trying subrule: [relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 22 22
8684 Parse::RecDescent::_tracefirst($text),
8685 q{path},
8686 $tracelevel)
8687 if defined $::RD_TRACE;
8688 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8689 22 $expectation->is(q{relpath})->at($text);
8690 22 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::relpath($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = relpath($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 18 4 22
8691 {
8692
8693 18 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [relpath]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
8694 Parse::RecDescent::_tracefirst($text),
8695 q{path},
8696 $tracelevel)
8697 if defined $::RD_TRACE;
8698 18 $expectation->failed();
8699 18 last;
8700 }
8701 4 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [relpath]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8702 . $_tok . q{]},
8703  
8704 Parse::RecDescent::_tracefirst($text),
8705 q{path},
8706 $tracelevel)
8707 if defined $::RD_TRACE;
8708 4 $item{q{relpath}} = $_tok;
8709 4 push @item, $_tok;
8710
8711 }
8712  
8713 4 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8714 Parse::RecDescent::_tracefirst($text),
8715 q{path},
8716 $tracelevel)
8717 if defined $::RD_TRACE;
8718
8719  
8720 4 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 4 4
8721 4 new Config::Maker::Path::Root(-tail => $item[-1]);
8722 };
8723 4 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 4 4
8724 {
8725 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8726 if defined $::RD_TRACE;
8727 0 last;
8728 }
8729 4 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8730 . $_tok . q{])},
8731 Parse::RecDescent::_tracefirst($text))
8732 if defined $::RD_TRACE;
8733 4 push @item, $_tok;
8734 4 $item{__ACTION1__}=$_tok;
8735
8736  
8737 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <skip: ''> separator relpath]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
8738 Parse::RecDescent::_tracefirst($text),
8739 q{path},
8740 $tracelevel)
8741 if defined $::RD_TRACE;
8742  
8743  
8744  
8745 4 $_matched = 1;
8746 4 last;
8747 }
8748  
8749  
8750 302 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 298 4 302
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
40298
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8751 {
8752 298 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 298 0 298
8753 298 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <skip: ''> separator]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8754 Parse::RecDescent::_tracefirst($_[1]),
8755 q{path},
8756 $tracelevel)
8757 if defined $::RD_TRACE;
8758 298 my $thisprod = $thisrule->{"prods"}[3];
8759 298 $text = $_[1];
8760 298 my $_savetext;
8761 298 @item = (q{path});
8762 298 %item = (__RULE__ => q{path});
8763 298 my $repcount = 0;
8764  
8765  
8766 298 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8767 Parse::RecDescent::_tracefirst($text),
8768 q{path},
8769 $tracelevel)
8770 if defined $::RD_TRACE;
8771 298 undef $lastsep;
8772 298 $expectation->is(q{})->at($text);
8773
8774  
8775 298 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 298 298
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00298
($lastsep = $1) && ''
!ll
2944
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8776 {
8777 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
8778
8779 0 $expectation->failed();
8780 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8781 Parse::RecDescent::_tracefirst($text))
8782 if defined $::RD_TRACE;
8783 0 last;
8784 }
8785 298 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8786 298 substr($text,0,length($current_match),q{});
8787 298 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8788 . $current_match . q{])},
8789 Parse::RecDescent::_tracefirst($text))
8790 if defined $::RD_TRACE;
8791 298 push @item, $item{__STRING1__}=$current_match;
8792
8793  
8794
8795  
8796 298 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8797 Parse::RecDescent::_tracefirst($text),
8798 q{path},
8799 $tracelevel)
8800 if defined $::RD_TRACE;
8801 298 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
8802 298 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 298 0 298
8803 {
8804 298 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8805 . $_tok . q{])},
8806 Parse::RecDescent::_tracefirst($text))
8807 if defined $::RD_TRACE;
8808 }
8809 else
8810 {
8811 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8812 Parse::RecDescent::_tracefirst($text))
8813 if defined $::RD_TRACE;
8814 }
8815
8816 298 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 298 298
8817 298 push @item, $item{__DIRECTIVE1__}=$_tok;
8818
8819  
8820 298 ▶ Parse::RecDescent::_trace(q{Trying subrule: [separator]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
8821 Parse::RecDescent::_tracefirst($text),
8822 q{path},
8823 $tracelevel)
8824 if defined $::RD_TRACE;
8825 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8826 298 $expectation->is(q{separator})->at($text);
8827 298 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::separator($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = separator($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 280 18 298
8828 {
8829
8830 280 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [separator]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8831 Parse::RecDescent::_tracefirst($text),
8832 q{path},
8833 $tracelevel)
8834 if defined $::RD_TRACE;
8835 280 $expectation->failed();
8836 280 last;
8837 }
8838 18 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [separator]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
8839 . $_tok . q{]},
8840  
8841 Parse::RecDescent::_tracefirst($text),
8842 q{path},
8843 $tracelevel)
8844 if defined $::RD_TRACE;
8845 18 $item{q{separator}} = $_tok;
8846 18 push @item, $_tok;
8847
8848 }
8849  
8850 18 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
8851 Parse::RecDescent::_tracefirst($text),
8852 q{path},
8853 $tracelevel)
8854 if defined $::RD_TRACE;
8855
8856  
8857 18 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 18 18
8858 18 new Config::Maker::Path::Root();
8859 };
8860 18 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 18 18
8861 {
8862 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8863 if defined $::RD_TRACE;
8864 0 last;
8865 }
8866 18 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
8867 . $_tok . q{])},
8868 Parse::RecDescent::_tracefirst($text))
8869 if defined $::RD_TRACE;
8870 18 push @item, $_tok;
8871 18 $item{__ACTION1__}=$_tok;
8872
8873  
8874 18 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <skip: ''> separator]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
8875 Parse::RecDescent::_tracefirst($text),
8876 q{path},
8877 $tracelevel)
8878 if defined $::RD_TRACE;
8879  
8880  
8881  
8882 18 $_matched = 1;
8883 18 last;
8884 }
8885  
8886  
8887 302 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 280 22 302
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
220280
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
8888 {
8889 280 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 280 0 280
8890 280 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <skip: ''> relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8891 Parse::RecDescent::_tracefirst($_[1]),
8892 q{path},
8893 $tracelevel)
8894 if defined $::RD_TRACE;
8895 280 my $thisprod = $thisrule->{"prods"}[4];
8896 280 $text = $_[1];
8897 280 my $_savetext;
8898 280 @item = (q{path});
8899 280 %item = (__RULE__ => q{path});
8900 280 my $repcount = 0;
8901  
8902  
8903 280 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8904 Parse::RecDescent::_tracefirst($text),
8905 q{path},
8906 $tracelevel)
8907 if defined $::RD_TRACE;
8908 280 undef $lastsep;
8909 280 $expectation->is(q{})->at($text);
8910
8911  
8912 280 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 280 280
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00280
($lastsep = $1) && ''
!ll
2764
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
8913 {
8914 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
8915
8916 0 $expectation->failed();
8917 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8918 Parse::RecDescent::_tracefirst($text))
8919 if defined $::RD_TRACE;
8920 0 last;
8921 }
8922 280 $current_match = substr($text, $-[0], $+[0] - $-[0]);
8923 280 substr($text,0,length($current_match),q{});
8924 280 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8925 . $current_match . q{])},
8926 Parse::RecDescent::_tracefirst($text))
8927 if defined $::RD_TRACE;
8928 280 push @item, $item{__STRING1__}=$current_match;
8929
8930  
8931
8932  
8933 280 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8934 Parse::RecDescent::_tracefirst($text),
8935 q{path},
8936 $tracelevel)
8937 if defined $::RD_TRACE;
8938 280 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
8939 280 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 280 0 280
8940 {
8941 280 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8942 . $_tok . q{])},
8943 Parse::RecDescent::_tracefirst($text))
8944 if defined $::RD_TRACE;
8945 }
8946 else
8947 {
8948 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8949 Parse::RecDescent::_tracefirst($text))
8950 if defined $::RD_TRACE;
8951 }
8952
8953 280 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 280 280
8954 280 push @item, $item{__DIRECTIVE1__}=$_tok;
8955
8956  
8957 280 ▶ Parse::RecDescent::_trace(q{Trying subrule: [relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8958 Parse::RecDescent::_tracefirst($text),
8959 q{path},
8960 $tracelevel)
8961 if defined $::RD_TRACE;
8962 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
8963 280 $expectation->is(q{relpath})->at($text);
8964 280 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::relpath($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = relpath($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 280 280
8965 {
8966
8967 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [relpath]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
8968 Parse::RecDescent::_tracefirst($text),
8969 q{path},
8970 $tracelevel)
8971 if defined $::RD_TRACE;
8972 0 $expectation->failed();
8973 0 last;
8974 }
8975 280 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [relpath]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8976 . $_tok . q{]},
8977  
8978 Parse::RecDescent::_tracefirst($text),
8979 q{path},
8980 $tracelevel)
8981 if defined $::RD_TRACE;
8982 280 $item{q{relpath}} = $_tok;
8983 280 push @item, $_tok;
8984
8985 }
8986  
8987 280 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <skip: ''> relpath]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 280 280
8988 Parse::RecDescent::_tracefirst($text),
8989 q{path},
8990 $tracelevel)
8991 if defined $::RD_TRACE;
8992  
8993  
8994  
8995 280 $_matched = 1;
8996 280 last;
8997 }
8998  
8999  
9000 302 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 302 302
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
30200
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
9001 {
9002
9003  
9004 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
9005 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9006 Parse::RecDescent::_tracefirst($_[1]),
9007 q{path},
9008 $tracelevel)
9009 if defined $::RD_TRACE;
9010 0 return undef;
9011 }
9012 302 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 302 302
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
03020
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
ABresult
0X0
100
111
9013 {
9014 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9015 q{path},
9016 $tracelevel)
9017 if defined $::RD_TRACE;
9018 0 $return = $score_return;
9019 }
9020 302 splice @{$thisparser->{errors}}, $err_at;
9021 302 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 302 0 302
9022 302 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 302 302
9023 {
9024 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
9025 $return . q{])}, "",
9026 q{path},
9027 $tracelevel);
9028 0 Parse::RecDescent::_trace(q{(consumed: [} .
9029 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
9030 Parse::RecDescent::_tracefirst($text),
9031 , q{path},
9032 $tracelevel)
9033 }
9034 302 $_[1] = $text;
9035 302 return $return;
9036 }
9037  
9038 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
9039 sub Parse::RecDescent::Config::Maker::Grammar::path_whole
9040 269 ▶{
Subroutine path_whole: called CC=36 SCAR=44.3
9041 269 my $thisparser = $_[0];
9042 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
9043 269 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition100%2/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
30239
MC/DC100%1/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table100%2/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
9044 269 $ERRORS = 0;
9045 269 my $thisrule = $thisparser->{"rules"}{"path_whole"};
9046  
9047 269 ▶ Parse::RecDescent::_trace(q{Trying rule: [path_whole]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9048 Parse::RecDescent::_tracefirst($_[1]),
9049 q{path_whole},
9050 $tracelevel)
9051 if defined $::RD_TRACE;
9052  
9053
9054 269 my $err_at = @{$thisparser->{errors}};
9055  
9056 269 my $score;
9057 my $score_return;
9058 269 my $_tok;
9059 269 my $return = undef;
9060 269 my $_matched=0;
9061 269 my $commit=0;
9062 269 my @item = ();
9063 269 my %item = ();
9064 269 my $repeating = $_[2];
9065 269 my $_noactions = $_[3];
9066 269 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 269 0 269
9067 269 my $_itempos = $_[5];
9068 269 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 269 0 269
9069 269 my $text;
9070 my $lastsep;
9071 269 my $current_match;
9072 269 my $expectation = new Parse::RecDescent::Expectation(q{});
9073 269 $expectation->at($_[1]);
9074
9075 269 my $thisline;
9076 269 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
9077  
9078
9079  
9080 269 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 269 0 269
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00269
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9081 {
9082 269 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 269 0 269
9083 269 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> path eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9084 Parse::RecDescent::_tracefirst($_[1]),
9085 q{path_whole},
9086 $tracelevel)
9087 if defined $::RD_TRACE;
9088 269 my $thisprod = $thisrule->{"prods"}[0];
9089 269 $text = $_[1];
9090 269 my $_savetext;
9091 269 @item = (q{path_whole});
9092 269 %item = (__RULE__ => q{path_whole});
9093 269 my $repcount = 0;
9094  
9095  
9096
9097  
9098 269 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9099 Parse::RecDescent::_tracefirst($text),
9100 q{path_whole},
9101 $tracelevel)
9102 if defined $::RD_TRACE;
9103 269 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
9104 269 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 269 0 269
9105 {
9106 269 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9107 . $_tok . q{])},
9108 Parse::RecDescent::_tracefirst($text))
9109 if defined $::RD_TRACE;
9110 }
9111 else
9112 {
9113 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9114 Parse::RecDescent::_tracefirst($text))
9115 if defined $::RD_TRACE;
9116 }
9117
9118 269 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 269 269
9119 269 push @item, $item{__DIRECTIVE1__}=$_tok;
9120
9121  
9122 269 ▶ Parse::RecDescent::_trace(q{Trying subrule: [path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9123 Parse::RecDescent::_tracefirst($text),
9124 q{path_whole},
9125 $tracelevel)
9126 if defined $::RD_TRACE;
9127 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9128 269 $expectation->is(q{path})->at($text);
9129 269 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::path($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = path($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 269 269
9130 {
9131
9132 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [path]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9133 Parse::RecDescent::_tracefirst($text),
9134 q{path_whole},
9135 $tracelevel)
9136 if defined $::RD_TRACE;
9137 0 $expectation->failed();
9138 0 last;
9139 }
9140 269 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [path]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9141 . $_tok . q{]},
9142  
9143 Parse::RecDescent::_tracefirst($text),
9144 q{path_whole},
9145 $tracelevel)
9146 if defined $::RD_TRACE;
9147 269 $item{q{path}} = $_tok;
9148 269 push @item, $_tok;
9149
9150 }
9151  
9152 269 ▶ Parse::RecDescent::_trace(q{Trying subrule: [eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9153 Parse::RecDescent::_tracefirst($text),
9154 q{path_whole},
9155 $tracelevel)
9156 if defined $::RD_TRACE;
9157 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9158 269 $expectation->is(q{eof})->at($text);
9159 269 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 269 269
9160 {
9161
9162 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [eof]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9163 Parse::RecDescent::_tracefirst($text),
9164 q{path_whole},
9165 $tracelevel)
9166 if defined $::RD_TRACE;
9167 0 $expectation->failed();
9168 0 last;
9169 }
9170 269 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [eof]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9171 . $_tok . q{]},
9172  
9173 Parse::RecDescent::_tracefirst($text),
9174 q{path_whole},
9175 $tracelevel)
9176 if defined $::RD_TRACE;
9177 269 $item{q{eof}} = $_tok;
9178 269 push @item, $_tok;
9179
9180 }
9181  
9182 269 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9183 Parse::RecDescent::_tracefirst($text),
9184 q{path_whole},
9185 $tracelevel)
9186 if defined $::RD_TRACE;
9187
9188  
9189 269 ▶ $_tok = ($_noactions) ? 0 : do { $item{path}; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 269 269
9190 269 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 269 269
9191 {
9192 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9193 if defined $::RD_TRACE;
9194 0 last;
9195 }
9196 269 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9197 . $_tok . q{])},
9198 Parse::RecDescent::_tracefirst($text))
9199 if defined $::RD_TRACE;
9200 269 push @item, $_tok;
9201 269 $item{__ACTION1__}=$_tok;
9202
9203  
9204 269 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> path eof]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 269 269
9205 Parse::RecDescent::_tracefirst($text),
9206 q{path_whole},
9207 $tracelevel)
9208 if defined $::RD_TRACE;
9209  
9210  
9211  
9212 269 $_matched = 1;
9213 269 last;
9214 }
9215  
9216  
9217 269 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 269 269
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
26900
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
9218 {
9219
9220  
9221 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
9222 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9223 Parse::RecDescent::_tracefirst($_[1]),
9224 q{path_whole},
9225 $tracelevel)
9226 if defined $::RD_TRACE;
9227 0 return undef;
9228 }
9229 269 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 269 269
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
02690
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
ABresult
0X0
100
111
9230 {
9231 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9232 q{path_whole},
9233 $tracelevel)
9234 if defined $::RD_TRACE;
9235 0 $return = $score_return;
9236 }
9237 269 splice @{$thisparser->{errors}}, $err_at;
9238 269 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 269 0 269
9239 269 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 269 269
9240 {
9241 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
9242 $return . q{])}, "",
9243 q{path_whole},
9244 $tracelevel);
9245 0 Parse::RecDescent::_trace(q{(consumed: [} .
9246 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
9247 Parse::RecDescent::_tracefirst($text),
9248 , q{path_whole},
9249 $tracelevel)
9250 }
9251 269 $_[1] = $text;
9252 269 return $return;
9253 }
9254  
9255 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
9256 sub Parse::RecDescent::Config::Maker::Grammar::pcomponent
9257 316 ▶{
Subroutine pcomponent: called CC=85 SCAR=54.8
9258 316 my $thisparser = $_[0];
9259 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
9260 316 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3160
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
9261 316 $ERRORS = 0;
9262 316 my $thisrule = $thisparser->{"rules"}{"pcomponent"};
9263  
9264 316 ▶ Parse::RecDescent::_trace(q{Trying rule: [pcomponent]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
9265 Parse::RecDescent::_tracefirst($_[1]),
9266 q{pcomponent},
9267 $tracelevel)
9268 if defined $::RD_TRACE;
9269  
9270
9271 316 my $err_at = @{$thisparser->{errors}};
9272  
9273 316 my $score;
9274 my $score_return;
9275 316 my $_tok;
9276 316 my $return = undef;
9277 316 my $_matched=0;
9278 316 my $commit=0;
9279 316 my @item = ();
9280 316 my %item = ();
9281 316 my $repeating = $_[2];
9282 316 my $_noactions = $_[3];
9283 316 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 316 0 316
9284 316 my $_itempos = $_[5];
9285 316 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 312 4 316
9286 316 my $text;
9287 my $lastsep;
9288 316 my $current_match;
9289 316 my $expectation = new Parse::RecDescent::Expectation(q{glob, or ':'});
9290 316 $expectation->at($_[1]);
9291
9292 316 my $thisline;
9293 316 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
9294  
9295
9296  
9297 316 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 316 0 316
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00316
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9298 {
9299
9300 316 ▶ Parse::RecDescent::_trace(q{Trying production: [glob ':' glob pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
9301 Parse::RecDescent::_tracefirst($_[1]),
9302 q{pcomponent},
9303 $tracelevel)
9304 if defined $::RD_TRACE;
9305 316 my $thisprod = $thisrule->{"prods"}[0];
9306 316 $text = $_[1];
9307 316 my $_savetext;
9308 316 @item = (q{pcomponent});
9309 316 %item = (__RULE__ => q{pcomponent});
9310 316 my $repcount = 0;
9311  
9312  
9313 316 ▶ Parse::RecDescent::_trace(q{Trying subrule: [glob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
9314 Parse::RecDescent::_tracefirst($text),
9315 q{pcomponent},
9316 $tracelevel)
9317 if defined $::RD_TRACE;
9318 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9319 316 $expectation->is(q{})->at($text);
9320 316 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 22 294 316
9321 {
9322
9323 22 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [glob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 22 22
9324 Parse::RecDescent::_tracefirst($text),
9325 q{pcomponent},
9326 $tracelevel)
9327 if defined $::RD_TRACE;
9328 22 $expectation->failed();
9329 22 last;
9330 }
9331 294 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [glob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 294 294
9332 . $_tok . q{]},
9333  
9334 Parse::RecDescent::_tracefirst($text),
9335 q{pcomponent},
9336 $tracelevel)
9337 if defined $::RD_TRACE;
9338 294 $item{q{glob}} = $_tok;
9339 294 push @item, $_tok;
9340
9341 }
9342  
9343 294 ▶ Parse::RecDescent::_trace(q{Trying terminal: [':']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 294 294
9344 Parse::RecDescent::_tracefirst($text),
9345 q{pcomponent},
9346 $tracelevel)
9347 if defined $::RD_TRACE;
9348 294 undef $lastsep;
9349 294 $expectation->is(q{':'})->at($text);
9350
9351  
9352 294 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\:/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/) 292 2 294
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
!ll&&!rl&&r
02922
($lastsep = $1) && ''
!ll
2940
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\:/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
9353 {
9354 292 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 292 0 292
9355
9356 292 $expectation->failed();
9357 292 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9358 Parse::RecDescent::_tracefirst($text))
9359 if defined $::RD_TRACE;
9360 292 last;
9361 }
9362 2 $current_match = substr($text, $-[0], $+[0] - $-[0]);
9363 2 substr($text,0,length($current_match),q{});
9364 2 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9365 . $current_match . q{])},
9366 Parse::RecDescent::_tracefirst($text))
9367 if defined $::RD_TRACE;
9368 2 push @item, $item{__STRING1__}=$current_match;
9369
9370  
9371 2 ▶ Parse::RecDescent::_trace(q{Trying subrule: [glob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9372 Parse::RecDescent::_tracefirst($text),
9373 q{pcomponent},
9374 $tracelevel)
9375 if defined $::RD_TRACE;
9376 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9377 2 $expectation->is(q{glob})->at($text);
9378 2 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 2 2
9379 {
9380
9381 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [glob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9382 Parse::RecDescent::_tracefirst($text),
9383 q{pcomponent},
9384 $tracelevel)
9385 if defined $::RD_TRACE;
9386 0 $expectation->failed();
9387 0 last;
9388 }
9389 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [glob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9390 . $_tok . q{]},
9391  
9392 Parse::RecDescent::_tracefirst($text),
9393 q{pcomponent},
9394 $tracelevel)
9395 if defined $::RD_TRACE;
9396 2 $item{q{glob}} = $_tok;
9397 2 push @item, $_tok;
9398
9399 }
9400  
9401 2 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9402 Parse::RecDescent::_tracefirst($text),
9403 q{pcomponent},
9404 $tracelevel)
9405 if defined $::RD_TRACE;
9406 2 $expectation->is(q{pcondition})->at($text);
9407
9408 2 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions, $expectation, sub { \@arg; } , undef))) 0 2 2
9409 {
9410 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [pcondition]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9411 Parse::RecDescent::_tracefirst($text),
9412 q{pcomponent},
9413 $tracelevel)
9414 if defined $::RD_TRACE;
9415 0 last;
9416 }
9417 2 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [pcondition]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9418 . @$_tok . q{ times)},
9419  
9420 Parse::RecDescent::_tracefirst($text),
9421 q{pcomponent},
9422 $tracelevel)
9423 if defined $::RD_TRACE;
9424 2 $item{q{pcondition(?)}} = $_tok;
9425 2 push @item, $_tok;
9426
9427  
9428  
9429 2 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9430 Parse::RecDescent::_tracefirst($text),
9431 q{pcomponent},
9432 $tracelevel)
9433 if defined $::RD_TRACE;
9434
9435  
9436 2 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 2 2
9437 +{
9438 2 ▶ -type => $item[1],
Branch: 1 branch
BranchTrueFalseTotal
$item[-1][0] ? : 0 2 2
9439 -value => $item[3],
9440 ($item[-1][0] ? (-code => $item[-1][0]) : ())
9441 }
9442 };
9443 2 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 2 2
9444 {
9445 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9446 if defined $::RD_TRACE;
9447 0 last;
9448 }
9449 2 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9450 . $_tok . q{])},
9451 Parse::RecDescent::_tracefirst($text))
9452 if defined $::RD_TRACE;
9453 2 push @item, $_tok;
9454 2 $item{__ACTION1__}=$_tok;
9455
9456  
9457 2 ▶ Parse::RecDescent::_trace(q{>>Matched production: [glob ':' glob pcondition]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
9458 Parse::RecDescent::_tracefirst($text),
9459 q{pcomponent},
9460 $tracelevel)
9461 if defined $::RD_TRACE;
9462  
9463  
9464  
9465 2 $_matched = 1;
9466 2 last;
9467 }
9468  
9469  
9470 316 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 314 2 316
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
20314
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9471 {
9472
9473 314 ▶ Parse::RecDescent::_trace(q{Trying production: [':' glob pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 314 314
9474 Parse::RecDescent::_tracefirst($_[1]),
9475 q{pcomponent},
9476 $tracelevel)
9477 if defined $::RD_TRACE;
9478 314 my $thisprod = $thisrule->{"prods"}[1];
9479 314 $text = $_[1];
9480 314 my $_savetext;
9481 314 @item = (q{pcomponent});
9482 314 %item = (__RULE__ => q{pcomponent});
9483 314 my $repcount = 0;
9484  
9485  
9486 314 ▶ Parse::RecDescent::_trace(q{Trying terminal: [':']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 314 314
9487 Parse::RecDescent::_tracefirst($text),
9488 q{pcomponent},
9489 $tracelevel)
9490 if defined $::RD_TRACE;
9491 314 undef $lastsep;
9492 314 $expectation->is(q{})->at($text);
9493
9494  
9495 314 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\:/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/) 310 4 314
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
!ll&&!rl&&r
03104
($lastsep = $1) && ''
!ll
3140
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\:/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
9496 {
9497 310 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 310 0 310
9498
9499 310 $expectation->failed();
9500 310 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
9501 Parse::RecDescent::_tracefirst($text))
9502 if defined $::RD_TRACE;
9503 310 last;
9504 }
9505 4 $current_match = substr($text, $-[0], $+[0] - $-[0]);
9506 4 substr($text,0,length($current_match),q{});
9507 4 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9508 . $current_match . q{])},
9509 Parse::RecDescent::_tracefirst($text))
9510 if defined $::RD_TRACE;
9511 4 push @item, $item{__STRING1__}=$current_match;
9512
9513  
9514 4 ▶ Parse::RecDescent::_trace(q{Trying subrule: [glob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9515 Parse::RecDescent::_tracefirst($text),
9516 q{pcomponent},
9517 $tracelevel)
9518 if defined $::RD_TRACE;
9519 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9520 4 $expectation->is(q{glob})->at($text);
9521 4 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 4 4
9522 {
9523
9524 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [glob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9525 Parse::RecDescent::_tracefirst($text),
9526 q{pcomponent},
9527 $tracelevel)
9528 if defined $::RD_TRACE;
9529 0 $expectation->failed();
9530 0 last;
9531 }
9532 4 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [glob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9533 . $_tok . q{]},
9534  
9535 Parse::RecDescent::_tracefirst($text),
9536 q{pcomponent},
9537 $tracelevel)
9538 if defined $::RD_TRACE;
9539 4 $item{q{glob}} = $_tok;
9540 4 push @item, $_tok;
9541
9542 }
9543  
9544 4 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9545 Parse::RecDescent::_tracefirst($text),
9546 q{pcomponent},
9547 $tracelevel)
9548 if defined $::RD_TRACE;
9549 4 $expectation->is(q{pcondition})->at($text);
9550
9551 4 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions, $expectation, sub { \@arg; } , undef))) 0 4 4
9552 {
9553 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [pcondition]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9554 Parse::RecDescent::_tracefirst($text),
9555 q{pcomponent},
9556 $tracelevel)
9557 if defined $::RD_TRACE;
9558 0 last;
9559 }
9560 4 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [pcondition]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9561 . @$_tok . q{ times)},
9562  
9563 Parse::RecDescent::_tracefirst($text),
9564 q{pcomponent},
9565 $tracelevel)
9566 if defined $::RD_TRACE;
9567 4 $item{q{pcondition(?)}} = $_tok;
9568 4 push @item, $_tok;
9569
9570  
9571  
9572 4 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9573 Parse::RecDescent::_tracefirst($text),
9574 q{pcomponent},
9575 $tracelevel)
9576 if defined $::RD_TRACE;
9577
9578  
9579 4 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 4 4
9580 +{
9581 4 ▶ -value => $item[2],
Branch: 1 branch
BranchTrueFalseTotal
$item[-1][0] ? : 0 4 4
9582 ($item[-1][0] ? (-code => $item[-1][0]) : ())
9583 }
9584 };
9585 4 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 4 4
9586 {
9587 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9588 if defined $::RD_TRACE;
9589 0 last;
9590 }
9591 4 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9592 . $_tok . q{])},
9593 Parse::RecDescent::_tracefirst($text))
9594 if defined $::RD_TRACE;
9595 4 push @item, $_tok;
9596 4 $item{__ACTION1__}=$_tok;
9597
9598  
9599 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: [':' glob pcondition]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
9600 Parse::RecDescent::_tracefirst($text),
9601 q{pcomponent},
9602 $tracelevel)
9603 if defined $::RD_TRACE;
9604  
9605  
9606  
9607 4 $_matched = 1;
9608 4 last;
9609 }
9610  
9611  
9612 316 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 310 6 316
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
60310
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9613 {
9614
9615 310 ▶ Parse::RecDescent::_trace(q{Trying production: [glob pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
9616 Parse::RecDescent::_tracefirst($_[1]),
9617 q{pcomponent},
9618 $tracelevel)
9619 if defined $::RD_TRACE;
9620 310 my $thisprod = $thisrule->{"prods"}[2];
9621 310 $text = $_[1];
9622 310 my $_savetext;
9623 310 @item = (q{pcomponent});
9624 310 %item = (__RULE__ => q{pcomponent});
9625 310 my $repcount = 0;
9626  
9627  
9628 310 ▶ Parse::RecDescent::_trace(q{Trying subrule: [glob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
9629 Parse::RecDescent::_tracefirst($text),
9630 q{pcomponent},
9631 $tracelevel)
9632 if defined $::RD_TRACE;
9633 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9634 310 $expectation->is(q{})->at($text);
9635 310 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::glob($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 18 292 310
9636 {
9637
9638 18 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [glob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
9639 Parse::RecDescent::_tracefirst($text),
9640 q{pcomponent},
9641 $tracelevel)
9642 if defined $::RD_TRACE;
9643 18 $expectation->failed();
9644 18 last;
9645 }
9646 292 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [glob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9647 . $_tok . q{]},
9648  
9649 Parse::RecDescent::_tracefirst($text),
9650 q{pcomponent},
9651 $tracelevel)
9652 if defined $::RD_TRACE;
9653 292 $item{q{glob}} = $_tok;
9654 292 push @item, $_tok;
9655
9656 }
9657  
9658 292 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9659 Parse::RecDescent::_tracefirst($text),
9660 q{pcomponent},
9661 $tracelevel)
9662 if defined $::RD_TRACE;
9663 292 $expectation->is(q{pcondition})->at($text);
9664
9665 292 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::pcondition, 0, 1, $_noactions, $expectation, sub { \@arg; } , undef))) 0 292 292
9666 {
9667 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [pcondition]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9668 Parse::RecDescent::_tracefirst($text),
9669 q{pcomponent},
9670 $tracelevel)
9671 if defined $::RD_TRACE;
9672 0 last;
9673 }
9674 292 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [pcondition]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9675 . @$_tok . q{ times)},
9676  
9677 Parse::RecDescent::_tracefirst($text),
9678 q{pcomponent},
9679 $tracelevel)
9680 if defined $::RD_TRACE;
9681 292 $item{q{pcondition(?)}} = $_tok;
9682 292 push @item, $_tok;
9683
9684  
9685  
9686 292 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9687 Parse::RecDescent::_tracefirst($text),
9688 q{pcomponent},
9689 $tracelevel)
9690 if defined $::RD_TRACE;
9691
9692  
9693 292 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 292 292
9694 +{
9695 292 ▶ -type => $item[1],
Branch: 1 branch
BranchTrueFalseTotal
$item[-1][0] ? : 6 286 292
9696 ($item[-1][0] ? (-code => $item[-1][0]) : ())
9697 }
9698 };
9699 292 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 292 292
9700 {
9701 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9702 if defined $::RD_TRACE;
9703 0 last;
9704 }
9705 292 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9706 . $_tok . q{])},
9707 Parse::RecDescent::_tracefirst($text))
9708 if defined $::RD_TRACE;
9709 292 push @item, $_tok;
9710 292 $item{__ACTION1__}=$_tok;
9711
9712  
9713 292 ▶ Parse::RecDescent::_trace(q{>>Matched production: [glob pcondition]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9714 Parse::RecDescent::_tracefirst($text),
9715 q{pcomponent},
9716 $tracelevel)
9717 if defined $::RD_TRACE;
9718  
9719  
9720  
9721 292 $_matched = 1;
9722 292 last;
9723 }
9724  
9725  
9726 316 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 18 298 316
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
298018
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
9727 {
9728
9729  
9730 18 $_[1] = $text; # NOT SURE THIS IS NEEDED
9731 18 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
9732 Parse::RecDescent::_tracefirst($_[1]),
9733 q{pcomponent},
9734 $tracelevel)
9735 if defined $::RD_TRACE;
9736 18 return undef;
9737 }
9738 298 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 298 298
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
02980
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
ABresult
0X0
100
111
9739 {
9740 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9741 q{pcomponent},
9742 $tracelevel)
9743 if defined $::RD_TRACE;
9744 0 $return = $score_return;
9745 }
9746 298 splice @{$thisparser->{errors}}, $err_at;
9747 298 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 298 0 298
9748 298 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 298 298
9749 {
9750 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
9751 $return . q{])}, "",
9752 q{pcomponent},
9753 $tracelevel);
9754 0 Parse::RecDescent::_trace(q{(consumed: [} .
9755 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
9756 Parse::RecDescent::_tracefirst($text),
9757 , q{pcomponent},
9758 $tracelevel)
9759 }
9760 298 $_[1] = $text;
9761 298 return $return;
9762 }
9763  
9764 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
9765 sub Parse::RecDescent::Config::Maker::Grammar::pcondition
9766 298 ▶{
Subroutine pcondition: called CC=21 SCAR=32.3
9767 298 my $thisparser = $_[0];
9768 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
9769 298 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
2980
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
9770 298 $ERRORS = 0;
9771 298 my $thisrule = $thisparser->{"rules"}{"pcondition"};
9772  
9773 298 ▶ Parse::RecDescent::_trace(q{Trying rule: [pcondition]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
9774 Parse::RecDescent::_tracefirst($_[1]),
9775 q{pcondition},
9776 $tracelevel)
9777 if defined $::RD_TRACE;
9778  
9779
9780 298 my $err_at = @{$thisparser->{errors}};
9781  
9782 298 my $score;
9783 my $score_return;
9784 298 my $_tok;
9785 298 my $return = undef;
9786 298 my $_matched=0;
9787 298 my $commit=0;
9788 298 my @item = ();
9789 298 my %item = ();
9790 298 my $repeating = $_[2];
9791 298 my $_noactions = $_[3];
9792 298 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 298 0 298
9793 298 my $_itempos = $_[5];
9794 298 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 294 4 298
9795 298 my $text;
9796 my $lastsep;
9797 298 my $current_match;
9798 298 my $expectation = new Parse::RecDescent::Expectation(q{perl_codeblock});
9799 298 $expectation->at($_[1]);
9800
9801 298 my $thisline;
9802 298 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
9803  
9804
9805  
9806 298 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 298 0 298
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00298
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9807 {
9808
9809 298 ▶ Parse::RecDescent::_trace(q{Trying production: [perl_codeblock]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
9810 Parse::RecDescent::_tracefirst($_[1]),
9811 q{pcondition},
9812 $tracelevel)
9813 if defined $::RD_TRACE;
9814 298 my $thisprod = $thisrule->{"prods"}[0];
9815 298 $text = $_[1];
9816 298 my $_savetext;
9817 298 @item = (q{pcondition});
9818 298 %item = (__RULE__ => q{pcondition});
9819 298 my $repcount = 0;
9820  
9821  
9822 298 ▶ Parse::RecDescent::_trace(q{Trying subrule: [perl_codeblock]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
9823 Parse::RecDescent::_tracefirst($text),
9824 q{pcondition},
9825 $tracelevel)
9826 if defined $::RD_TRACE;
9827 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
9828 298 $expectation->is(q{})->at($text);
9829 298 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::perl_codeblock($thisparser,$text,$repeating,$_noactions,sub { return ['()'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = perl_codeblock($thisparser, $text, $repeating, $_noactions, sub { return ["()"]; } , undef))) 292 6 298
9830 {
9831
9832 292 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [perl_codeblock]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9833 Parse::RecDescent::_tracefirst($text),
9834 q{pcondition},
9835 $tracelevel)
9836 if defined $::RD_TRACE;
9837 292 $expectation->failed();
9838 292 last;
9839 }
9840 6 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [perl_codeblock]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
9841 . $_tok . q{]},
9842  
9843 Parse::RecDescent::_tracefirst($text),
9844 q{pcondition},
9845 $tracelevel)
9846 if defined $::RD_TRACE;
9847 6 $item{q{perl_codeblock}} = $_tok;
9848 6 push @item, $_tok;
9849
9850 }
9851  
9852 6 ▶ Parse::RecDescent::_trace(q{>>Matched production: [perl_codeblock]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 6 6
9853 Parse::RecDescent::_tracefirst($text),
9854 q{pcondition},
9855 $tracelevel)
9856 if defined $::RD_TRACE;
9857  
9858  
9859  
9860 6 $_matched = 1;
9861 6 last;
9862 }
9863  
9864  
9865 298 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 292 6 298
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
60292
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
9866 {
9867
9868  
9869 292 $_[1] = $text; # NOT SURE THIS IS NEEDED
9870 292 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 292 292
9871 Parse::RecDescent::_tracefirst($_[1]),
9872 q{pcondition},
9873 $tracelevel)
9874 if defined $::RD_TRACE;
9875 292 return undef;
9876 }
9877 6 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 6 6
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
060
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
ABresult
0X0
100
111
9878 {
9879 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
9880 q{pcondition},
9881 $tracelevel)
9882 if defined $::RD_TRACE;
9883 0 $return = $score_return;
9884 }
9885 6 splice @{$thisparser->{errors}}, $err_at;
9886 6 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 6 0 6
9887 6 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 6 6
9888 {
9889 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
9890 $return . q{])}, "",
9891 q{pcondition},
9892 $tracelevel);
9893 0 Parse::RecDescent::_trace(q{(consumed: [} .
9894 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
9895 Parse::RecDescent::_tracefirst($text),
9896 , q{pcondition},
9897 $tracelevel)
9898 }
9899 6 $_[1] = $text;
9900 6 return $return;
9901 }
9902  
9903 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
9904 sub Parse::RecDescent::Config::Maker::Grammar::perl_codeblock
9905 331 ▶{
Subroutine perl_codeblock: called CC=22 SCAR=33.5
9906 331 my $thisparser = $_[0];
9907 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
9908 331 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3310
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
9909 331 $ERRORS = 0;
9910 331 my $thisrule = $thisparser->{"rules"}{"perl_codeblock"};
9911  
9912 331 ▶ Parse::RecDescent::_trace(q{Trying rule: [perl_codeblock]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 331 331
9913 Parse::RecDescent::_tracefirst($_[1]),
9914 q{perl_codeblock},
9915 $tracelevel)
9916 if defined $::RD_TRACE;
9917  
9918
9919 331 my $err_at = @{$thisparser->{errors}};
9920  
9921 331 my $score;
9922 my $score_return;
9923 331 my $_tok;
9924 331 my $return = undef;
9925 331 my $_matched=0;
9926 331 my $commit=0;
9927 331 my @item = ();
9928 331 my %item = ();
9929 331 my $repeating = $_[2];
9930 331 my $_noactions = $_[3];
9931 331 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 331 0 331
9932 331 my $_itempos = $_[5];
9933 331 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 331 331
9934 331 my $text;
9935 my $lastsep;
9936 331 my $current_match;
9937 331 my $expectation = new Parse::RecDescent::Expectation(q{});
9938 331 $expectation->at($_[1]);
9939
9940 331 my $thisline;
9941 331 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
9942  
9943
9944  
9945 331 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 331 0 331
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00331
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
9946 {
9947
9948 331 ▶ Parse::RecDescent::_trace(q{Trying production: []},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 331 331
9949 Parse::RecDescent::_tracefirst($_[1]),
9950 q{perl_codeblock},
9951 $tracelevel)
9952 if defined $::RD_TRACE;
9953 331 my $thisprod = $thisrule->{"prods"}[0];
9954 331 $text = $_[1];
9955 331 my $_savetext;
9956 331 @item = (q{perl_codeblock});
9957 331 %item = (__RULE__ => q{perl_codeblock});
9958 331 my $repcount = 0;
9959  
9960  
9961 331 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 331 331
9962 Parse::RecDescent::_tracefirst($text),
9963 q{perl_codeblock},
9964 $tracelevel)
9965 if defined $::RD_TRACE;
9966
9967  
9968 331 ▶ $_tok = ($_noactions) ? 0 : do { Text::Balanced::extract_codeblock($text, '{}()[]', $skip, $arg[0]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 331 331
9969 331 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 321 10 331
9970 {
9971 321 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 321 321
9972 if defined $::RD_TRACE;
9973 321 last;
9974 }
9975 10 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 10 10
9976 . $_tok . q{])},
9977 Parse::RecDescent::_tracefirst($text))
9978 if defined $::RD_TRACE;
9979 10 push @item, $_tok;
9980 10 $item{__ACTION1__}=$_tok;
9981
9982  
9983 10 ▶ Parse::RecDescent::_trace(q{>>Matched production: []<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 10 10
9984 Parse::RecDescent::_tracefirst($text),
9985 q{perl_codeblock},
9986 $tracelevel)
9987 if defined $::RD_TRACE;
9988  
9989  
9990  
9991 10 $_matched = 1;
9992 10 last;
9993 }
9994  
9995  
9996 331 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 321 10 331
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
100321
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
9997 {
9998
9999  
10000 321 $_[1] = $text; # NOT SURE THIS IS NEEDED
10001 321 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 321 321
10002 Parse::RecDescent::_tracefirst($_[1]),
10003 q{perl_codeblock},
10004 $tracelevel)
10005 if defined $::RD_TRACE;
10006 321 return undef;
10007 }
10008 10 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 10 10
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0100
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
ABresult
0X0
100
111
10009 {
10010 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10011 q{perl_codeblock},
10012 $tracelevel)
10013 if defined $::RD_TRACE;
10014 0 $return = $score_return;
10015 }
10016 10 splice @{$thisparser->{errors}}, $err_at;
10017 10 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 10 0 10
10018 10 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 10 10
10019 {
10020 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
10021 $return . q{])}, "",
10022 q{perl_codeblock},
10023 $tracelevel);
10024 0 Parse::RecDescent::_trace(q{(consumed: [} .
10025 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
10026 Parse::RecDescent::_tracefirst($text),
10027 , q{perl_codeblock},
10028 $tracelevel)
10029 }
10030 10 $_[1] = $text;
10031 10 return $return;
10032 }
10033  
10034 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
10035 sub Parse::RecDescent::Config::Maker::Grammar::ptail
10036 310 ▶{
Subroutine ptail: called CC=39 SCAR=43.6
10037 310 my $thisparser = $_[0];
10038 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
10039 310 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3100
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
10040 310 $ERRORS = 0;
10041 310 my $thisrule = $thisparser->{"rules"}{"ptail"};
10042  
10043 310 ▶ Parse::RecDescent::_trace(q{Trying rule: [ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
10044 Parse::RecDescent::_tracefirst($_[1]),
10045 q{ptail},
10046 $tracelevel)
10047 if defined $::RD_TRACE;
10048  
10049
10050 310 my $err_at = @{$thisparser->{errors}};
10051  
10052 310 my $score;
10053 my $score_return;
10054 310 my $_tok;
10055 310 my $return = undef;
10056 310 my $_matched=0;
10057 310 my $commit=0;
10058 310 my @item = ();
10059 310 my %item = ();
10060 310 my $repeating = $_[2];
10061 310 my $_noactions = $_[3];
10062 310 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 310 0 310
10063 310 my $_itempos = $_[5];
10064 310 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 306 4 310
10065 310 my $text;
10066 my $lastsep;
10067 310 my $current_match;
10068 310 my $expectation = new Parse::RecDescent::Expectation(q{separator});
10069 310 $expectation->at($_[1]);
10070
10071 310 my $thisline;
10072 310 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
10073  
10074
10075  
10076 310 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 310 0 310
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00310
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10077 {
10078
10079 310 ▶ Parse::RecDescent::_trace(q{Trying production: [separator relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
10080 Parse::RecDescent::_tracefirst($_[1]),
10081 q{ptail},
10082 $tracelevel)
10083 if defined $::RD_TRACE;
10084 310 my $thisprod = $thisrule->{"prods"}[0];
10085 310 $text = $_[1];
10086 310 my $_savetext;
10087 310 @item = (q{ptail});
10088 310 %item = (__RULE__ => q{ptail});
10089 310 my $repcount = 0;
10090  
10091  
10092 310 ▶ Parse::RecDescent::_trace(q{Trying subrule: [separator]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 310 310
10093 Parse::RecDescent::_tracefirst($text),
10094 q{ptail},
10095 $tracelevel)
10096 if defined $::RD_TRACE;
10097 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10098 310 $expectation->is(q{})->at($text);
10099 310 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::separator($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = separator($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 284 26 310
10100 {
10101
10102 284 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [separator]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 284 284
10103 Parse::RecDescent::_tracefirst($text),
10104 q{ptail},
10105 $tracelevel)
10106 if defined $::RD_TRACE;
10107 284 $expectation->failed();
10108 284 last;
10109 }
10110 26 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [separator]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10111 . $_tok . q{]},
10112  
10113 Parse::RecDescent::_tracefirst($text),
10114 q{ptail},
10115 $tracelevel)
10116 if defined $::RD_TRACE;
10117 26 $item{q{separator}} = $_tok;
10118 26 push @item, $_tok;
10119
10120 }
10121  
10122 26 ▶ Parse::RecDescent::_trace(q{Trying subrule: [relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10123 Parse::RecDescent::_tracefirst($text),
10124 q{ptail},
10125 $tracelevel)
10126 if defined $::RD_TRACE;
10127 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10128 26 $expectation->is(q{relpath})->at($text);
10129 26 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::relpath($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = relpath($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 26 26
10130 {
10131
10132 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [relpath]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10133 Parse::RecDescent::_tracefirst($text),
10134 q{ptail},
10135 $tracelevel)
10136 if defined $::RD_TRACE;
10137 0 $expectation->failed();
10138 0 last;
10139 }
10140 26 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [relpath]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10141 . $_tok . q{]},
10142  
10143 Parse::RecDescent::_tracefirst($text),
10144 q{ptail},
10145 $tracelevel)
10146 if defined $::RD_TRACE;
10147 26 $item{q{relpath}} = $_tok;
10148 26 push @item, $_tok;
10149
10150 }
10151  
10152 26 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10153 Parse::RecDescent::_tracefirst($text),
10154 q{ptail},
10155 $tracelevel)
10156 if defined $::RD_TRACE;
10157
10158  
10159 26 ▶ $_tok = ($_noactions) ? 0 : do { [-tail => $item{relpath}] };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 26 26
10160 26 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 26 26
10161 {
10162 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10163 if defined $::RD_TRACE;
10164 0 last;
10165 }
10166 26 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10167 . $_tok . q{])},
10168 Parse::RecDescent::_tracefirst($text))
10169 if defined $::RD_TRACE;
10170 26 push @item, $_tok;
10171 26 $item{__ACTION1__}=$_tok;
10172
10173  
10174 26 ▶ Parse::RecDescent::_trace(q{>>Matched production: [separator relpath]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 26 26
10175 Parse::RecDescent::_tracefirst($text),
10176 q{ptail},
10177 $tracelevel)
10178 if defined $::RD_TRACE;
10179  
10180  
10181  
10182 26 $_matched = 1;
10183 26 last;
10184 }
10185  
10186  
10187 310 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 284 26 310
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
260284
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10188 {
10189
10190 284 ▶ Parse::RecDescent::_trace(q{Trying production: []},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 284 284
10191 Parse::RecDescent::_tracefirst($_[1]),
10192 q{ptail},
10193 $tracelevel)
10194 if defined $::RD_TRACE;
10195 284 my $thisprod = $thisrule->{"prods"}[1];
10196 284 $text = $_[1];
10197 284 my $_savetext;
10198 284 @item = (q{ptail});
10199 284 %item = (__RULE__ => q{ptail});
10200 284 my $repcount = 0;
10201  
10202  
10203 284 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 284 284
10204 Parse::RecDescent::_tracefirst($text),
10205 q{ptail},
10206 $tracelevel)
10207 if defined $::RD_TRACE;
10208
10209  
10210 284 ▶ $_tok = ($_noactions) ? 0 : do { []; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 284 284
10211 284 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 284 284
10212 {
10213 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10214 if defined $::RD_TRACE;
10215 0 last;
10216 }
10217 284 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 284 284
10218 . $_tok . q{])},
10219 Parse::RecDescent::_tracefirst($text))
10220 if defined $::RD_TRACE;
10221 284 push @item, $_tok;
10222 284 $item{__ACTION1__}=$_tok;
10223
10224  
10225 284 ▶ Parse::RecDescent::_trace(q{>>Matched production: []<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 284 284
10226 Parse::RecDescent::_tracefirst($text),
10227 q{ptail},
10228 $tracelevel)
10229 if defined $::RD_TRACE;
10230  
10231  
10232  
10233 284 $_matched = 1;
10234 284 last;
10235 }
10236  
10237  
10238 310 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 310 310
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
31000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
10239 {
10240
10241  
10242 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
10243 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10244 Parse::RecDescent::_tracefirst($_[1]),
10245 q{ptail},
10246 $tracelevel)
10247 if defined $::RD_TRACE;
10248 0 return undef;
10249 }
10250 310 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 310 310
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
03100
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
ABresult
0X0
100
111
10251 {
10252 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10253 q{ptail},
10254 $tracelevel)
10255 if defined $::RD_TRACE;
10256 0 $return = $score_return;
10257 }
10258 310 splice @{$thisparser->{errors}}, $err_at;
10259 310 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 310 0 310
10260 310 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 310 310
10261 {
10262 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
10263 $return . q{])}, "",
10264 q{ptail},
10265 $tracelevel);
10266 0 Parse::RecDescent::_trace(q{(consumed: [} .
10267 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
10268 Parse::RecDescent::_tracefirst($text),
10269 , q{ptail},
10270 $tracelevel)
10271 }
10272 310 $_[1] = $text;
10273 310 return $return;
10274 }
10275  
10276 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
10277 sub Parse::RecDescent::Config::Maker::Grammar::real
10278 0 ▶{
Subroutine real: not called CC=29 SCAR=67.0
10279 0 my $thisparser = $_[0];
10280 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
10281 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
10282 0 $ERRORS = 0;
10283 0 my $thisrule = $thisparser->{"rules"}{"real"};
10284  
10285 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [real]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10286 Parse::RecDescent::_tracefirst($_[1]),
10287 q{real},
10288 $tracelevel)
10289 if defined $::RD_TRACE;
10290  
10291
10292 0 my $err_at = @{$thisparser->{errors}};
10293  
10294 0 my $score;
10295 my $score_return;
10296 0 my $_tok;
10297 0 my $return = undef;
10298 0 my $_matched=0;
10299 0 my $commit=0;
10300 0 my @item = ();
10301 0 my %item = ();
10302 0 my $repeating = $_[2];
10303 0 my $_noactions = $_[3];
10304 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
10305 0 my $_itempos = $_[5];
10306 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
10307 0 my $text;
10308 my $lastsep;
10309 0 my $current_match;
10310 0 my $expectation = new Parse::RecDescent::Expectation(q{/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)(e\\d+)?/});
10311 0 $expectation->at($_[1]);
10312
10313 0 my $thisline;
10314 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
10315  
10316
10317  
10318 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10319 {
10320
10321 0 ▶ Parse::RecDescent::_trace(q{Trying production: [/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)(e\\d+)?/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10322 Parse::RecDescent::_tracefirst($_[1]),
10323 q{real},
10324 $tracelevel)
10325 if defined $::RD_TRACE;
10326 0 my $thisprod = $thisrule->{"prods"}[0];
10327 0 $text = $_[1];
10328 0 my $_savetext;
10329 0 @item = (q{real});
10330 0 %item = (__RULE__ => q{real});
10331 0 my $repcount = 0;
10332  
10333  
10334 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)(e\\d+)?/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10335 q{real},
10336 $tracelevel)
10337 if defined $::RD_TRACE;
10338 0 undef $lastsep;
10339 0 $expectation->is(q{})->at($text);
10340
10341  
10342 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[+-]?(\d+(\.\d*)?|\.\d+)(e\d+)?)/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
10343 {
10344 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
10345 0 $expectation->failed();
10346 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10347 Parse::RecDescent::_tracefirst($text))
10348 if defined $::RD_TRACE;
10349  
10350 0 last;
10351 }
10352 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
10353 0 substr($text,0,length($current_match),q{});
10354 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10355 . $current_match . q{])},
10356 Parse::RecDescent::_tracefirst($text))
10357 if defined $::RD_TRACE;
10358 0 push @item, $item{__PATTERN1__}=$current_match;
10359
10360  
10361 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10362 Parse::RecDescent::_tracefirst($text),
10363 q{real},
10364 $tracelevel)
10365 if defined $::RD_TRACE;
10366
10367  
10368 0 ▶ $_tok = ($_noactions) ? 0 : do { 0 + $item[1]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
10369 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
10370 {
10371 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10372 if defined $::RD_TRACE;
10373 0 last;
10374 }
10375 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10376 . $_tok . q{])},
10377 Parse::RecDescent::_tracefirst($text))
10378 if defined $::RD_TRACE;
10379 0 push @item, $_tok;
10380 0 $item{__ACTION1__}=$_tok;
10381
10382  
10383 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[+-]?(\\d+(\\.\\d*)?|\\.\\d+)(e\\d+)?/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10384 Parse::RecDescent::_tracefirst($text),
10385 q{real},
10386 $tracelevel)
10387 if defined $::RD_TRACE;
10388  
10389  
10390  
10391 0 $_matched = 1;
10392 0 last;
10393 }
10394  
10395  
10396 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
10397 {
10398
10399  
10400 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
10401 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10402 Parse::RecDescent::_tracefirst($_[1]),
10403 q{real},
10404 $tracelevel)
10405 if defined $::RD_TRACE;
10406 0 return undef;
10407 }
10408 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
10409 {
10410 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10411 q{real},
10412 $tracelevel)
10413 if defined $::RD_TRACE;
10414 0 $return = $score_return;
10415 }
10416 0 splice @{$thisparser->{errors}}, $err_at;
10417 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
10418 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
10419 {
10420 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
10421 $return . q{])}, "",
10422 q{real},
10423 $tracelevel);
10424 0 Parse::RecDescent::_trace(q{(consumed: [} .
10425 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
10426 Parse::RecDescent::_tracefirst($text),
10427 , q{real},
10428 $tracelevel)
10429 }
10430 0 $_[1] = $text;
10431 0 return $return;
10432 }
10433  
10434 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
10435 sub Parse::RecDescent::Config::Maker::Grammar::relpath
10436 328 ▶{
Subroutine relpath: called CC=81 SCAR=58.1
10437 328 my $thisparser = $_[0];
10438 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
10439 328 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3280
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
10440 328 $ERRORS = 0;
10441 328 my $thisrule = $thisparser->{"rules"}{"relpath"};
10442  
10443 328 ▶ Parse::RecDescent::_trace(q{Trying rule: [relpath]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 328 328
10444 Parse::RecDescent::_tracefirst($_[1]),
10445 q{relpath},
10446 $tracelevel)
10447 if defined $::RD_TRACE;
10448  
10449
10450 328 my $err_at = @{$thisparser->{errors}};
10451  
10452 328 my $score;
10453 my $score_return;
10454 328 my $_tok;
10455 328 my $return = undef;
10456 328 my $_matched=0;
10457 328 my $commit=0;
10458 328 my @item = ();
10459 328 my %item = ();
10460 328 my $repeating = $_[2];
10461 328 my $_noactions = $_[3];
10462 328 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 328 0 328
10463 328 my $_itempos = $_[5];
10464 328 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 324 4 328
10465 328 my $text;
10466 my $lastsep;
10467 328 my $current_match;
10468 328 my $expectation = new Parse::RecDescent::Expectation(q{nonglob, or pcomponent});
10469 328 $expectation->at($_[1]);
10470
10471 328 my $thisline;
10472 328 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
10473  
10474
10475  
10476 328 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 328 0 328
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00328
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10477 {
10478
10479 328 ▶ Parse::RecDescent::_trace(q{Trying production: [nonglob ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 328 328
10480 Parse::RecDescent::_tracefirst($_[1]),
10481 q{relpath},
10482 $tracelevel)
10483 if defined $::RD_TRACE;
10484 328 my $thisprod = $thisrule->{"prods"}[0];
10485 328 $text = $_[1];
10486 328 my $_savetext;
10487 328 @item = (q{relpath});
10488 328 %item = (__RULE__ => q{relpath});
10489 328 my $repcount = 0;
10490  
10491  
10492 328 ▶ Parse::RecDescent::_trace(q{Trying subrule: [nonglob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 328 328
10493 Parse::RecDescent::_tracefirst($text),
10494 q{relpath},
10495 $tracelevel)
10496 if defined $::RD_TRACE;
10497 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10498 328 $expectation->is(q{})->at($text);
10499 328 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::nonglob($thisparser,$text,$repeating,$_noactions,sub { return ['**'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = nonglob($thisparser, $text, $repeating, $_noactions, sub { return ["**"]; } , undef))) 317 11 328
10500 {
10501
10502 317 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [nonglob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 317 317
10503 Parse::RecDescent::_tracefirst($text),
10504 q{relpath},
10505 $tracelevel)
10506 if defined $::RD_TRACE;
10507 317 $expectation->failed();
10508 317 last;
10509 }
10510 11 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [nonglob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10511 . $_tok . q{]},
10512  
10513 Parse::RecDescent::_tracefirst($text),
10514 q{relpath},
10515 $tracelevel)
10516 if defined $::RD_TRACE;
10517 11 $item{q{nonglob}} = $_tok;
10518 11 push @item, $_tok;
10519
10520 }
10521  
10522 11 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10523 Parse::RecDescent::_tracefirst($text),
10524 q{relpath},
10525 $tracelevel)
10526 if defined $::RD_TRACE;
10527 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10528 11 $expectation->is(q{ptail})->at($text);
10529 11 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ptail($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ptail($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 11 11
10530 {
10531
10532 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ptail]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10533 Parse::RecDescent::_tracefirst($text),
10534 q{relpath},
10535 $tracelevel)
10536 if defined $::RD_TRACE;
10537 0 $expectation->failed();
10538 0 last;
10539 }
10540 11 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ptail]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10541 . $_tok . q{]},
10542  
10543 Parse::RecDescent::_tracefirst($text),
10544 q{relpath},
10545 $tracelevel)
10546 if defined $::RD_TRACE;
10547 11 $item{q{ptail}} = $_tok;
10548 11 push @item, $_tok;
10549
10550 }
10551  
10552 11 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10553 Parse::RecDescent::_tracefirst($text),
10554 q{relpath},
10555 $tracelevel)
10556 if defined $::RD_TRACE;
10557
10558  
10559 11 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 11 11
10560 11 new Config::Maker::Path::AnyPath(@{$item[-1]});
10561 };
10562 11 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 11 11
10563 {
10564 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10565 if defined $::RD_TRACE;
10566 0 last;
10567 }
10568 11 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10569 . $_tok . q{])},
10570 Parse::RecDescent::_tracefirst($text))
10571 if defined $::RD_TRACE;
10572 11 push @item, $_tok;
10573 11 $item{__ACTION1__}=$_tok;
10574
10575  
10576 11 ▶ Parse::RecDescent::_trace(q{>>Matched production: [nonglob ptail]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 11 11
10577 Parse::RecDescent::_tracefirst($text),
10578 q{relpath},
10579 $tracelevel)
10580 if defined $::RD_TRACE;
10581  
10582  
10583  
10584 11 $_matched = 1;
10585 11 last;
10586 }
10587  
10588  
10589 328 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 317 11 328
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
110317
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10590 {
10591
10592 317 ▶ Parse::RecDescent::_trace(q{Trying production: [nonglob ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 317 317
10593 Parse::RecDescent::_tracefirst($_[1]),
10594 q{relpath},
10595 $tracelevel)
10596 if defined $::RD_TRACE;
10597 317 my $thisprod = $thisrule->{"prods"}[1];
10598 317 $text = $_[1];
10599 317 my $_savetext;
10600 317 @item = (q{relpath});
10601 317 %item = (__RULE__ => q{relpath});
10602 317 my $repcount = 0;
10603  
10604  
10605 317 ▶ Parse::RecDescent::_trace(q{Trying subrule: [nonglob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 317 317
10606 Parse::RecDescent::_tracefirst($text),
10607 q{relpath},
10608 $tracelevel)
10609 if defined $::RD_TRACE;
10610 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10611 317 $expectation->is(q{})->at($text);
10612 317 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::nonglob($thisparser,$text,$repeating,$_noactions,sub { return ['..'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = nonglob($thisparser, $text, $repeating, $_noactions, sub { return [".."]; } , undef))) 316 1 317
10613 {
10614
10615 316 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [nonglob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10616 Parse::RecDescent::_tracefirst($text),
10617 q{relpath},
10618 $tracelevel)
10619 if defined $::RD_TRACE;
10620 316 $expectation->failed();
10621 316 last;
10622 }
10623 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [nonglob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10624 . $_tok . q{]},
10625  
10626 Parse::RecDescent::_tracefirst($text),
10627 q{relpath},
10628 $tracelevel)
10629 if defined $::RD_TRACE;
10630 1 $item{q{nonglob}} = $_tok;
10631 1 push @item, $_tok;
10632
10633 }
10634  
10635 1 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10636 Parse::RecDescent::_tracefirst($text),
10637 q{relpath},
10638 $tracelevel)
10639 if defined $::RD_TRACE;
10640 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10641 1 $expectation->is(q{ptail})->at($text);
10642 1 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ptail($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ptail($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 1 1
10643 {
10644
10645 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ptail]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10646 Parse::RecDescent::_tracefirst($text),
10647 q{relpath},
10648 $tracelevel)
10649 if defined $::RD_TRACE;
10650 0 $expectation->failed();
10651 0 last;
10652 }
10653 1 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ptail]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10654 . $_tok . q{]},
10655  
10656 Parse::RecDescent::_tracefirst($text),
10657 q{relpath},
10658 $tracelevel)
10659 if defined $::RD_TRACE;
10660 1 $item{q{ptail}} = $_tok;
10661 1 push @item, $_tok;
10662
10663 }
10664  
10665 1 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10666 Parse::RecDescent::_tracefirst($text),
10667 q{relpath},
10668 $tracelevel)
10669 if defined $::RD_TRACE;
10670
10671  
10672 1 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 1 1
10673 1 new Config::Maker::Path::Parent(@{$item[-1]});
10674 };
10675 1 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 1 1
10676 {
10677 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10678 if defined $::RD_TRACE;
10679 0 last;
10680 }
10681 1 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10682 . $_tok . q{])},
10683 Parse::RecDescent::_tracefirst($text))
10684 if defined $::RD_TRACE;
10685 1 push @item, $_tok;
10686 1 $item{__ACTION1__}=$_tok;
10687
10688  
10689 1 ▶ Parse::RecDescent::_trace(q{>>Matched production: [nonglob ptail]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1 1
10690 Parse::RecDescent::_tracefirst($text),
10691 q{relpath},
10692 $tracelevel)
10693 if defined $::RD_TRACE;
10694  
10695  
10696  
10697 1 $_matched = 1;
10698 1 last;
10699 }
10700  
10701  
10702 328 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 316 12 328
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
120316
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10703 {
10704
10705 316 ▶ Parse::RecDescent::_trace(q{Trying production: [nonglob ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10706 Parse::RecDescent::_tracefirst($_[1]),
10707 q{relpath},
10708 $tracelevel)
10709 if defined $::RD_TRACE;
10710 316 my $thisprod = $thisrule->{"prods"}[2];
10711 316 $text = $_[1];
10712 316 my $_savetext;
10713 316 @item = (q{relpath});
10714 316 %item = (__RULE__ => q{relpath});
10715 316 my $repcount = 0;
10716  
10717  
10718 316 ▶ Parse::RecDescent::_trace(q{Trying subrule: [nonglob]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10719 Parse::RecDescent::_tracefirst($text),
10720 q{relpath},
10721 $tracelevel)
10722 if defined $::RD_TRACE;
10723 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10724 316 $expectation->is(q{})->at($text);
10725 316 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::nonglob($thisparser,$text,$repeating,$_noactions,sub { return ['.'] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = nonglob($thisparser, $text, $repeating, $_noactions, sub { return ["."]; } , undef))) 316 0 316
10726 {
10727
10728 316 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [nonglob]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10729 Parse::RecDescent::_tracefirst($text),
10730 q{relpath},
10731 $tracelevel)
10732 if defined $::RD_TRACE;
10733 316 $expectation->failed();
10734 316 last;
10735 }
10736 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [nonglob]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10737 . $_tok . q{]},
10738  
10739 Parse::RecDescent::_tracefirst($text),
10740 q{relpath},
10741 $tracelevel)
10742 if defined $::RD_TRACE;
10743 0 $item{q{nonglob}} = $_tok;
10744 0 push @item, $_tok;
10745
10746 }
10747  
10748 0 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10749 Parse::RecDescent::_tracefirst($text),
10750 q{relpath},
10751 $tracelevel)
10752 if defined $::RD_TRACE;
10753 0 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.2
10754 0 $expectation->is(q{ptail})->at($text);
10755 0 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ptail($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ptail($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 0 0
10756 {
10757
10758 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ptail]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10759 Parse::RecDescent::_tracefirst($text),
10760 q{relpath},
10761 $tracelevel)
10762 if defined $::RD_TRACE;
10763 0 $expectation->failed();
10764 0 last;
10765 }
10766 0 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ptail]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10767 . $_tok . q{]},
10768  
10769 Parse::RecDescent::_tracefirst($text),
10770 q{relpath},
10771 $tracelevel)
10772 if defined $::RD_TRACE;
10773 0 $item{q{ptail}} = $_tok;
10774 0 push @item, $_tok;
10775
10776 }
10777  
10778 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10779 Parse::RecDescent::_tracefirst($text),
10780 q{relpath},
10781 $tracelevel)
10782 if defined $::RD_TRACE;
10783
10784  
10785 0 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
10786 0 new Config::Maker::Path::This(@{$item[-1]});
10787 };
10788 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
10789 {
10790 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10791 if defined $::RD_TRACE;
10792 0 last;
10793 }
10794 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10795 . $_tok . q{])},
10796 Parse::RecDescent::_tracefirst($text))
10797 if defined $::RD_TRACE;
10798 0 push @item, $_tok;
10799 0 $item{__ACTION1__}=$_tok;
10800
10801  
10802 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [nonglob ptail]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10803 Parse::RecDescent::_tracefirst($text),
10804 q{relpath},
10805 $tracelevel)
10806 if defined $::RD_TRACE;
10807  
10808  
10809  
10810 0 $_matched = 1;
10811 0 last;
10812 }
10813  
10814  
10815 328 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 316 12 328
Condition66%2/3
$_matched or $commit
l!l&&r!l&&!r
120316
MC/DC50%1/2
$_matched or $commit
$_matched $commit
Truth table66%2/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
10816 {
10817
10818 316 ▶ Parse::RecDescent::_trace(q{Trying production: [pcomponent ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10819 Parse::RecDescent::_tracefirst($_[1]),
10820 q{relpath},
10821 $tracelevel)
10822 if defined $::RD_TRACE;
10823 316 my $thisprod = $thisrule->{"prods"}[3];
10824 316 $text = $_[1];
10825 316 my $_savetext;
10826 316 @item = (q{relpath});
10827 316 %item = (__RULE__ => q{relpath});
10828 316 my $repcount = 0;
10829  
10830  
10831 316 ▶ Parse::RecDescent::_trace(q{Trying subrule: [pcomponent]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 316 316
10832 Parse::RecDescent::_tracefirst($text),
10833 q{relpath},
10834 $tracelevel)
10835 if defined $::RD_TRACE;
10836 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10837 316 $expectation->is(q{})->at($text);
10838 316 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::pcomponent($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = pcomponent($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 18 298 316
10839 {
10840
10841 18 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [pcomponent]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
10842 Parse::RecDescent::_tracefirst($text),
10843 q{relpath},
10844 $tracelevel)
10845 if defined $::RD_TRACE;
10846 18 $expectation->failed();
10847 18 last;
10848 }
10849 298 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [pcomponent]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10850 . $_tok . q{]},
10851  
10852 Parse::RecDescent::_tracefirst($text),
10853 q{relpath},
10854 $tracelevel)
10855 if defined $::RD_TRACE;
10856 298 $item{q{pcomponent}} = $_tok;
10857 298 push @item, $_tok;
10858
10859 }
10860  
10861 298 ▶ Parse::RecDescent::_trace(q{Trying subrule: [ptail]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10862 Parse::RecDescent::_tracefirst($text),
10863 q{relpath},
10864 $tracelevel)
10865 if defined $::RD_TRACE;
10866 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
10867 298 $expectation->is(q{ptail})->at($text);
10868 298 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::ptail($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = ptail($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 298 298
10869 {
10870
10871 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [ptail]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10872 Parse::RecDescent::_tracefirst($text),
10873 q{relpath},
10874 $tracelevel)
10875 if defined $::RD_TRACE;
10876 0 $expectation->failed();
10877 0 last;
10878 }
10879 298 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [ptail]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10880 . $_tok . q{]},
10881  
10882 Parse::RecDescent::_tracefirst($text),
10883 q{relpath},
10884 $tracelevel)
10885 if defined $::RD_TRACE;
10886 298 $item{q{ptail}} = $_tok;
10887 298 push @item, $_tok;
10888
10889 }
10890  
10891 298 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10892 Parse::RecDescent::_tracefirst($text),
10893 q{relpath},
10894 $tracelevel)
10895 if defined $::RD_TRACE;
10896
10897  
10898 298 ▶ $_tok = ($_noactions) ? 0 : do {
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 298 298
10899 298 new Config::Maker::Path(%{$item[1]}, @{$item[-1]});
10900 };
10901 298 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 298 298
10902 {
10903 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10904 if defined $::RD_TRACE;
10905 0 last;
10906 }
10907 298 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10908 . $_tok . q{])},
10909 Parse::RecDescent::_tracefirst($text))
10910 if defined $::RD_TRACE;
10911 298 push @item, $_tok;
10912 298 $item{__ACTION1__}=$_tok;
10913
10914  
10915 298 ▶ Parse::RecDescent::_trace(q{>>Matched production: [pcomponent ptail]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 298 298
10916 Parse::RecDescent::_tracefirst($text),
10917 q{relpath},
10918 $tracelevel)
10919 if defined $::RD_TRACE;
10920  
10921  
10922  
10923 298 $_matched = 1;
10924 298 last;
10925 }
10926  
10927  
10928 328 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 18 310 328
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
310018
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
10929 {
10930
10931  
10932 18 $_[1] = $text; # NOT SURE THIS IS NEEDED
10933 18 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 18 18
10934 Parse::RecDescent::_tracefirst($_[1]),
10935 q{relpath},
10936 $tracelevel)
10937 if defined $::RD_TRACE;
10938 18 return undef;
10939 }
10940 310 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 310 310
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
03100
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
ABresult
0X0
100
111
10941 {
10942 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
10943 q{relpath},
10944 $tracelevel)
10945 if defined $::RD_TRACE;
10946 0 $return = $score_return;
10947 }
10948 310 splice @{$thisparser->{errors}}, $err_at;
10949 310 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 310 0 310
10950 310 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 310 310
10951 {
10952 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
10953 $return . q{])}, "",
10954 q{relpath},
10955 $tracelevel);
10956 0 Parse::RecDescent::_trace(q{(consumed: [} .
10957 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
10958 Parse::RecDescent::_tracefirst($text),
10959 , q{relpath},
10960 $tracelevel)
10961 }
10962 310 $_[1] = $text;
10963 310 return $return;
10964 }
10965  
10966 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
10967 sub Parse::RecDescent::Config::Maker::Grammar::separator
10968 910 ▶{
Subroutine separator: called CC=24 SCAR=34.3
10969 910 my $thisparser = $_[0];
10970 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
10971 910 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
9100
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
10972 910 $ERRORS = 0;
10973 910 my $thisrule = $thisparser->{"rules"}{"separator"};
10974  
10975 910 ▶ Parse::RecDescent::_trace(q{Trying rule: [separator]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 910 910
10976 Parse::RecDescent::_tracefirst($_[1]),
10977 q{separator},
10978 $tracelevel)
10979 if defined $::RD_TRACE;
10980  
10981
10982 910 my $err_at = @{$thisparser->{errors}};
10983  
10984 910 my $score;
10985 my $score_return;
10986 910 my $_tok;
10987 910 my $return = undef;
10988 910 my $_matched=0;
10989 910 my $commit=0;
10990 910 my @item = ();
10991 910 my %item = ();
10992 910 my $repeating = $_[2];
10993 910 my $_noactions = $_[3];
10994 910 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 910 0 910
10995 910 my $_itempos = $_[5];
10996 910 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 898 12 910
10997 910 my $text;
10998 my $lastsep;
10999 910 my $current_match;
11000 910 my $expectation = new Parse::RecDescent::Expectation(q{/\\/+/});
11001 910 $expectation->at($_[1]);
11002
11003 910 my $thisline;
11004 910 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11005  
11006
11007  
11008 910 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 910 0 910
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00910
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
11009 {
11010
11011 910 ▶ Parse::RecDescent::_trace(q{Trying production: [/\\/+/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 910 910
11012 Parse::RecDescent::_tracefirst($_[1]),
11013 q{separator},
11014 $tracelevel)
11015 if defined $::RD_TRACE;
11016 910 my $thisprod = $thisrule->{"prods"}[0];
11017 910 $text = $_[1];
11018 910 my $_savetext;
11019 910 @item = (q{separator});
11020 910 %item = (__RULE__ => q{separator});
11021 910 my $repcount = 0;
11022  
11023  
11024 910 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/\\/+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 910 910
11025 q{separator},
11026 $tracelevel)
11027 if defined $::RD_TRACE;
11028 910 undef $lastsep;
11029 910 $expectation->is(q{})->at($text);
11030
11031  
11032 910 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:\/+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:/+)]) 844 66 910
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:/+)]
!ll&&!rl&&r
084466
($lastsep = $1) && ''
!ll
9100
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A(?:/+)]
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ m[\A(?:/+)]
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table66%2/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ m[\A(?:/+)]
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
11033 {
11034 844 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 844 0 844
11035 844 $expectation->failed();
11036 844 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 844 844
11037 Parse::RecDescent::_tracefirst($text))
11038 if defined $::RD_TRACE;
11039  
11040 844 last;
11041 }
11042 66 $current_match = substr($text, $-[0], $+[0] - $-[0]);
11043 66 substr($text,0,length($current_match),q{});
11044 66 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 66 66
11045 . $current_match . q{])},
11046 Parse::RecDescent::_tracefirst($text))
11047 if defined $::RD_TRACE;
11048 66 push @item, $item{__PATTERN1__}=$current_match;
11049
11050  
11051 66 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/\\/+/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 66 66
11052 Parse::RecDescent::_tracefirst($text),
11053 q{separator},
11054 $tracelevel)
11055 if defined $::RD_TRACE;
11056  
11057  
11058  
11059 66 $_matched = 1;
11060 66 last;
11061 }
11062  
11063  
11064 910 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 844 66 910
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
660844
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
11065 {
11066
11067  
11068 844 $_[1] = $text; # NOT SURE THIS IS NEEDED
11069 844 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 844 844
11070 Parse::RecDescent::_tracefirst($_[1]),
11071 q{separator},
11072 $tracelevel)
11073 if defined $::RD_TRACE;
11074 844 return undef;
11075 }
11076 66 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 66 66
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0660
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
ABresult
0X0
100
111
11077 {
11078 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11079 q{separator},
11080 $tracelevel)
11081 if defined $::RD_TRACE;
11082 0 $return = $score_return;
11083 }
11084 66 splice @{$thisparser->{errors}}, $err_at;
11085 66 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 66 0 66
11086 66 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 66 66
11087 {
11088 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11089 $return . q{])}, "",
11090 q{separator},
11091 $tracelevel);
11092 0 Parse::RecDescent::_trace(q{(consumed: [} .
11093 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11094 Parse::RecDescent::_tracefirst($text),
11095 , q{separator},
11096 $tracelevel)
11097 }
11098 66 $_[1] = $text;
11099 66 return $return;
11100 }
11101  
11102 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
11103 sub Parse::RecDescent::Config::Maker::Grammar::space
11104 78 ▶{
Subroutine space: called CC=30 SCAR=42.0
11105 78 my $thisparser = $_[0];
11106 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
11107 78 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
780
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
11108 78 $ERRORS = 0;
11109 78 my $thisrule = $thisparser->{"rules"}{"space"};
11110  
11111 78 ▶ Parse::RecDescent::_trace(q{Trying rule: [space]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11112 Parse::RecDescent::_tracefirst($_[1]),
11113 q{space},
11114 $tracelevel)
11115 if defined $::RD_TRACE;
11116  
11117
11118 78 my $err_at = @{$thisparser->{errors}};
11119  
11120 78 my $score;
11121 my $score_return;
11122 78 my $_tok;
11123 78 my $return = undef;
11124 78 my $_matched=0;
11125 78 my $commit=0;
11126 78 my @item = ();
11127 78 my %item = ();
11128 78 my $repeating = $_[2];
11129 78 my $_noactions = $_[3];
11130 78 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 78 0 78
11131 78 my $_itempos = $_[5];
11132 78 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 37 41 78
11133 78 my $text;
11134 my $lastsep;
11135 78 my $current_match;
11136 78 my $expectation = new Parse::RecDescent::Expectation(q{});
11137 78 $expectation->at($_[1]);
11138
11139 78 my $thisline;
11140 78 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11141  
11142
11143  
11144 78 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 78 0 78
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0078
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
11145 {
11146 78 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 78 0 78
11147 78 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> /[ \\t]*\\n?/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11148 Parse::RecDescent::_tracefirst($_[1]),
11149 q{space},
11150 $tracelevel)
11151 if defined $::RD_TRACE;
11152 78 my $thisprod = $thisrule->{"prods"}[0];
11153 78 $text = $_[1];
11154 78 my $_savetext;
11155 78 @item = (q{space});
11156 78 %item = (__RULE__ => q{space});
11157 78 my $repcount = 0;
11158  
11159  
11160
11161  
11162 78 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11163 Parse::RecDescent::_tracefirst($text),
11164 q{space},
11165 $tracelevel)
11166 if defined $::RD_TRACE;
11167 78 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
11168 78 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 78 0 78
11169 {
11170 78 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11171 . $_tok . q{])},
11172 Parse::RecDescent::_tracefirst($text))
11173 if defined $::RD_TRACE;
11174 }
11175 else
11176 {
11177 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11178 Parse::RecDescent::_tracefirst($text))
11179 if defined $::RD_TRACE;
11180 }
11181
11182 78 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 78 78
11183 78 push @item, $item{__DIRECTIVE1__}=$_tok;
11184
11185  
11186 78 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[ \\t]*\\n?/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11187 q{space},
11188 $tracelevel)
11189 if defined $::RD_TRACE;
11190 78 undef $lastsep;
11191 78 $expectation->is(q{/[ \\t]*\\n?/})->at($text);
11192
11193  
11194 78 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[ \t]*\n?)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[ \t]*\n?)/) 0 78 78
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[ \t]*\n?)/
!ll&&!rl&&r
0078
($lastsep = $1) && ''
!ll
780
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[ \t]*\n?)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[ \t]*\n?)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[ \t]*\n?)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
11195 {
11196 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
11197 0 $expectation->failed();
11198 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11199 Parse::RecDescent::_tracefirst($text))
11200 if defined $::RD_TRACE;
11201  
11202 0 last;
11203 }
11204 78 $current_match = substr($text, $-[0], $+[0] - $-[0]);
11205 78 substr($text,0,length($current_match),q{});
11206 78 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11207 . $current_match . q{])},
11208 Parse::RecDescent::_tracefirst($text))
11209 if defined $::RD_TRACE;
11210 78 push @item, $item{__PATTERN1__}=$current_match;
11211
11212  
11213 78 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> /[ \\t]*\\n?/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 78 78
11214 Parse::RecDescent::_tracefirst($text),
11215 q{space},
11216 $tracelevel)
11217 if defined $::RD_TRACE;
11218  
11219  
11220  
11221 78 $_matched = 1;
11222 78 last;
11223 }
11224  
11225  
11226 78 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 78 78
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
7800
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
11227 {
11228
11229  
11230 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
11231 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11232 Parse::RecDescent::_tracefirst($_[1]),
11233 q{space},
11234 $tracelevel)
11235 if defined $::RD_TRACE;
11236 0 return undef;
11237 }
11238 78 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 78 78
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0780
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
ABresult
0X0
100
111
11239 {
11240 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11241 q{space},
11242 $tracelevel)
11243 if defined $::RD_TRACE;
11244 0 $return = $score_return;
11245 }
11246 78 splice @{$thisparser->{errors}}, $err_at;
11247 78 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 78 0 78
11248 78 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 78 78
11249 {
11250 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11251 $return . q{])}, "",
11252 q{space},
11253 $tracelevel);
11254 0 Parse::RecDescent::_trace(q{(consumed: [} .
11255 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11256 Parse::RecDescent::_tracefirst($text),
11257 , q{space},
11258 $tracelevel)
11259 }
11260 78 $_[1] = $text;
11261 78 return $return;
11262 }
11263  
11264 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
11265 sub Parse::RecDescent::Config::Maker::Grammar::template
11266 37 ▶{
Subroutine template: called CC=45 SCAR=54.8
11267 37 my $thisparser = $_[0];
11268 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
11269 37 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition100%2/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
136
MC/DC100%1/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table100%2/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
11270 37 $ERRORS = 0;
11271 37 my $thisrule = $thisparser->{"rules"}{"template"};
11272  
11273 37 ▶ Parse::RecDescent::_trace(q{Trying rule: [template]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11274 Parse::RecDescent::_tracefirst($_[1]),
11275 q{template},
11276 $tracelevel)
11277 if defined $::RD_TRACE;
11278  
11279
11280 37 my $err_at = @{$thisparser->{errors}};
11281  
11282 37 my $score;
11283 my $score_return;
11284 37 my $_tok;
11285 37 my $return = undef;
11286 37 my $_matched=0;
11287 37 my $commit=0;
11288 37 my @item = ();
11289 37 my %item = ();
11290 37 my $repeating = $_[2];
11291 37 my $_noactions = $_[3];
11292 37 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 37 0 37
11293 37 my $_itempos = $_[5];
11294 37 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 37 0 37
11295 37 my $text;
11296 my $lastsep;
11297 37 my $current_match;
11298 37 my $expectation = new Parse::RecDescent::Expectation(q{});
11299 37 $expectation->at($_[1]);
11300
11301 37 my $thisline;
11302 37 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11303  
11304
11305  
11306 37 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 37 0 37
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0037
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
11307 {
11308 37 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 37 0 37
11309 37 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> directive eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11310 Parse::RecDescent::_tracefirst($_[1]),
11311 q{template},
11312 $tracelevel)
11313 if defined $::RD_TRACE;
11314 37 my $thisprod = $thisrule->{"prods"}[0];
11315 37 $text = $_[1];
11316 37 my $_savetext;
11317 37 @item = (q{template});
11318 37 %item = (__RULE__ => q{template});
11319 37 my $repcount = 0;
11320  
11321  
11322
11323  
11324 37 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11325 Parse::RecDescent::_tracefirst($text),
11326 q{template},
11327 $tracelevel)
11328 if defined $::RD_TRACE;
11329 37 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
11330 37 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 37 0 37
11331 {
11332 37 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11333 . $_tok . q{])},
11334 Parse::RecDescent::_tracefirst($text))
11335 if defined $::RD_TRACE;
11336 }
11337 else
11338 {
11339 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11340 Parse::RecDescent::_tracefirst($text))
11341 if defined $::RD_TRACE;
11342 }
11343
11344 37 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 37 37
11345 37 push @item, $item{__DIRECTIVE1__}=$_tok;
11346
11347  
11348 37 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [directive]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11349 Parse::RecDescent::_tracefirst($text),
11350 q{template},
11351 $tracelevel)
11352 if defined $::RD_TRACE;
11353 37 $expectation->is(q{directive})->at($text);
11354
11355 37 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 0, 100000000, $_noactions,$expectation,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::directive, 0, 100000000, $_noactions, $expectation, sub { \@arg; } , undef))) 0 37 37
11356 {
11357 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [directive]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11358 Parse::RecDescent::_tracefirst($text),
11359 q{template},
11360 $tracelevel)
11361 if defined $::RD_TRACE;
11362 0 last;
11363 }
11364 37 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [directive]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11365 . @$_tok . q{ times)},
11366  
11367 Parse::RecDescent::_tracefirst($text),
11368 q{template},
11369 $tracelevel)
11370 if defined $::RD_TRACE;
11371 37 $item{q{directive(s?)}} = $_tok;
11372 37 push @item, $_tok;
11373
11374  
11375  
11376 37 ▶ Parse::RecDescent::_trace(q{Trying subrule: [eof]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11377 Parse::RecDescent::_tracefirst($text),
11378 q{template},
11379 $tracelevel)
11380 if defined $::RD_TRACE;
11381 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
11382 37 $expectation->is(q{eof})->at($text);
11383 37 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = Parse::RecDescent::Config::Maker::Grammar::eof($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 37 37
11384 {
11385
11386 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [eof]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11387 Parse::RecDescent::_tracefirst($text),
11388 q{template},
11389 $tracelevel)
11390 if defined $::RD_TRACE;
11391 0 $expectation->failed();
11392 0 last;
11393 }
11394 37 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [eof]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11395 . $_tok . q{]},
11396  
11397 Parse::RecDescent::_tracefirst($text),
11398 q{template},
11399 $tracelevel)
11400 if defined $::RD_TRACE;
11401 37 $item{q{eof}} = $_tok;
11402 37 push @item, $_tok;
11403
11404 }
11405  
11406 37 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11407 Parse::RecDescent::_tracefirst($text),
11408 q{template},
11409 $tracelevel)
11410 if defined $::RD_TRACE;
11411
11412  
11413 37 ▶ $_tok = ($_noactions) ? 0 : do { $item[2]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 37 37
11414 37 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 37 37
11415 {
11416 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11417 if defined $::RD_TRACE;
11418 0 last;
11419 }
11420 37 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11421 . $_tok . q{])},
11422 Parse::RecDescent::_tracefirst($text))
11423 if defined $::RD_TRACE;
11424 37 push @item, $_tok;
11425 37 $item{__ACTION1__}=$_tok;
11426
11427  
11428 37 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> directive eof]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 37 37
11429 Parse::RecDescent::_tracefirst($text),
11430 q{template},
11431 $tracelevel)
11432 if defined $::RD_TRACE;
11433  
11434  
11435  
11436 37 $_matched = 1;
11437 37 last;
11438 }
11439  
11440  
11441 37 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 37 37
11442 {
11443
11444 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11445 Parse::RecDescent::_tracefirst($_[1]),
11446 q{template},
11447 $tracelevel)
11448 if defined $::RD_TRACE;
11449 0 my $thisprod = $thisrule->{"prods"}[1];
11450
11451 0 my $_savetext;
11452 0 @item = (q{template});
11453 0 %item = (__RULE__ => q{template});
11454 0 my $repcount = 0;
11455  
11456  
11457
11458  
11459 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11460 Parse::RecDescent::_tracefirst($text),
11461 q{template},
11462 $tracelevel)
11463 if defined $::RD_TRACE;
11464 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
11465 0 my $rule = $item[0];
11466 0 $rule =~ s/_/ /g;
11467 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
11468 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
11469 0 } unless $_noactions; undef } else {0} };
11470 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
11471 {
11472 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11473 . $_tok . q{])},
11474 Parse::RecDescent::_tracefirst($text))
11475 if defined $::RD_TRACE;
11476 }
11477 else
11478 {
11479 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11480 Parse::RecDescent::_tracefirst($text))
11481 if defined $::RD_TRACE;
11482 }
11483
11484 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
11485 0 push @item, $item{__DIRECTIVE1__}=$_tok;
11486
11487  
11488 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11489 Parse::RecDescent::_tracefirst($text),
11490 q{template},
11491 $tracelevel)
11492 if defined $::RD_TRACE;
11493  
11494  
11495  
11496 0 $_matched = 1;
11497 0 last;
11498 }
11499  
11500  
11501 37 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 37 37
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
3700
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
11502 {
11503
11504  
11505 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
11506 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11507 Parse::RecDescent::_tracefirst($_[1]),
11508 q{template},
11509 $tracelevel)
11510 if defined $::RD_TRACE;
11511 0 return undef;
11512 }
11513 37 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 37 37
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0370
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
ABresult
0X0
100
111
11514 {
11515 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11516 q{template},
11517 $tracelevel)
11518 if defined $::RD_TRACE;
11519 0 $return = $score_return;
11520 }
11521 37 splice @{$thisparser->{errors}}, $err_at;
11522 37 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 37 0 37
11523 37 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 37 37
11524 {
11525 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11526 $return . q{])}, "",
11527 q{template},
11528 $tracelevel);
11529 0 Parse::RecDescent::_trace(q{(consumed: [} .
11530 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11531 Parse::RecDescent::_tracefirst($text),
11532 , q{template},
11533 $tracelevel)
11534 }
11535 37 $_[1] = $text;
11536 37 return $return;
11537 }
11538  
11539 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
11540 sub Parse::RecDescent::Config::Maker::Grammar::type
11541 1025 ▶{
Subroutine type: called CC=43 SCAR=45.7
11542 1025 my $thisparser = $_[0];
11543 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
11544 1025 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
10250
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
11545 1025 $ERRORS = 0;
11546 1025 my $thisrule = $thisparser->{"rules"}{"type"};
11547  
11548 1025 ▶ Parse::RecDescent::_trace(q{Trying rule: [type]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
11549 Parse::RecDescent::_tracefirst($_[1]),
11550 q{type},
11551 $tracelevel)
11552 if defined $::RD_TRACE;
11553  
11554
11555 1025 my $err_at = @{$thisparser->{errors}};
11556  
11557 1025 my $score;
11558 my $score_return;
11559 1025 my $_tok;
11560 1025 my $return = undef;
11561 1025 my $_matched=0;
11562 1025 my $commit=0;
11563 1025 my @item = ();
11564 1025 my %item = ();
11565 1025 my $repeating = $_[2];
11566 1025 my $_noactions = $_[3];
11567 1025 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 1025 0 1025
11568 1025 my $_itempos = $_[5];
11569 1025 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 1025 1025
11570 1025 my $text;
11571 my $lastsep;
11572 1025 my $current_match;
11573 1025 my $expectation = new Parse::RecDescent::Expectation(q{identifier});
11574 1025 $expectation->at($_[1]);
11575
11576 1025 my $thisline;
11577 1025 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11578  
11579
11580  
11581 1025 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 1025 0 1025
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
001025
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
11582 {
11583
11584 1025 ▶ Parse::RecDescent::_trace(q{Trying production: [identifier <commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
11585 Parse::RecDescent::_tracefirst($_[1]),
11586 q{type},
11587 $tracelevel)
11588 if defined $::RD_TRACE;
11589 1025 my $thisprod = $thisrule->{"prods"}[0];
11590 1025 $text = $_[1];
11591 1025 my $_savetext;
11592 1025 @item = (q{type});
11593 1025 %item = (__RULE__ => q{type});
11594 1025 my $repcount = 0;
11595  
11596  
11597 1025 ▶ Parse::RecDescent::_trace(q{Trying subrule: [identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 1025 1025
11598 Parse::RecDescent::_tracefirst($text),
11599 q{type},
11600 $tracelevel)
11601 if defined $::RD_TRACE;
11602 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
11603 1025 $expectation->is(q{})->at($text);
11604 1025 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::identifier($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = identifier($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 336 689 1025
11605 {
11606
11607 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [identifier]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11608 Parse::RecDescent::_tracefirst($text),
11609 q{type},
11610 $tracelevel)
11611 if defined $::RD_TRACE;
11612 336 $expectation->failed();
11613 336 last;
11614 }
11615 689 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [identifier]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11616 . $_tok . q{]},
11617  
11618 Parse::RecDescent::_tracefirst($text),
11619 q{type},
11620 $tracelevel)
11621 if defined $::RD_TRACE;
11622 689 $item{q{identifier}} = $_tok;
11623 689 push @item, $_tok;
11624
11625 }
11626  
11627
11628  
11629 689 ▶ Parse::RecDescent::_trace(q{Trying directive: [<commit>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11630 Parse::RecDescent::_tracefirst($text),
11631 q{type},
11632 $tracelevel)
11633 if defined $::RD_TRACE;
11634 689 $_tok = do { $commit = 1 };
11635 689 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 689 0 689
11636 {
11637 689 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11638 . $_tok . q{])},
11639 Parse::RecDescent::_tracefirst($text))
11640 if defined $::RD_TRACE;
11641 }
11642 else
11643 {
11644 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11645 Parse::RecDescent::_tracefirst($text))
11646 if defined $::RD_TRACE;
11647 }
11648
11649 689 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 689 689
11650 689 push @item, $item{__DIRECTIVE1__}=$_tok;
11651
11652  
11653 689 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11654 Parse::RecDescent::_tracefirst($text),
11655 q{type},
11656 $tracelevel)
11657 if defined $::RD_TRACE;
11658
11659  
11660 689 ▶ $_tok = ($_noactions) ? 0 : do { eval { $arg[0]->get($item[1]); } };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 689 689
11661 689 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 689 689
11662 {
11663 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11664 if defined $::RD_TRACE;
11665 0 last;
11666 }
11667 689 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11668 . $_tok . q{])},
11669 Parse::RecDescent::_tracefirst($text))
11670 if defined $::RD_TRACE;
11671 689 push @item, $_tok;
11672 689 $item{__ACTION1__}=$_tok;
11673
11674  
11675 689 ▶ Parse::RecDescent::_trace(q{>>Matched production: [identifier <commit>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 689 689
11676 Parse::RecDescent::_tracefirst($text),
11677 q{type},
11678 $tracelevel)
11679 if defined $::RD_TRACE;
11680  
11681  
11682  
11683 689 $_matched = 1;
11684 689 last;
11685 }
11686  
11687  
11688 1025 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 336 689 1025
11689 {
11690
11691 336 ▶ Parse::RecDescent::_trace(q{Trying production: [<error?:...> <reject>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11692 Parse::RecDescent::_tracefirst($_[1]),
11693 q{type},
11694 $tracelevel)
11695 if defined $::RD_TRACE;
11696 336 my $thisprod = $thisrule->{"prods"}[1];
11697
11698 336 my $_savetext;
11699 336 @item = (q{type});
11700 336 %item = (__RULE__ => q{type});
11701 336 my $repcount = 0;
11702  
11703  
11704
11705  
11706 336 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error?:...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11707 Parse::RecDescent::_tracefirst($text),
11708 q{type},
11709 $tracelevel)
11710 if defined $::RD_TRACE;
11711 0 ▶ $_tok = do { if ($commit) { do {push @{$thisparser->{errors}}, [qq{ $@},$thisline];} unless $_noactions; undef } else {0} };
Branch: 2 branches
BranchTrueFalseTotal
if ($commit) { } 0 336 336
unless ($_noactions) 0 0 0
11712 336 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 336 0 336
11713 {
11714 336 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11715 . $_tok . q{])},
11716 Parse::RecDescent::_tracefirst($text))
11717 if defined $::RD_TRACE;
11718 }
11719 else
11720 {
11721 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11722 Parse::RecDescent::_tracefirst($text))
11723 if defined $::RD_TRACE;
11724 }
11725
11726 336 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 336 336
11727 336 push @item, $item{__DIRECTIVE1__}=$_tok;
11728
11729  
11730 336 ▶ Parse::RecDescent::_trace(q{>>Rejecting production<< (found <reject>)},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11731 Parse::RecDescent::_tracefirst($text),
11732 q{type},
11733 $tracelevel)
11734 if defined $::RD_TRACE;
11735 336 undef $return;
11736
11737  
11738 336 $_tok = undef;
11739
11740 336 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 336 0 336
11741  
11742 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error?:...> <reject>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11743 Parse::RecDescent::_tracefirst($text),
11744 q{type},
11745 $tracelevel)
11746 if defined $::RD_TRACE;
11747  
11748  
11749  
11750 0 $_matched = 1;
11751 0 last;
11752 }
11753  
11754  
11755 1025 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 336 689 1025
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
6890336
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
11756 {
11757
11758  
11759 336 $_[1] = $text; # NOT SURE THIS IS NEEDED
11760 336 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 336 336
11761 Parse::RecDescent::_tracefirst($_[1]),
11762 q{type},
11763 $tracelevel)
11764 if defined $::RD_TRACE;
11765 336 return undef;
11766 }
11767 689 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 689 689
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
06890
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
ABresult
0X0
100
111
11768 {
11769 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11770 q{type},
11771 $tracelevel)
11772 if defined $::RD_TRACE;
11773 0 $return = $score_return;
11774 }
11775 689 splice @{$thisparser->{errors}}, $err_at;
11776 689 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 689 0 689
11777 689 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 689 689
11778 {
11779 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11780 $return . q{])}, "",
11781 q{type},
11782 $tracelevel);
11783 0 Parse::RecDescent::_trace(q{(consumed: [} .
11784 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11785 Parse::RecDescent::_tracefirst($text),
11786 , q{type},
11787 $tracelevel)
11788 }
11789 689 $_[1] = $text;
11790 689 return $return;
11791 }
11792  
11793 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
11794 sub Parse::RecDescent::Config::Maker::Grammar::value
11795 796 ▶{
Subroutine value: called CC=28 SCAR=37.3
11796 796 my $thisparser = $_[0];
11797 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
11798 796 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
7960
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
11799 796 $ERRORS = 0;
11800 796 my $thisrule = $thisparser->{"rules"}{"value"};
11801  
11802 796 ▶ Parse::RecDescent::_trace(q{Trying rule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 796 796
11803 Parse::RecDescent::_tracefirst($_[1]),
11804 q{value},
11805 $tracelevel)
11806 if defined $::RD_TRACE;
11807  
11808
11809 796 my $err_at = @{$thisparser->{errors}};
11810  
11811 796 my $score;
11812 my $score_return;
11813 796 my $_tok;
11814 796 my $return = undef;
11815 796 my $_matched=0;
11816 796 my $commit=0;
11817 796 my @item = ();
11818 796 my %item = ();
11819 796 my $repeating = $_[2];
11820 796 my $_noactions = $_[3];
11821 796 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 796 0 796
11822 796 my $_itempos = $_[5];
11823 796 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 101 695 796
11824 796 my $text;
11825 my $lastsep;
11826 796 my $current_match;
11827 796 my $expectation = new Parse::RecDescent::Expectation(q{''});
11828 796 $expectation->at($_[1]);
11829
11830 796 my $thisline;
11831 796 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11832  
11833
11834  
11835 796 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 796 0 796
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00796
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
11836 {
11837
11838 796 ▶ Parse::RecDescent::_trace(q{Trying production: ['' <matchrule:value_$arg[0]>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 796 796
11839 Parse::RecDescent::_tracefirst($_[1]),
11840 q{value},
11841 $tracelevel)
11842 if defined $::RD_TRACE;
11843 796 my $thisprod = $thisrule->{"prods"}[0];
11844 796 $text = $_[1];
11845 796 my $_savetext;
11846 796 @item = (q{value});
11847 796 %item = (__RULE__ => q{value});
11848 796 my $repcount = 0;
11849  
11850  
11851 796 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 796 796
11852 Parse::RecDescent::_tracefirst($text),
11853 q{value},
11854 $tracelevel)
11855 if defined $::RD_TRACE;
11856 796 undef $lastsep;
11857 796 $expectation->is(q{})->at($text);
11858
11859  
11860 796 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/) 0 796 796
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
!ll&&!rl&&r
00796
($lastsep = $1) && ''
!ll
103693
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A/
MC/DC100%1/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A/
ABresult
0X0
100
111
Truth table100%2/2
A
A= ($lastsep = $1)
Aresult
00
11
11861 {
11862 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
11863
11864 0 $expectation->failed();
11865 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11866 Parse::RecDescent::_tracefirst($text))
11867 if defined $::RD_TRACE;
11868 0 last;
11869 }
11870 796 $current_match = substr($text, $-[0], $+[0] - $-[0]);
11871 796 substr($text,0,length($current_match),q{});
11872 796 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 796 796
11873 . $current_match . q{])},
11874 Parse::RecDescent::_tracefirst($text))
11875 if defined $::RD_TRACE;
11876 796 push @item, $item{__STRING1__}=$current_match;
11877
11878  
11879 796 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_$arg[0]]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 796 796
11880 Parse::RecDescent::_tracefirst($text),
11881 q{value},
11882 $tracelevel)
11883 if defined $::RD_TRACE;
11884 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
11885 796 $expectation->is(q{<matchrule:value_$arg[0]>})->at($text);
11886 796 ▶ unless (defined ($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::'.qq{value_$arg[0]}}($thisparser,$text,$repeating,$_noactions,sub { return [@arg[1..$#arg]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::' . "value_$arg[0]";}($thisparser, $text, $repeating, $_noactions, sub { return [@arg[1 .. $#arg]]; } , undef))) 74 722 796
11887 {
11888
11889 74 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_$arg[0]]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 74 74
11890 Parse::RecDescent::_tracefirst($text),
11891 q{value},
11892 $tracelevel)
11893 if defined $::RD_TRACE;
11894 74 $expectation->failed();
11895 74 last;
11896 }
11897 722 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_$arg[0]]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 722 722
11898 . $_tok . q{]},
11899  
11900 Parse::RecDescent::_tracefirst($text),
11901 q{value},
11902 $tracelevel)
11903 if defined $::RD_TRACE;
11904 722 $item{q{value_$arg[0]}} = $_tok;
11905 722 push @item, $_tok;
11906
11907 }
11908  
11909 722 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['' <matchrule:value_$arg[0]>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 722 722
11910 Parse::RecDescent::_tracefirst($text),
11911 q{value},
11912 $tracelevel)
11913 if defined $::RD_TRACE;
11914  
11915  
11916  
11917 722 $_matched = 1;
11918 722 last;
11919 }
11920  
11921  
11922 796 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 74 722 796
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
722074
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
11923 {
11924
11925  
11926 74 $_[1] = $text; # NOT SURE THIS IS NEEDED
11927 74 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 74 74
11928 Parse::RecDescent::_tracefirst($_[1]),
11929 q{value},
11930 $tracelevel)
11931 if defined $::RD_TRACE;
11932 74 return undef;
11933 }
11934 722 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 722 722
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
07220
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
ABresult
0X0
100
111
11935 {
11936 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
11937 q{value},
11938 $tracelevel)
11939 if defined $::RD_TRACE;
11940 0 $return = $score_return;
11941 }
11942 722 splice @{$thisparser->{errors}}, $err_at;
11943 722 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 722 0 722
11944 722 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 722 722
11945 {
11946 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
11947 $return . q{])}, "",
11948 q{value},
11949 $tracelevel);
11950 0 Parse::RecDescent::_trace(q{(consumed: [} .
11951 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
11952 Parse::RecDescent::_tracefirst($text),
11953 , q{value},
11954 $tracelevel)
11955 }
11956 722 $_[1] = $text;
11957 722 return $return;
11958 }
11959  
11960 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
11961 sub Parse::RecDescent::Config::Maker::Grammar::value_dns_name
11962 5 ▶{
Subroutine value_dns_name: called CC=33 SCAR=51.8
11963 5 my $thisparser = $_[0];
11964 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
11965 5 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
50
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
11966 5 $ERRORS = 0;
11967 5 my $thisrule = $thisparser->{"rules"}{"value_dns_name"};
11968  
11969 5 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_dns_name]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
11970 Parse::RecDescent::_tracefirst($_[1]),
11971 q{value_dns_name},
11972 $tracelevel)
11973 if defined $::RD_TRACE;
11974  
11975
11976 5 my $err_at = @{$thisparser->{errors}};
11977  
11978 5 my $score;
11979 my $score_return;
11980 5 my $_tok;
11981 5 my $return = undef;
11982 5 my $_matched=0;
11983 5 my $commit=0;
11984 5 my @item = ();
11985 5 my %item = ();
11986 5 my $repeating = $_[2];
11987 5 my $_noactions = $_[3];
11988 5 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 5 0 5
11989 5 my $_itempos = $_[5];
11990 5 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 5 0 5
11991 5 my $text;
11992 my $lastsep;
11993 5 my $current_match;
11994 5 my $expectation = new Parse::RecDescent::Expectation(q{/[a-zA-Z0-9-]+/});
11995 5 $expectation->at($_[1]);
11996
11997 5 my $thisline;
11998 5 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
11999  
12000
12001  
12002 5 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 5 0 5
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
005
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
12003 {
12004
12005 5 ▶ Parse::RecDescent::_trace(q{Trying production: [/[a-zA-Z0-9-]+/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
12006 Parse::RecDescent::_tracefirst($_[1]),
12007 q{value_dns_name},
12008 $tracelevel)
12009 if defined $::RD_TRACE;
12010 5 my $thisprod = $thisrule->{"prods"}[0];
12011 5 $text = $_[1];
12012 5 my $_savetext;
12013 5 @item = (q{value_dns_name});
12014 5 %item = (__RULE__ => q{value_dns_name});
12015 5 my $repcount = 0;
12016  
12017  
12018 5 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/[a-zA-Z0-9-]+/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
12019 q{value_dns_name},
12020 $tracelevel)
12021 if defined $::RD_TRACE;
12022 5 undef $lastsep;
12023 5 $expectation->is(q{})->at($text);
12024
12025  
12026 5 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:[a-zA-Z0-9-]+)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[a-zA-Z0-9-]+)/) 0 5 5
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[a-zA-Z0-9-]+)/
!ll&&!rl&&r
005
($lastsep = $1) && ''
!ll
50
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:[a-zA-Z0-9-]+)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:[a-zA-Z0-9-]+)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:[a-zA-Z0-9-]+)/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
12027 {
12028 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
12029 0 $expectation->failed();
12030 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12031 Parse::RecDescent::_tracefirst($text))
12032 if defined $::RD_TRACE;
12033  
12034 0 last;
12035 }
12036 5 $current_match = substr($text, $-[0], $+[0] - $-[0]);
12037 5 substr($text,0,length($current_match),q{});
12038 5 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
12039 . $current_match . q{])},
12040 Parse::RecDescent::_tracefirst($text))
12041 if defined $::RD_TRACE;
12042 5 push @item, $item{__PATTERN1__}=$current_match;
12043
12044  
12045 5 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/[a-zA-Z0-9-]+/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 5 5
12046 Parse::RecDescent::_tracefirst($text),
12047 q{value_dns_name},
12048 $tracelevel)
12049 if defined $::RD_TRACE;
12050  
12051  
12052  
12053 5 $_matched = 1;
12054 5 last;
12055 }
12056  
12057  
12058 5 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 5 5
12059 {
12060
12061 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12062 Parse::RecDescent::_tracefirst($_[1]),
12063 q{value_dns_name},
12064 $tracelevel)
12065 if defined $::RD_TRACE;
12066 0 my $thisprod = $thisrule->{"prods"}[1];
12067
12068 0 my $_savetext;
12069 0 @item = (q{value_dns_name});
12070 0 %item = (__RULE__ => q{value_dns_name});
12071 0 my $repcount = 0;
12072  
12073  
12074
12075  
12076 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12077 Parse::RecDescent::_tracefirst($text),
12078 q{value_dns_name},
12079 $tracelevel)
12080 if defined $::RD_TRACE;
12081 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
12082 0 my $rule = $item[0];
12083 0 $rule =~ s/_/ /g;
12084 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
12085 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
12086 0 } unless $_noactions; undef } else {0} };
12087 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
12088 {
12089 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12090 . $_tok . q{])},
12091 Parse::RecDescent::_tracefirst($text))
12092 if defined $::RD_TRACE;
12093 }
12094 else
12095 {
12096 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12097 Parse::RecDescent::_tracefirst($text))
12098 if defined $::RD_TRACE;
12099 }
12100
12101 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
12102 0 push @item, $item{__DIRECTIVE1__}=$_tok;
12103
12104  
12105 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12106 Parse::RecDescent::_tracefirst($text),
12107 q{value_dns_name},
12108 $tracelevel)
12109 if defined $::RD_TRACE;
12110  
12111  
12112  
12113 0 $_matched = 1;
12114 0 last;
12115 }
12116  
12117  
12118 5 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 5 5
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
500
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
12119 {
12120
12121  
12122 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
12123 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12124 Parse::RecDescent::_tracefirst($_[1]),
12125 q{value_dns_name},
12126 $tracelevel)
12127 if defined $::RD_TRACE;
12128 0 return undef;
12129 }
12130 5 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 5 5
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
050
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
ABresult
0X0
100
111
12131 {
12132 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12133 q{value_dns_name},
12134 $tracelevel)
12135 if defined $::RD_TRACE;
12136 0 $return = $score_return;
12137 }
12138 5 splice @{$thisparser->{errors}}, $err_at;
12139 5 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 5 0 5
12140 5 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 5 5
12141 {
12142 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12143 $return . q{])}, "",
12144 q{value_dns_name},
12145 $tracelevel);
12146 0 Parse::RecDescent::_trace(q{(consumed: [} .
12147 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12148 Parse::RecDescent::_tracefirst($text),
12149 , q{value_dns_name},
12150 $tracelevel)
12151 }
12152 5 $_[1] = $text;
12153 5 return $return;
12154 }
12155  
12156 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
12157 sub Parse::RecDescent::Config::Maker::Grammar::value_dns_zone
12158 0 ▶{
Subroutine value_dns_zone: not called CC=33 SCAR=69.7
12159 0 my $thisparser = $_[0];
12160 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
12161 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
12162 0 $ERRORS = 0;
12163 0 my $thisrule = $thisparser->{"rules"}{"value_dns_zone"};
12164  
12165 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_dns_zone]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12166 Parse::RecDescent::_tracefirst($_[1]),
12167 q{value_dns_zone},
12168 $tracelevel)
12169 if defined $::RD_TRACE;
12170  
12171
12172 0 my $err_at = @{$thisparser->{errors}};
12173  
12174 0 my $score;
12175 my $score_return;
12176 0 my $_tok;
12177 0 my $return = undef;
12178 0 my $_matched=0;
12179 0 my $commit=0;
12180 0 my @item = ();
12181 0 my %item = ();
12182 0 my $repeating = $_[2];
12183 0 my $_noactions = $_[3];
12184 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
12185 0 my $_itempos = $_[5];
12186 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
12187 0 my $text;
12188 my $lastsep;
12189 0 my $current_match;
12190 0 my $expectation = new Parse::RecDescent::Expectation(q{/([a-zA-Z0-9-]+\\.)*[a-zA-Z0-9-]+\\.?/});
12191 0 $expectation->at($_[1]);
12192
12193 0 my $thisline;
12194 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12195  
12196
12197  
12198 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
12199 {
12200
12201 0 ▶ Parse::RecDescent::_trace(q{Trying production: [/([a-zA-Z0-9-]+\\.)*[a-zA-Z0-9-]+\\.?/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12202 Parse::RecDescent::_tracefirst($_[1]),
12203 q{value_dns_zone},
12204 $tracelevel)
12205 if defined $::RD_TRACE;
12206 0 my $thisprod = $thisrule->{"prods"}[0];
12207 0 $text = $_[1];
12208 0 my $_savetext;
12209 0 @item = (q{value_dns_zone});
12210 0 %item = (__RULE__ => q{value_dns_zone});
12211 0 my $repcount = 0;
12212  
12213  
12214 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/([a-zA-Z0-9-]+\\.)*[a-zA-Z0-9-]+\\.?/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12215 q{value_dns_zone},
12216 $tracelevel)
12217 if defined $::RD_TRACE;
12218 0 undef $lastsep;
12219 0 $expectation->is(q{})->at($text);
12220
12221  
12222 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.?)/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
12223 {
12224 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
12225 0 $expectation->failed();
12226 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12227 Parse::RecDescent::_tracefirst($text))
12228 if defined $::RD_TRACE;
12229  
12230 0 last;
12231 }
12232 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
12233 0 substr($text,0,length($current_match),q{});
12234 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12235 . $current_match . q{])},
12236 Parse::RecDescent::_tracefirst($text))
12237 if defined $::RD_TRACE;
12238 0 push @item, $item{__PATTERN1__}=$current_match;
12239
12240  
12241 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/([a-zA-Z0-9-]+\\.)*[a-zA-Z0-9-]+\\.?/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12242 Parse::RecDescent::_tracefirst($text),
12243 q{value_dns_zone},
12244 $tracelevel)
12245 if defined $::RD_TRACE;
12246  
12247  
12248  
12249 0 $_matched = 1;
12250 0 last;
12251 }
12252  
12253  
12254 0 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 0 0
12255 {
12256
12257 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12258 Parse::RecDescent::_tracefirst($_[1]),
12259 q{value_dns_zone},
12260 $tracelevel)
12261 if defined $::RD_TRACE;
12262 0 my $thisprod = $thisrule->{"prods"}[1];
12263
12264 0 my $_savetext;
12265 0 @item = (q{value_dns_zone});
12266 0 %item = (__RULE__ => q{value_dns_zone});
12267 0 my $repcount = 0;
12268  
12269  
12270
12271  
12272 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12273 Parse::RecDescent::_tracefirst($text),
12274 q{value_dns_zone},
12275 $tracelevel)
12276 if defined $::RD_TRACE;
12277 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
12278 0 my $rule = $item[0];
12279 0 $rule =~ s/_/ /g;
12280 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
12281 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
12282 0 } unless $_noactions; undef } else {0} };
12283 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
12284 {
12285 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12286 . $_tok . q{])},
12287 Parse::RecDescent::_tracefirst($text))
12288 if defined $::RD_TRACE;
12289 }
12290 else
12291 {
12292 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12293 Parse::RecDescent::_tracefirst($text))
12294 if defined $::RD_TRACE;
12295 }
12296
12297 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
12298 0 push @item, $item{__DIRECTIVE1__}=$_tok;
12299
12300  
12301 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12302 Parse::RecDescent::_tracefirst($text),
12303 q{value_dns_zone},
12304 $tracelevel)
12305 if defined $::RD_TRACE;
12306  
12307  
12308  
12309 0 $_matched = 1;
12310 0 last;
12311 }
12312  
12313  
12314 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
12315 {
12316
12317  
12318 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
12319 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12320 Parse::RecDescent::_tracefirst($_[1]),
12321 q{value_dns_zone},
12322 $tracelevel)
12323 if defined $::RD_TRACE;
12324 0 return undef;
12325 }
12326 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
12327 {
12328 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12329 q{value_dns_zone},
12330 $tracelevel)
12331 if defined $::RD_TRACE;
12332 0 $return = $score_return;
12333 }
12334 0 splice @{$thisparser->{errors}}, $err_at;
12335 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
12336 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
12337 {
12338 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12339 $return . q{])}, "",
12340 q{value_dns_zone},
12341 $tracelevel);
12342 0 Parse::RecDescent::_trace(q{(consumed: [} .
12343 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12344 Parse::RecDescent::_tracefirst($text),
12345 , q{value_dns_zone},
12346 $tracelevel)
12347 }
12348 0 $_[1] = $text;
12349 0 return $return;
12350 }
12351  
12352 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
12353 sub Parse::RecDescent::Config::Maker::Grammar::value_identifier
12354 367 ▶{
Subroutine value_identifier: called CC=30 SCAR=48.8
12355 367 my $thisparser = $_[0];
12356 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
12357 367 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3670
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
12358 367 $ERRORS = 0;
12359 367 my $thisrule = $thisparser->{"rules"}{"value_identifier"};
12360  
12361 367 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 367 367
12362 Parse::RecDescent::_tracefirst($_[1]),
12363 q{value_identifier},
12364 $tracelevel)
12365 if defined $::RD_TRACE;
12366  
12367
12368 367 my $err_at = @{$thisparser->{errors}};
12369  
12370 367 my $score;
12371 my $score_return;
12372 367 my $_tok;
12373 367 my $return = undef;
12374 367 my $_matched=0;
12375 367 my $commit=0;
12376 367 my @item = ();
12377 367 my %item = ();
12378 367 my $repeating = $_[2];
12379 367 my $_noactions = $_[3];
12380 367 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 367 0 367
12381 367 my $_itempos = $_[5];
12382 367 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 331 36 367
12383 367 my $text;
12384 my $lastsep;
12385 367 my $current_match;
12386 367 my $expectation = new Parse::RecDescent::Expectation(q{identifier});
12387 367 $expectation->at($_[1]);
12388
12389 367 my $thisline;
12390 367 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12391  
12392
12393  
12394 367 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 367 0 367
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00367
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
12395 {
12396
12397 367 ▶ Parse::RecDescent::_trace(q{Trying production: [identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 367 367
12398 Parse::RecDescent::_tracefirst($_[1]),
12399 q{value_identifier},
12400 $tracelevel)
12401 if defined $::RD_TRACE;
12402 367 my $thisprod = $thisrule->{"prods"}[0];
12403 367 $text = $_[1];
12404 367 my $_savetext;
12405 367 @item = (q{value_identifier});
12406 367 %item = (__RULE__ => q{value_identifier});
12407 367 my $repcount = 0;
12408  
12409  
12410 367 ▶ Parse::RecDescent::_trace(q{Trying subrule: [identifier]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 367 367
12411 Parse::RecDescent::_tracefirst($text),
12412 q{value_identifier},
12413 $tracelevel)
12414 if defined $::RD_TRACE;
12415 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
12416 367 $expectation->is(q{})->at($text);
12417 367 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::identifier($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = identifier($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 367 367
12418 {
12419
12420 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [identifier]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12421 Parse::RecDescent::_tracefirst($text),
12422 q{value_identifier},
12423 $tracelevel)
12424 if defined $::RD_TRACE;
12425 0 $expectation->failed();
12426 0 last;
12427 }
12428 367 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [identifier]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 367 367
12429 . $_tok . q{]},
12430  
12431 Parse::RecDescent::_tracefirst($text),
12432 q{value_identifier},
12433 $tracelevel)
12434 if defined $::RD_TRACE;
12435 367 $item{q{identifier}} = $_tok;
12436 367 push @item, $_tok;
12437
12438 }
12439  
12440 367 ▶ Parse::RecDescent::_trace(q{>>Matched production: [identifier]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 367 367
12441 Parse::RecDescent::_tracefirst($text),
12442 q{value_identifier},
12443 $tracelevel)
12444 if defined $::RD_TRACE;
12445  
12446  
12447  
12448 367 $_matched = 1;
12449 367 last;
12450 }
12451  
12452  
12453 367 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 367 367
12454 {
12455
12456 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12457 Parse::RecDescent::_tracefirst($_[1]),
12458 q{value_identifier},
12459 $tracelevel)
12460 if defined $::RD_TRACE;
12461 0 my $thisprod = $thisrule->{"prods"}[1];
12462
12463 0 my $_savetext;
12464 0 @item = (q{value_identifier});
12465 0 %item = (__RULE__ => q{value_identifier});
12466 0 my $repcount = 0;
12467  
12468  
12469
12470  
12471 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12472 Parse::RecDescent::_tracefirst($text),
12473 q{value_identifier},
12474 $tracelevel)
12475 if defined $::RD_TRACE;
12476 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
12477 0 my $rule = $item[0];
12478 0 $rule =~ s/_/ /g;
12479 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
12480 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
12481 0 } unless $_noactions; undef } else {0} };
12482 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
12483 {
12484 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12485 . $_tok . q{])},
12486 Parse::RecDescent::_tracefirst($text))
12487 if defined $::RD_TRACE;
12488 }
12489 else
12490 {
12491 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12492 Parse::RecDescent::_tracefirst($text))
12493 if defined $::RD_TRACE;
12494 }
12495
12496 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
12497 0 push @item, $item{__DIRECTIVE1__}=$_tok;
12498
12499  
12500 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12501 Parse::RecDescent::_tracefirst($text),
12502 q{value_identifier},
12503 $tracelevel)
12504 if defined $::RD_TRACE;
12505  
12506  
12507  
12508 0 $_matched = 1;
12509 0 last;
12510 }
12511  
12512  
12513 367 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 367 367
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
36700
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
12514 {
12515
12516  
12517 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
12518 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12519 Parse::RecDescent::_tracefirst($_[1]),
12520 q{value_identifier},
12521 $tracelevel)
12522 if defined $::RD_TRACE;
12523 0 return undef;
12524 }
12525 367 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 367 367
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
03670
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
ABresult
0X0
100
111
12526 {
12527 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12528 q{value_identifier},
12529 $tracelevel)
12530 if defined $::RD_TRACE;
12531 0 $return = $score_return;
12532 }
12533 367 splice @{$thisparser->{errors}}, $err_at;
12534 367 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 367 0 367
12535 367 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 367 367
12536 {
12537 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12538 $return . q{])}, "",
12539 q{value_identifier},
12540 $tracelevel);
12541 0 Parse::RecDescent::_trace(q{(consumed: [} .
12542 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12543 Parse::RecDescent::_tracefirst($text),
12544 , q{value_identifier},
12545 $tracelevel)
12546 }
12547 367 $_[1] = $text;
12548 367 return $return;
12549 }
12550  
12551 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
12552 sub Parse::RecDescent::Config::Maker::Grammar::value_ipv4
12553 12 ▶{
Subroutine value_ipv4: called CC=62 SCAR=58.3
12554 12 my $thisparser = $_[0];
12555 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
12556 12 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
120
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
12557 12 $ERRORS = 0;
12558 12 my $thisrule = $thisparser->{"rules"}{"value_ipv4"};
12559  
12560 12 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12561 Parse::RecDescent::_tracefirst($_[1]),
12562 q{value_ipv4},
12563 $tracelevel)
12564 if defined $::RD_TRACE;
12565  
12566
12567 12 my $err_at = @{$thisparser->{errors}};
12568  
12569 12 my $score;
12570 my $score_return;
12571 12 my $_tok;
12572 12 my $return = undef;
12573 12 my $_matched=0;
12574 12 my $commit=0;
12575 12 my @item = ();
12576 12 my %item = ();
12577 12 my $repeating = $_[2];
12578 12 my $_noactions = $_[3];
12579 12 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 12 0 12
12580 12 my $_itempos = $_[5];
12581 12 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 12 0 12
12582 12 my $text;
12583 my $lastsep;
12584 12 my $current_match;
12585 12 my $expectation = new Parse::RecDescent::Expectation(q{});
12586 12 $expectation->at($_[1]);
12587
12588 12 my $thisline;
12589 12 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12590  
12591
12592  
12593 12 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 12 0 12
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0012
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
12594 {
12595 12 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 12 0 12
12596 12 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> <leftop: byte '.' byte>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12597 Parse::RecDescent::_tracefirst($_[1]),
12598 q{value_ipv4},
12599 $tracelevel)
12600 if defined $::RD_TRACE;
12601 12 my $thisprod = $thisrule->{"prods"}[0];
12602 12 $text = $_[1];
12603 12 my $_savetext;
12604 12 @item = (q{value_ipv4});
12605 12 %item = (__RULE__ => q{value_ipv4});
12606 12 my $repcount = 0;
12607  
12608  
12609
12610  
12611 12 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12612 Parse::RecDescent::_tracefirst($text),
12613 q{value_ipv4},
12614 $tracelevel)
12615 if defined $::RD_TRACE;
12616 12 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
12617 12 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 12 0 12
12618 {
12619 12 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12620 . $_tok . q{])},
12621 Parse::RecDescent::_tracefirst($text))
12622 if defined $::RD_TRACE;
12623 }
12624 else
12625 {
12626 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12627 Parse::RecDescent::_tracefirst($text))
12628 if defined $::RD_TRACE;
12629 }
12630
12631 12 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 12 12
12632 12 push @item, $item{__DIRECTIVE1__}=$_tok;
12633
12634  
12635 12 ▶ Parse::RecDescent::_trace(q{Trying operator: [<leftop: byte '.' byte>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12636 Parse::RecDescent::_tracefirst($text),
12637 q{value_ipv4},
12638 $tracelevel)
12639 if defined $::RD_TRACE;
12640 12 $expectation->is(q{<leftop: byte '.' byte>})->at($text);
12641  
12642 12 $_tok = undef;
12643 12 OPLOOP: while (1)
12644 {
12645 12 $repcount = 0;
12646 12 my @item;
12647 my %item;
12648  
12649 # MATCH LEFTARG
12650
12651 12 ▶ Parse::RecDescent::_trace(q{Trying subrule: [byte]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12652 Parse::RecDescent::_tracefirst($text),
12653 q{value_ipv4},
12654 $tracelevel)
12655 if defined $::RD_TRACE;
12656 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
12657 12 $expectation->is(q{byte})->at($text);
12658 12 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::byte($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = byte($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 12 12
12659 {
12660
12661 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [byte]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12662 Parse::RecDescent::_tracefirst($text),
12663 q{value_ipv4},
12664 $tracelevel)
12665 if defined $::RD_TRACE;
12666 0 $expectation->failed();
12667 0 last;
12668 }
12669 12 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [byte]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12670 . $_tok . q{]},
12671  
12672 Parse::RecDescent::_tracefirst($text),
12673 q{value_ipv4},
12674 $tracelevel)
12675 if defined $::RD_TRACE;
12676 12 $item{q{byte}} = $_tok;
12677 12 push @item, $_tok;
12678
12679 }
12680  
12681  
12682  
12683 12 $repcount++;
12684  
12685 12 my $savetext = $text;
12686 12 my $backtrack;
12687  
12688 # MATCH (OP RIGHTARG)(s)
12689 12 ▶ while ($repcount < 100000000)
Branch: 1 branch
BranchTrueFalseTotal
if ($repcount < 100000000) 48 0 48
12690 {
12691 48 $backtrack = 0;
12692
12693 48 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['.']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 48 48
12694 Parse::RecDescent::_tracefirst($text),
12695 q{value_ipv4},
12696 $tracelevel)
12697 if defined $::RD_TRACE;
12698 48 undef $lastsep;
12699 48 $expectation->is(q{'.'})->at($text);
12700
12701  
12702 48 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\./)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\./) 12 36 48
Condition60%3/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\./
!ll&&!rl&&r
01236
($lastsep = $1) && ''
!ll
480
MC/DC50%1/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\./
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\./
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
12703 {
12704 12 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 12 0 12
12705
12706 12 $expectation->failed();
12707 12 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12708 Parse::RecDescent::_tracefirst($text))
12709 if defined $::RD_TRACE;
12710 12 last;
12711 }
12712 36 $current_match = substr($text, $-[0], $+[0] - $-[0]);
12713 36 substr($text,0,length($current_match),q{});
12714 36 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 36 36
12715 . $current_match . q{])},
12716 Parse::RecDescent::_tracefirst($text))
12717 if defined $::RD_TRACE;
12718 36 push @item, $item{__STRING1__}=$current_match;
12719
12720  
12721 36 pop @item;
12722
12723
12724 36 ▶ Parse::RecDescent::_trace(q{Trying subrule: [byte]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 36 36
12725 Parse::RecDescent::_tracefirst($text),
12726 q{value_ipv4},
12727 $tracelevel)
12728 if defined $::RD_TRACE;
12729 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
12730 36 $expectation->is(q{byte})->at($text);
12731 36 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::byte($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = byte($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 36 36
12732 {
12733
12734 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [byte]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12735 Parse::RecDescent::_tracefirst($text),
12736 q{value_ipv4},
12737 $tracelevel)
12738 if defined $::RD_TRACE;
12739 0 $expectation->failed();
12740 0 last;
12741 }
12742 36 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [byte]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 36 36
12743 . $_tok . q{]},
12744  
12745 Parse::RecDescent::_tracefirst($text),
12746 q{value_ipv4},
12747 $tracelevel)
12748 if defined $::RD_TRACE;
12749 36 $item{q{byte}} = $_tok;
12750 36 push @item, $_tok;
12751
12752 }
12753  
12754 36 $savetext = $text;
12755 36 $repcount++;
12756 }
12757 12 $text = $savetext;
12758 12 ▶ pop @item if $backtrack;
Branch: 1 branch
BranchTrueFalseTotal
if $backtrack 0 12 12
12759  
12760 0 ▶ unless (@item) { undef $_tok; last }
Branch: 1 branch
BranchTrueFalseTotal
unless (@item) 0 12 12
12761 12 $_tok = [ @item ];
12762  
12763 12 last;
12764 } # end of OPLOOP
12765  
12766 12 ▶ unless ($repcount>=1)
Branch: 1 branch
BranchTrueFalseTotal
unless ($repcount >= 1) 0 12 12
12767 {
12768 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match operator: [<leftop: byte '.' byte>]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12769 Parse::RecDescent::_tracefirst($text),
12770 q{value_ipv4},
12771 $tracelevel)
12772 if defined $::RD_TRACE;
12773 0 $expectation->failed();
12774 0 last;
12775 }
12776 12 ▶ Parse::RecDescent::_trace(q{>>Matched operator: [<leftop: byte '.' byte>]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12777 0 ▶ . qq{@{$_tok||[]}} . q{]},
Condition0%0/2
$_tok || []
l!l
00
MC/DC0%0/1
$_tok || []
$_tok
Truth table0%0/2
A
A= $_tok
Aresult
11
00
12778 Parse::RecDescent::_tracefirst($text),
12779 q{value_ipv4},
12780 $tracelevel)
12781 if defined $::RD_TRACE;
12782  
12783 12 ▶ push @item, $item{__DIRECTIVE2__}=$_tok||[];
Condition50%1/2
$_tok || []
l!l
120
MC/DC0%0/1
$_tok || []
$_tok
Truth table50%1/2
A
A= $_tok
Aresult
11
00
12784  
12785 12 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12786 Parse::RecDescent::_tracefirst($text),
12787 q{value_ipv4},
12788 $tracelevel)
12789 if defined $::RD_TRACE;
12790
12791  
12792 12 ▶ $_tok = ($_noactions) ? 0 : do { @{$item[2]} == 4 ? join '.', @{$item[2]} : undef; };
Branch: 2 branches
BranchTrueFalseTotal
$_noactions ? : 0 12 12
@{$item[2];} == 4 ? : 12 0 12
12793 12 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 12 12
12794 {
12795 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12796 if defined $::RD_TRACE;
12797 0 last;
12798 }
12799 12 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12800 . $_tok . q{])},
12801 Parse::RecDescent::_tracefirst($text))
12802 if defined $::RD_TRACE;
12803 12 push @item, $_tok;
12804 12 $item{__ACTION1__}=$_tok;
12805
12806  
12807 12 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> <leftop: byte '.' byte>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 12 12
12808 Parse::RecDescent::_tracefirst($text),
12809 q{value_ipv4},
12810 $tracelevel)
12811 if defined $::RD_TRACE;
12812  
12813  
12814  
12815 12 $_matched = 1;
12816 12 last;
12817 }
12818  
12819  
12820 12 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 12 12
12821 {
12822
12823 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12824 Parse::RecDescent::_tracefirst($_[1]),
12825 q{value_ipv4},
12826 $tracelevel)
12827 if defined $::RD_TRACE;
12828 0 my $thisprod = $thisrule->{"prods"}[1];
12829
12830 0 my $_savetext;
12831 0 @item = (q{value_ipv4});
12832 0 %item = (__RULE__ => q{value_ipv4});
12833 0 my $repcount = 0;
12834  
12835  
12836
12837  
12838 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12839 Parse::RecDescent::_tracefirst($text),
12840 q{value_ipv4},
12841 $tracelevel)
12842 if defined $::RD_TRACE;
12843 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
12844 0 my $rule = $item[0];
12845 0 $rule =~ s/_/ /g;
12846 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
12847 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
12848 0 } unless $_noactions; undef } else {0} };
12849 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
12850 {
12851 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12852 . $_tok . q{])},
12853 Parse::RecDescent::_tracefirst($text))
12854 if defined $::RD_TRACE;
12855 }
12856 else
12857 {
12858 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12859 Parse::RecDescent::_tracefirst($text))
12860 if defined $::RD_TRACE;
12861 }
12862
12863 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
12864 0 push @item, $item{__DIRECTIVE1__}=$_tok;
12865
12866  
12867 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12868 Parse::RecDescent::_tracefirst($text),
12869 q{value_ipv4},
12870 $tracelevel)
12871 if defined $::RD_TRACE;
12872  
12873  
12874  
12875 0 $_matched = 1;
12876 0 last;
12877 }
12878  
12879  
12880 12 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 12 12
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
1200
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
12881 {
12882
12883  
12884 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
12885 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12886 Parse::RecDescent::_tracefirst($_[1]),
12887 q{value_ipv4},
12888 $tracelevel)
12889 if defined $::RD_TRACE;
12890 0 return undef;
12891 }
12892 12 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 12 12
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0120
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
ABresult
0X0
100
111
12893 {
12894 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12895 q{value_ipv4},
12896 $tracelevel)
12897 if defined $::RD_TRACE;
12898 0 $return = $score_return;
12899 }
12900 12 splice @{$thisparser->{errors}}, $err_at;
12901 12 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 12 0 12
12902 12 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 12 12
12903 {
12904 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
12905 $return . q{])}, "",
12906 q{value_ipv4},
12907 $tracelevel);
12908 0 Parse::RecDescent::_trace(q{(consumed: [} .
12909 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
12910 Parse::RecDescent::_tracefirst($text),
12911 , q{value_ipv4},
12912 $tracelevel)
12913 }
12914 12 $_[1] = $text;
12915 12 return $return;
12916 }
12917  
12918 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
12919 sub Parse::RecDescent::Config::Maker::Grammar::value_ipv4_mask
12920 3 ▶{
Subroutine value_ipv4_mask: called CC=52 SCAR=57.6
12921 3 my $thisparser = $_[0];
12922 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
12923 3 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
30
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
12924 3 $ERRORS = 0;
12925 3 my $thisrule = $thisparser->{"rules"}{"value_ipv4_mask"};
12926  
12927 3 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_ipv4_mask]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
12928 Parse::RecDescent::_tracefirst($_[1]),
12929 q{value_ipv4_mask},
12930 $tracelevel)
12931 if defined $::RD_TRACE;
12932  
12933
12934 3 my $err_at = @{$thisparser->{errors}};
12935  
12936 3 my $score;
12937 my $score_return;
12938 3 my $_tok;
12939 3 my $return = undef;
12940 3 my $_matched=0;
12941 3 my $commit=0;
12942 3 my @item = ();
12943 3 my %item = ();
12944 3 my $repeating = $_[2];
12945 3 my $_noactions = $_[3];
12946 3 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 3 0 3
12947 3 my $_itempos = $_[5];
12948 3 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 3 0 3
12949 3 my $text;
12950 my $lastsep;
12951 3 my $current_match;
12952 3 my $expectation = new Parse::RecDescent::Expectation(q{});
12953 3 $expectation->at($_[1]);
12954
12955 3 my $thisline;
12956 3 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
12957  
12958
12959  
12960 3 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 3 0 3
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
003
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
12961 {
12962 3 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 3 0 3
12963 3 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> value_ipv4 '/' decint, or value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
12964 Parse::RecDescent::_tracefirst($_[1]),
12965 q{value_ipv4_mask},
12966 $tracelevel)
12967 if defined $::RD_TRACE;
12968 3 my $thisprod = $thisrule->{"prods"}[0];
12969 3 $text = $_[1];
12970 3 my $_savetext;
12971 3 @item = (q{value_ipv4_mask});
12972 3 %item = (__RULE__ => q{value_ipv4_mask});
12973 3 my $repcount = 0;
12974  
12975  
12976
12977  
12978 3 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
12979 Parse::RecDescent::_tracefirst($text),
12980 q{value_ipv4_mask},
12981 $tracelevel)
12982 if defined $::RD_TRACE;
12983 3 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
12984 3 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 3 0 3
12985 {
12986 3 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
12987 . $_tok . q{])},
12988 Parse::RecDescent::_tracefirst($text))
12989 if defined $::RD_TRACE;
12990 }
12991 else
12992 {
12993 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
12994 Parse::RecDescent::_tracefirst($text))
12995 if defined $::RD_TRACE;
12996 }
12997
12998 3 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 3 3
12999 3 push @item, $item{__DIRECTIVE1__}=$_tok;
13000
13001  
13002 3 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13003 Parse::RecDescent::_tracefirst($text),
13004 q{value_ipv4_mask},
13005 $tracelevel)
13006 if defined $::RD_TRACE;
13007 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
13008 3 $expectation->is(q{value_ipv4})->at($text);
13009 3 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value_ipv4($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value_ipv4($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 3 3
13010 {
13011
13012 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_ipv4]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13013 Parse::RecDescent::_tracefirst($text),
13014 q{value_ipv4_mask},
13015 $tracelevel)
13016 if defined $::RD_TRACE;
13017 0 $expectation->failed();
13018 0 last;
13019 }
13020 3 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_ipv4]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13021 . $_tok . q{]},
13022  
13023 Parse::RecDescent::_tracefirst($text),
13024 q{value_ipv4_mask},
13025 $tracelevel)
13026 if defined $::RD_TRACE;
13027 3 $item{q{value_ipv4}} = $_tok;
13028 3 push @item, $_tok;
13029
13030 }
13031  
13032 3 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['/']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13033 Parse::RecDescent::_tracefirst($text),
13034 q{value_ipv4_mask},
13035 $tracelevel)
13036 if defined $::RD_TRACE;
13037 3 undef $lastsep;
13038 3 $expectation->is(q{'/'})->at($text);
13039
13040  
13041 3 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\//)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A/]) 0 3 3
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A/]
!ll&&!rl&&r
003
($lastsep = $1) && ''
!ll
30
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ m[\A/]
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ m[\A/]
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table33%1/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ m[\A/]
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
13042 {
13043 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
13044
13045 0 $expectation->failed();
13046 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13047 Parse::RecDescent::_tracefirst($text))
13048 if defined $::RD_TRACE;
13049 0 last;
13050 }
13051 3 $current_match = substr($text, $-[0], $+[0] - $-[0]);
13052 3 substr($text,0,length($current_match),q{});
13053 3 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13054 . $current_match . q{])},
13055 Parse::RecDescent::_tracefirst($text))
13056 if defined $::RD_TRACE;
13057 3 push @item, $item{__STRING1__}=$current_match;
13058
13059  
13060 3 ▶ Parse::RecDescent::_trace(q{Trying subrule: [_alternation_1_of_production_1_of_rule_value_ipv4_mask]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13061 Parse::RecDescent::_tracefirst($text),
13062 q{value_ipv4_mask},
13063 $tracelevel)
13064 if defined $::RD_TRACE;
13065 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
13066 3 $expectation->is(q{decint, or value_ipv4})->at($text);
13067 3 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::_alternation_1_of_production_1_of_rule_value_ipv4_mask($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = _alternation_1_of_production_1_of_rule_value_ipv4_mask($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 3 3
13068 {
13069
13070 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [_alternation_1_of_production_1_of_rule_value_ipv4_mask]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13071 Parse::RecDescent::_tracefirst($text),
13072 q{value_ipv4_mask},
13073 $tracelevel)
13074 if defined $::RD_TRACE;
13075 0 $expectation->failed();
13076 0 last;
13077 }
13078 3 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [_alternation_1_of_production_1_of_rule_value_ipv4_mask]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13079 . $_tok . q{]},
13080  
13081 Parse::RecDescent::_tracefirst($text),
13082 q{value_ipv4_mask},
13083 $tracelevel)
13084 if defined $::RD_TRACE;
13085 3 $item{q{_alternation_1_of_production_1_of_rule_value_ipv4_mask}} = $_tok;
13086 3 push @item, $_tok;
13087
13088 }
13089  
13090 3 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13091 Parse::RecDescent::_tracefirst($text),
13092 q{value_ipv4_mask},
13093 $tracelevel)
13094 if defined $::RD_TRACE;
13095
13096  
13097 3 ▶ $_tok = ($_noactions) ? 0 : do { "$item[2]/$item[-1]"; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 3 3
13098 3 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 3 3
13099 {
13100 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13101 if defined $::RD_TRACE;
13102 0 last;
13103 }
13104 3 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13105 . $_tok . q{])},
13106 Parse::RecDescent::_tracefirst($text))
13107 if defined $::RD_TRACE;
13108 3 push @item, $_tok;
13109 3 $item{__ACTION1__}=$_tok;
13110
13111  
13112 3 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> value_ipv4 '/' decint, or value_ipv4]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 3 3
13113 Parse::RecDescent::_tracefirst($text),
13114 q{value_ipv4_mask},
13115 $tracelevel)
13116 if defined $::RD_TRACE;
13117  
13118  
13119  
13120 3 $_matched = 1;
13121 3 last;
13122 }
13123  
13124  
13125 3 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 3 3
13126 {
13127
13128 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13129 Parse::RecDescent::_tracefirst($_[1]),
13130 q{value_ipv4_mask},
13131 $tracelevel)
13132 if defined $::RD_TRACE;
13133 0 my $thisprod = $thisrule->{"prods"}[1];
13134
13135 0 my $_savetext;
13136 0 @item = (q{value_ipv4_mask});
13137 0 %item = (__RULE__ => q{value_ipv4_mask});
13138 0 my $repcount = 0;
13139  
13140  
13141
13142  
13143 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13144 Parse::RecDescent::_tracefirst($text),
13145 q{value_ipv4_mask},
13146 $tracelevel)
13147 if defined $::RD_TRACE;
13148 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
13149 0 my $rule = $item[0];
13150 0 $rule =~ s/_/ /g;
13151 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
13152 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
13153 0 } unless $_noactions; undef } else {0} };
13154 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
13155 {
13156 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13157 . $_tok . q{])},
13158 Parse::RecDescent::_tracefirst($text))
13159 if defined $::RD_TRACE;
13160 }
13161 else
13162 {
13163 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13164 Parse::RecDescent::_tracefirst($text))
13165 if defined $::RD_TRACE;
13166 }
13167
13168 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
13169 0 push @item, $item{__DIRECTIVE1__}=$_tok;
13170
13171  
13172 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13173 Parse::RecDescent::_tracefirst($text),
13174 q{value_ipv4_mask},
13175 $tracelevel)
13176 if defined $::RD_TRACE;
13177  
13178  
13179  
13180 0 $_matched = 1;
13181 0 last;
13182 }
13183  
13184  
13185 3 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 3 3
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
13186 {
13187
13188  
13189 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
13190 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13191 Parse::RecDescent::_tracefirst($_[1]),
13192 q{value_ipv4_mask},
13193 $tracelevel)
13194 if defined $::RD_TRACE;
13195 0 return undef;
13196 }
13197 3 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 3 3
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
030
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
ABresult
0X0
100
111
13198 {
13199 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13200 q{value_ipv4_mask},
13201 $tracelevel)
13202 if defined $::RD_TRACE;
13203 0 $return = $score_return;
13204 }
13205 3 splice @{$thisparser->{errors}}, $err_at;
13206 3 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 3 0 3
13207 3 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 3 3
13208 {
13209 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13210 $return . q{])}, "",
13211 q{value_ipv4_mask},
13212 $tracelevel);
13213 0 Parse::RecDescent::_trace(q{(consumed: [} .
13214 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13215 Parse::RecDescent::_tracefirst($text),
13216 , q{value_ipv4_mask},
13217 $tracelevel)
13218 }
13219 3 $_[1] = $text;
13220 3 return $return;
13221 }
13222  
13223 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
13224 sub Parse::RecDescent::Config::Maker::Grammar::value_ipv4_port
13225 2 ▶{
Subroutine value_ipv4_port: called CC=52 SCAR=57.6
13226 2 my $thisparser = $_[0];
13227 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
13228 2 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
20
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
13229 2 $ERRORS = 0;
13230 2 my $thisrule = $thisparser->{"rules"}{"value_ipv4_port"};
13231  
13232 2 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_ipv4_port]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13233 Parse::RecDescent::_tracefirst($_[1]),
13234 q{value_ipv4_port},
13235 $tracelevel)
13236 if defined $::RD_TRACE;
13237  
13238
13239 2 my $err_at = @{$thisparser->{errors}};
13240  
13241 2 my $score;
13242 my $score_return;
13243 2 my $_tok;
13244 2 my $return = undef;
13245 2 my $_matched=0;
13246 2 my $commit=0;
13247 2 my @item = ();
13248 2 my %item = ();
13249 2 my $repeating = $_[2];
13250 2 my $_noactions = $_[3];
13251 2 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 2 0 2
13252 2 my $_itempos = $_[5];
13253 2 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 2 0 2
13254 2 my $text;
13255 my $lastsep;
13256 2 my $current_match;
13257 2 my $expectation = new Parse::RecDescent::Expectation(q{});
13258 2 $expectation->at($_[1]);
13259
13260 2 my $thisline;
13261 2 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13262  
13263
13264  
13265 2 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 2 0 2
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
002
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
13266 {
13267 2 ▶ local $skip = defined($skip) ? $skip : $Parse::RecDescent::skip;
Branch: 1 branch
BranchTrueFalseTotal
defined $Parse::RecDescent::Config::Maker::Grammar::skip ? : 2 0 2
13268 2 ▶ Parse::RecDescent::_trace(q{Trying production: [<skip: ''> value_ipv4 ':' value_port]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13269 Parse::RecDescent::_tracefirst($_[1]),
13270 q{value_ipv4_port},
13271 $tracelevel)
13272 if defined $::RD_TRACE;
13273 2 my $thisprod = $thisrule->{"prods"}[0];
13274 2 $text = $_[1];
13275 2 my $_savetext;
13276 2 @item = (q{value_ipv4_port});
13277 2 %item = (__RULE__ => q{value_ipv4_port});
13278 2 my $repcount = 0;
13279  
13280  
13281
13282  
13283 2 ▶ Parse::RecDescent::_trace(q{Trying directive: [<skip: ''>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13284 Parse::RecDescent::_tracefirst($text),
13285 q{value_ipv4_port},
13286 $tracelevel)
13287 if defined $::RD_TRACE;
13288 2 $_tok = do { my $oldskip = $skip; $skip= ''; $oldskip };
13289 2 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 2 0 2
13290 {
13291 2 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13292 . $_tok . q{])},
13293 Parse::RecDescent::_tracefirst($text))
13294 if defined $::RD_TRACE;
13295 }
13296 else
13297 {
13298 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13299 Parse::RecDescent::_tracefirst($text))
13300 if defined $::RD_TRACE;
13301 }
13302
13303 2 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 2 2
13304 2 push @item, $item{__DIRECTIVE1__}=$_tok;
13305
13306  
13307 2 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_ipv4]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13308 Parse::RecDescent::_tracefirst($text),
13309 q{value_ipv4_port},
13310 $tracelevel)
13311 if defined $::RD_TRACE;
13312 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
13313 2 $expectation->is(q{value_ipv4})->at($text);
13314 2 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value_ipv4($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value_ipv4($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 2 2
13315 {
13316
13317 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_ipv4]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13318 Parse::RecDescent::_tracefirst($text),
13319 q{value_ipv4_port},
13320 $tracelevel)
13321 if defined $::RD_TRACE;
13322 0 $expectation->failed();
13323 0 last;
13324 }
13325 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_ipv4]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13326 . $_tok . q{]},
13327  
13328 Parse::RecDescent::_tracefirst($text),
13329 q{value_ipv4_port},
13330 $tracelevel)
13331 if defined $::RD_TRACE;
13332 2 $item{q{value_ipv4}} = $_tok;
13333 2 push @item, $_tok;
13334
13335 }
13336  
13337 2 ▶ Parse::RecDescent::_trace(q{Trying terminal: [':']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13338 Parse::RecDescent::_tracefirst($text),
13339 q{value_ipv4_port},
13340 $tracelevel)
13341 if defined $::RD_TRACE;
13342 2 undef $lastsep;
13343 2 $expectation->is(q{':'})->at($text);
13344
13345  
13346 2 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\:/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/) 0 2 2
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
!ll&&!rl&&r
002
($lastsep = $1) && ''
!ll
20
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\:/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\:/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
13347 {
13348 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
13349
13350 0 $expectation->failed();
13351 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13352 Parse::RecDescent::_tracefirst($text))
13353 if defined $::RD_TRACE;
13354 0 last;
13355 }
13356 2 $current_match = substr($text, $-[0], $+[0] - $-[0]);
13357 2 substr($text,0,length($current_match),q{});
13358 2 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13359 . $current_match . q{])},
13360 Parse::RecDescent::_tracefirst($text))
13361 if defined $::RD_TRACE;
13362 2 push @item, $item{__STRING1__}=$current_match;
13363
13364  
13365 2 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_port]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13366 Parse::RecDescent::_tracefirst($text),
13367 q{value_ipv4_port},
13368 $tracelevel)
13369 if defined $::RD_TRACE;
13370 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
13371 2 $expectation->is(q{value_port})->at($text);
13372 2 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::value_port($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = value_port($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 2 2
13373 {
13374
13375 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_port]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13376 Parse::RecDescent::_tracefirst($text),
13377 q{value_ipv4_port},
13378 $tracelevel)
13379 if defined $::RD_TRACE;
13380 0 $expectation->failed();
13381 0 last;
13382 }
13383 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_port]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13384 . $_tok . q{]},
13385  
13386 Parse::RecDescent::_tracefirst($text),
13387 q{value_ipv4_port},
13388 $tracelevel)
13389 if defined $::RD_TRACE;
13390 2 $item{q{value_port}} = $_tok;
13391 2 push @item, $_tok;
13392
13393 }
13394  
13395 2 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13396 Parse::RecDescent::_tracefirst($text),
13397 q{value_ipv4_port},
13398 $tracelevel)
13399 if defined $::RD_TRACE;
13400
13401  
13402 2 ▶ $_tok = ($_noactions) ? 0 : do { "$item[2]:$item[-1]"; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 2 2
13403 2 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 2 2
13404 {
13405 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13406 if defined $::RD_TRACE;
13407 0 last;
13408 }
13409 2 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13410 . $_tok . q{])},
13411 Parse::RecDescent::_tracefirst($text))
13412 if defined $::RD_TRACE;
13413 2 push @item, $_tok;
13414 2 $item{__ACTION1__}=$_tok;
13415
13416  
13417 2 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<skip: ''> value_ipv4 ':' value_port]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
13418 Parse::RecDescent::_tracefirst($text),
13419 q{value_ipv4_port},
13420 $tracelevel)
13421 if defined $::RD_TRACE;
13422  
13423  
13424  
13425 2 $_matched = 1;
13426 2 last;
13427 }
13428  
13429  
13430 2 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 2 2
13431 {
13432
13433 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13434 Parse::RecDescent::_tracefirst($_[1]),
13435 q{value_ipv4_port},
13436 $tracelevel)
13437 if defined $::RD_TRACE;
13438 0 my $thisprod = $thisrule->{"prods"}[1];
13439
13440 0 my $_savetext;
13441 0 @item = (q{value_ipv4_port});
13442 0 %item = (__RULE__ => q{value_ipv4_port});
13443 0 my $repcount = 0;
13444  
13445  
13446
13447  
13448 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13449 Parse::RecDescent::_tracefirst($text),
13450 q{value_ipv4_port},
13451 $tracelevel)
13452 if defined $::RD_TRACE;
13453 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
13454 0 my $rule = $item[0];
13455 0 $rule =~ s/_/ /g;
13456 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
13457 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
13458 0 } unless $_noactions; undef } else {0} };
13459 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
13460 {
13461 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13462 . $_tok . q{])},
13463 Parse::RecDescent::_tracefirst($text))
13464 if defined $::RD_TRACE;
13465 }
13466 else
13467 {
13468 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13469 Parse::RecDescent::_tracefirst($text))
13470 if defined $::RD_TRACE;
13471 }
13472
13473 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
13474 0 push @item, $item{__DIRECTIVE1__}=$_tok;
13475
13476  
13477 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13478 Parse::RecDescent::_tracefirst($text),
13479 q{value_ipv4_port},
13480 $tracelevel)
13481 if defined $::RD_TRACE;
13482  
13483  
13484  
13485 0 $_matched = 1;
13486 0 last;
13487 }
13488  
13489  
13490 2 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 2 2
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
200
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
13491 {
13492
13493  
13494 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
13495 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13496 Parse::RecDescent::_tracefirst($_[1]),
13497 q{value_ipv4_port},
13498 $tracelevel)
13499 if defined $::RD_TRACE;
13500 0 return undef;
13501 }
13502 2 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 2 2
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
020
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
ABresult
0X0
100
111
13503 {
13504 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13505 q{value_ipv4_port},
13506 $tracelevel)
13507 if defined $::RD_TRACE;
13508 0 $return = $score_return;
13509 }
13510 2 splice @{$thisparser->{errors}}, $err_at;
13511 2 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 2 0 2
13512 2 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 2 2
13513 {
13514 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13515 $return . q{])}, "",
13516 q{value_ipv4_port},
13517 $tracelevel);
13518 0 Parse::RecDescent::_trace(q{(consumed: [} .
13519 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13520 Parse::RecDescent::_tracefirst($text),
13521 , q{value_ipv4_port},
13522 $tracelevel)
13523 }
13524 2 $_[1] = $text;
13525 2 return $return;
13526 }
13527  
13528 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
13529 sub Parse::RecDescent::Config::Maker::Grammar::value_list
13530 0 ▶{
Subroutine value_list: not called CC=35 SCAR=70.9
13531 0 my $thisparser = $_[0];
13532 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
13533 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
13534 0 $ERRORS = 0;
13535 0 my $thisrule = $thisparser->{"rules"}{"value_list"};
13536  
13537 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_list]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13538 Parse::RecDescent::_tracefirst($_[1]),
13539 q{value_list},
13540 $tracelevel)
13541 if defined $::RD_TRACE;
13542  
13543
13544 0 my $err_at = @{$thisparser->{errors}};
13545  
13546 0 my $score;
13547 my $score_return;
13548 0 my $_tok;
13549 0 my $return = undef;
13550 0 my $_matched=0;
13551 0 my $commit=0;
13552 0 my @item = ();
13553 0 my %item = ();
13554 0 my $repeating = $_[2];
13555 0 my $_noactions = $_[3];
13556 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
13557 0 my $_itempos = $_[5];
13558 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
13559 0 my $text;
13560 my $lastsep;
13561 0 my $current_match;
13562 0 my $expectation = new Parse::RecDescent::Expectation(q{value});
13563 0 $expectation->at($_[1]);
13564
13565 0 my $thisline;
13566 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13567  
13568
13569  
13570 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
13571 {
13572
13573 0 ▶ Parse::RecDescent::_trace(q{Trying production: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13574 Parse::RecDescent::_tracefirst($_[1]),
13575 q{value_list},
13576 $tracelevel)
13577 if defined $::RD_TRACE;
13578 0 my $thisprod = $thisrule->{"prods"}[0];
13579 0 $text = $_[1];
13580 0 my $_savetext;
13581 0 @item = (q{value_list});
13582 0 %item = (__RULE__ => q{value_list});
13583 0 my $repcount = 0;
13584  
13585  
13586 0 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13587 Parse::RecDescent::_tracefirst($text),
13588 q{value_list},
13589 $tracelevel)
13590 if defined $::RD_TRACE;
13591 0 $expectation->is(q{})->at($text);
13592
13593 0 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value, 1, 100000000, $_noactions,$expectation,sub { return [@arg] },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value, 1, 100000000, $_noactions, $expectation, sub { return [@arg]; } , undef))) 0 0 0
13594 {
13595 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [value]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13596 Parse::RecDescent::_tracefirst($text),
13597 q{value_list},
13598 $tracelevel)
13599 if defined $::RD_TRACE;
13600 0 last;
13601 }
13602 0 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [value]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13603 . @$_tok . q{ times)},
13604  
13605 Parse::RecDescent::_tracefirst($text),
13606 q{value_list},
13607 $tracelevel)
13608 if defined $::RD_TRACE;
13609 0 $item{q{value(s)}} = $_tok;
13610 0 push @item, $_tok;
13611
13612  
13613  
13614 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13615 Parse::RecDescent::_tracefirst($text),
13616 q{value_list},
13617 $tracelevel)
13618 if defined $::RD_TRACE;
13619
13620  
13621 0 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Value::List($item[1]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
13622 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
13623 {
13624 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13625 if defined $::RD_TRACE;
13626 0 last;
13627 }
13628 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13629 . $_tok . q{])},
13630 Parse::RecDescent::_tracefirst($text))
13631 if defined $::RD_TRACE;
13632 0 push @item, $_tok;
13633 0 $item{__ACTION1__}=$_tok;
13634
13635  
13636 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [value]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13637 Parse::RecDescent::_tracefirst($text),
13638 q{value_list},
13639 $tracelevel)
13640 if defined $::RD_TRACE;
13641  
13642  
13643  
13644 0 $_matched = 1;
13645 0 last;
13646 }
13647  
13648  
13649 0 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 0 0
13650 {
13651
13652 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13653 Parse::RecDescent::_tracefirst($_[1]),
13654 q{value_list},
13655 $tracelevel)
13656 if defined $::RD_TRACE;
13657 0 my $thisprod = $thisrule->{"prods"}[1];
13658
13659 0 my $_savetext;
13660 0 @item = (q{value_list});
13661 0 %item = (__RULE__ => q{value_list});
13662 0 my $repcount = 0;
13663  
13664  
13665
13666  
13667 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13668 Parse::RecDescent::_tracefirst($text),
13669 q{value_list},
13670 $tracelevel)
13671 if defined $::RD_TRACE;
13672 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
13673 0 my $rule = $item[0];
13674 0 $rule =~ s/_/ /g;
13675 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
13676 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
13677 0 } unless $_noactions; undef } else {0} };
13678 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
13679 {
13680 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13681 . $_tok . q{])},
13682 Parse::RecDescent::_tracefirst($text))
13683 if defined $::RD_TRACE;
13684 }
13685 else
13686 {
13687 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13688 Parse::RecDescent::_tracefirst($text))
13689 if defined $::RD_TRACE;
13690 }
13691
13692 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
13693 0 push @item, $item{__DIRECTIVE1__}=$_tok;
13694
13695  
13696 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13697 Parse::RecDescent::_tracefirst($text),
13698 q{value_list},
13699 $tracelevel)
13700 if defined $::RD_TRACE;
13701  
13702  
13703  
13704 0 $_matched = 1;
13705 0 last;
13706 }
13707  
13708  
13709 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
13710 {
13711
13712  
13713 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
13714 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13715 Parse::RecDescent::_tracefirst($_[1]),
13716 q{value_list},
13717 $tracelevel)
13718 if defined $::RD_TRACE;
13719 0 return undef;
13720 }
13721 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
13722 {
13723 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13724 q{value_list},
13725 $tracelevel)
13726 if defined $::RD_TRACE;
13727 0 $return = $score_return;
13728 }
13729 0 splice @{$thisparser->{errors}}, $err_at;
13730 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
13731 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
13732 {
13733 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13734 $return . q{])}, "",
13735 q{value_list},
13736 $tracelevel);
13737 0 Parse::RecDescent::_trace(q{(consumed: [} .
13738 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13739 Parse::RecDescent::_tracefirst($text),
13740 , q{value_list},
13741 $tracelevel)
13742 }
13743 0 $_[1] = $text;
13744 0 return $return;
13745 }
13746  
13747 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
13748 sub Parse::RecDescent::Config::Maker::Grammar::value_mac
13749 0 ▶{
Subroutine value_mac: not called CC=33 SCAR=69.7
13750 0 my $thisparser = $_[0];
13751 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
13752 0 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition0%0/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
00
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table0%0/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
13753 0 $ERRORS = 0;
13754 0 my $thisrule = $thisparser->{"rules"}{"value_mac"};
13755  
13756 0 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_mac]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13757 Parse::RecDescent::_tracefirst($_[1]),
13758 q{value_mac},
13759 $tracelevel)
13760 if defined $::RD_TRACE;
13761  
13762
13763 0 my $err_at = @{$thisparser->{errors}};
13764  
13765 0 my $score;
13766 my $score_return;
13767 0 my $_tok;
13768 0 my $return = undef;
13769 0 my $_matched=0;
13770 0 my $commit=0;
13771 0 my @item = ();
13772 0 my %item = ();
13773 0 my $repeating = $_[2];
13774 0 my $_noactions = $_[3];
13775 0 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 0 0 0
13776 0 my $_itempos = $_[5];
13777 0 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 0 0
13778 0 my $text;
13779 my $lastsep;
13780 0 my $current_match;
13781 0 my $expectation = new Parse::RecDescent::Expectation(q{/([[:xdigit:]]\{2\}:)\{5\}[[:xdigit:]]\{2\}/});
13782 0 $expectation->at($_[1]);
13783
13784 0 my $thisline;
13785 0 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13786  
13787
13788  
13789 0 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 0 0 0
Condition0%0/3
$_matched or $commit
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table0%0/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
13790 {
13791
13792 0 ▶ Parse::RecDescent::_trace(q{Trying production: [/([[:xdigit:]]\{2\}:)\{5\}[[:xdigit:]]\{2\}/]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13793 Parse::RecDescent::_tracefirst($_[1]),
13794 q{value_mac},
13795 $tracelevel)
13796 if defined $::RD_TRACE;
13797 0 my $thisprod = $thisrule->{"prods"}[0];
13798 0 $text = $_[1];
13799 0 my $_savetext;
13800 0 @item = (q{value_mac});
13801 0 %item = (__RULE__ => q{value_mac});
13802 0 my $repcount = 0;
13803  
13804  
13805 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [/([[:xdigit:]]\{2\}:)\{5\}[[:xdigit:]]\{2\}/]}, Parse::RecDescent::_tracefirst($text),
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13806 q{value_mac},
13807 $tracelevel)
13808 if defined $::RD_TRACE;
13809 0 undef $lastsep;
13810 0 $expectation->is(q{})->at($text);
13811
13812  
13813 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A(?:([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
13814 {
13815 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
13816 0 $expectation->failed();
13817 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13818 Parse::RecDescent::_tracefirst($text))
13819 if defined $::RD_TRACE;
13820  
13821 0 last;
13822 }
13823 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
13824 0 substr($text,0,length($current_match),q{});
13825 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13826 . $current_match . q{])},
13827 Parse::RecDescent::_tracefirst($text))
13828 if defined $::RD_TRACE;
13829 0 push @item, $item{__PATTERN1__}=$current_match;
13830
13831  
13832 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [/([[:xdigit:]]\{2\}:)\{5\}[[:xdigit:]]\{2\}/]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13833 Parse::RecDescent::_tracefirst($text),
13834 q{value_mac},
13835 $tracelevel)
13836 if defined $::RD_TRACE;
13837  
13838  
13839  
13840 0 $_matched = 1;
13841 0 last;
13842 }
13843  
13844  
13845 0 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 0 0
13846 {
13847
13848 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13849 Parse::RecDescent::_tracefirst($_[1]),
13850 q{value_mac},
13851 $tracelevel)
13852 if defined $::RD_TRACE;
13853 0 my $thisprod = $thisrule->{"prods"}[1];
13854
13855 0 my $_savetext;
13856 0 @item = (q{value_mac});
13857 0 %item = (__RULE__ => q{value_mac});
13858 0 my $repcount = 0;
13859  
13860  
13861
13862  
13863 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13864 Parse::RecDescent::_tracefirst($text),
13865 q{value_mac},
13866 $tracelevel)
13867 if defined $::RD_TRACE;
13868 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
13869 0 my $rule = $item[0];
13870 0 $rule =~ s/_/ /g;
13871 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
13872 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
13873 0 } unless $_noactions; undef } else {0} };
13874 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
13875 {
13876 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13877 . $_tok . q{])},
13878 Parse::RecDescent::_tracefirst($text))
13879 if defined $::RD_TRACE;
13880 }
13881 else
13882 {
13883 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13884 Parse::RecDescent::_tracefirst($text))
13885 if defined $::RD_TRACE;
13886 }
13887
13888 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
13889 0 push @item, $item{__DIRECTIVE1__}=$_tok;
13890
13891  
13892 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13893 Parse::RecDescent::_tracefirst($text),
13894 q{value_mac},
13895 $tracelevel)
13896 if defined $::RD_TRACE;
13897  
13898  
13899  
13900 0 $_matched = 1;
13901 0 last;
13902 }
13903  
13904  
13905 0 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 0 0
Condition0%0/3
$_matched or defined $score
l!l&&r!l&&!r
000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table0%0/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
13906 {
13907
13908  
13909 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
13910 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13911 Parse::RecDescent::_tracefirst($_[1]),
13912 q{value_mac},
13913 $tracelevel)
13914 if defined $::RD_TRACE;
13915 0 return undef;
13916 }
13917 0 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 0 0
Condition0%0/3
not defined $return and defined $score
!ll&&!rl&&r
000
MC/DC0%0/2
not defined $return and defined $score
not defined $return defined $score
Truth table0%0/3
not(A) and B
A= not defined $returnB= defined $score
ABresult
0X0
100
111
13918 {
13919 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
13920 q{value_mac},
13921 $tracelevel)
13922 if defined $::RD_TRACE;
13923 0 $return = $score_return;
13924 }
13925 0 splice @{$thisparser->{errors}}, $err_at;
13926 0 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 0 0 0
13927 0 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 0 0
13928 {
13929 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
13930 $return . q{])}, "",
13931 q{value_mac},
13932 $tracelevel);
13933 0 Parse::RecDescent::_trace(q{(consumed: [} .
13934 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
13935 Parse::RecDescent::_tracefirst($text),
13936 , q{value_mac},
13937 $tracelevel)
13938 }
13939 0 $_[1] = $text;
13940 0 return $return;
13941 }
13942  
13943 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
13944 sub Parse::RecDescent::Config::Maker::Grammar::value_nested_list
13945 23 ▶{
Subroutine value_nested_list: called CC=49 SCAR=58.2
13946 23 my $thisparser = $_[0];
13947 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
13948 23 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
230
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
13949 23 $ERRORS = 0;
13950 23 my $thisrule = $thisparser->{"rules"}{"value_nested_list"};
13951  
13952 23 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_nested_list]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
13953 Parse::RecDescent::_tracefirst($_[1]),
13954 q{value_nested_list},
13955 $tracelevel)
13956 if defined $::RD_TRACE;
13957  
13958
13959 23 my $err_at = @{$thisparser->{errors}};
13960  
13961 23 my $score;
13962 my $score_return;
13963 23 my $_tok;
13964 23 my $return = undef;
13965 23 my $_matched=0;
13966 23 my $commit=0;
13967 23 my @item = ();
13968 23 my %item = ();
13969 23 my $repeating = $_[2];
13970 23 my $_noactions = $_[3];
13971 23 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 23 0 23
13972 23 my $_itempos = $_[5];
13973 23 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 23 23
13974 23 my $text;
13975 my $lastsep;
13976 23 my $current_match;
13977 23 my $expectation = new Parse::RecDescent::Expectation(q{'['});
13978 23 $expectation->at($_[1]);
13979
13980 23 my $thisline;
13981 23 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
13982  
13983
13984  
13985 23 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 23 0 23
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0023
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
13986 {
13987
13988 23 ▶ Parse::RecDescent::_trace(q{Trying production: ['[' value_nestlist_elem ']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
13989 Parse::RecDescent::_tracefirst($_[1]),
13990 q{value_nested_list},
13991 $tracelevel)
13992 if defined $::RD_TRACE;
13993 23 my $thisprod = $thisrule->{"prods"}[0];
13994 23 $text = $_[1];
13995 23 my $_savetext;
13996 23 @item = (q{value_nested_list});
13997 23 %item = (__RULE__ => q{value_nested_list});
13998 23 my $repcount = 0;
13999  
14000  
14001 23 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14002 Parse::RecDescent::_tracefirst($text),
14003 q{value_nested_list},
14004 $tracelevel)
14005 if defined $::RD_TRACE;
14006 23 undef $lastsep;
14007 23 $expectation->is(q{})->at($text);
14008
14009  
14010 23 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/) 0 23 23
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
!ll&&!rl&&r
0023
($lastsep = $1) && ''
!ll
230
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
14011 {
14012 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
14013
14014 0 $expectation->failed();
14015 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14016 Parse::RecDescent::_tracefirst($text))
14017 if defined $::RD_TRACE;
14018 0 last;
14019 }
14020 23 $current_match = substr($text, $-[0], $+[0] - $-[0]);
14021 23 substr($text,0,length($current_match),q{});
14022 23 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14023 . $current_match . q{])},
14024 Parse::RecDescent::_tracefirst($text))
14025 if defined $::RD_TRACE;
14026 23 push @item, $item{__STRING1__}=$current_match;
14027
14028  
14029 23 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [value_nestlist_elem]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14030 Parse::RecDescent::_tracefirst($text),
14031 q{value_nested_list},
14032 $tracelevel)
14033 if defined $::RD_TRACE;
14034 23 $expectation->is(q{value_nestlist_elem})->at($text);
14035
14036 23 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value_nestlist_elem, 0, 100000000, $_noactions,$expectation,sub { return [@arg] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value_nestlist_elem, 0, 100000000, $_noactions, $expectation, sub { return [@arg]; } , undef))) 0 23 23
14037 {
14038 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [value_nestlist_elem]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14039 Parse::RecDescent::_tracefirst($text),
14040 q{value_nested_list},
14041 $tracelevel)
14042 if defined $::RD_TRACE;
14043 0 last;
14044 }
14045 23 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [value_nestlist_elem]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14046 . @$_tok . q{ times)},
14047  
14048 Parse::RecDescent::_tracefirst($text),
14049 q{value_nested_list},
14050 $tracelevel)
14051 if defined $::RD_TRACE;
14052 23 $item{q{value_nestlist_elem(s?)}} = $_tok;
14053 23 push @item, $_tok;
14054
14055  
14056  
14057 23 ▶ Parse::RecDescent::_trace(q{Trying terminal: [']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14058 Parse::RecDescent::_tracefirst($text),
14059 q{value_nested_list},
14060 $tracelevel)
14061 if defined $::RD_TRACE;
14062 23 undef $lastsep;
14063 23 $expectation->is(q{']'})->at($text);
14064
14065  
14066 23 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/) 0 23 23
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
!ll&&!rl&&r
0023
($lastsep = $1) && ''
!ll
023
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\]/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
14067 {
14068 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
14069
14070 0 $expectation->failed();
14071 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14072 Parse::RecDescent::_tracefirst($text))
14073 if defined $::RD_TRACE;
14074 0 last;
14075 }
14076 23 $current_match = substr($text, $-[0], $+[0] - $-[0]);
14077 23 substr($text,0,length($current_match),q{});
14078 23 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14079 . $current_match . q{])},
14080 Parse::RecDescent::_tracefirst($text))
14081 if defined $::RD_TRACE;
14082 23 push @item, $item{__STRING2__}=$current_match;
14083
14084  
14085 23 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14086 Parse::RecDescent::_tracefirst($text),
14087 q{value_nested_list},
14088 $tracelevel)
14089 if defined $::RD_TRACE;
14090
14091  
14092 23 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Value::List($item[2]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 23 23
14093 23 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 23 23
14094 {
14095 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14096 if defined $::RD_TRACE;
14097 0 last;
14098 }
14099 23 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14100 . $_tok . q{])},
14101 Parse::RecDescent::_tracefirst($text))
14102 if defined $::RD_TRACE;
14103 23 push @item, $_tok;
14104 23 $item{__ACTION1__}=$_tok;
14105
14106  
14107 23 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[' value_nestlist_elem ']']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14108 Parse::RecDescent::_tracefirst($text),
14109 q{value_nested_list},
14110 $tracelevel)
14111 if defined $::RD_TRACE;
14112  
14113  
14114  
14115 23 $_matched = 1;
14116 23 last;
14117 }
14118  
14119  
14120 23 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 23 23
14121 {
14122
14123 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14124 Parse::RecDescent::_tracefirst($_[1]),
14125 q{value_nested_list},
14126 $tracelevel)
14127 if defined $::RD_TRACE;
14128 0 my $thisprod = $thisrule->{"prods"}[1];
14129
14130 0 my $_savetext;
14131 0 @item = (q{value_nested_list});
14132 0 %item = (__RULE__ => q{value_nested_list});
14133 0 my $repcount = 0;
14134  
14135  
14136
14137  
14138 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14139 Parse::RecDescent::_tracefirst($text),
14140 q{value_nested_list},
14141 $tracelevel)
14142 if defined $::RD_TRACE;
14143 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
14144 0 my $rule = $item[0];
14145 0 $rule =~ s/_/ /g;
14146 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
14147 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
14148 0 } unless $_noactions; undef } else {0} };
14149 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
14150 {
14151 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14152 . $_tok . q{])},
14153 Parse::RecDescent::_tracefirst($text))
14154 if defined $::RD_TRACE;
14155 }
14156 else
14157 {
14158 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14159 Parse::RecDescent::_tracefirst($text))
14160 if defined $::RD_TRACE;
14161 }
14162
14163 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
14164 0 push @item, $item{__DIRECTIVE1__}=$_tok;
14165
14166  
14167 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14168 Parse::RecDescent::_tracefirst($text),
14169 q{value_nested_list},
14170 $tracelevel)
14171 if defined $::RD_TRACE;
14172  
14173  
14174  
14175 0 $_matched = 1;
14176 0 last;
14177 }
14178  
14179  
14180 23 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 23 23
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
2300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
14181 {
14182
14183  
14184 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
14185 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14186 Parse::RecDescent::_tracefirst($_[1]),
14187 q{value_nested_list},
14188 $tracelevel)
14189 if defined $::RD_TRACE;
14190 0 return undef;
14191 }
14192 23 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 23 23
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0230
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
ABresult
0X0
100
111
14193 {
14194 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14195 q{value_nested_list},
14196 $tracelevel)
14197 if defined $::RD_TRACE;
14198 0 $return = $score_return;
14199 }
14200 23 splice @{$thisparser->{errors}}, $err_at;
14201 23 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 23 0 23
14202 23 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 23 23
14203 {
14204 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14205 $return . q{])}, "",
14206 q{value_nested_list},
14207 $tracelevel);
14208 0 Parse::RecDescent::_trace(q{(consumed: [} .
14209 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14210 Parse::RecDescent::_tracefirst($text),
14211 , q{value_nested_list},
14212 $tracelevel)
14213 }
14214 23 $_[1] = $text;
14215 23 return $return;
14216 }
14217  
14218 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
14219 sub Parse::RecDescent::Config::Maker::Grammar::value_nestlist_elem
14220 46 ▶{
Subroutine value_nestlist_elem: called CC=57 SCAR=59.8
14221 46 my $thisparser = $_[0];
14222 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
14223 46 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
460
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
14224 46 $ERRORS = 0;
14225 46 my $thisrule = $thisparser->{"rules"}{"value_nestlist_elem"};
14226  
14227 46 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_nestlist_elem]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14228 Parse::RecDescent::_tracefirst($_[1]),
14229 q{value_nestlist_elem},
14230 $tracelevel)
14231 if defined $::RD_TRACE;
14232  
14233
14234 46 my $err_at = @{$thisparser->{errors}};
14235  
14236 46 my $score;
14237 my $score_return;
14238 46 my $_tok;
14239 46 my $return = undef;
14240 46 my $_matched=0;
14241 46 my $commit=0;
14242 46 my @item = ();
14243 46 my %item = ();
14244 46 my $repeating = $_[2];
14245 46 my $_noactions = $_[3];
14246 46 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 46 0 46
14247 46 my $_itempos = $_[5];
14248 46 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 46 46
14249 46 my $text;
14250 my $lastsep;
14251 46 my $current_match;
14252 46 my $expectation = new Parse::RecDescent::Expectation(q{'[', or <matchrule:value_$arg[0]>});
14253 46 $expectation->at($_[1]);
14254
14255 46 my $thisline;
14256 46 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14257  
14258
14259  
14260 46 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 46 0 46
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0046
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
14261 {
14262
14263 46 ▶ Parse::RecDescent::_trace(q{Trying production: ['[' value_nestlist_elem ']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14264 Parse::RecDescent::_tracefirst($_[1]),
14265 q{value_nestlist_elem},
14266 $tracelevel)
14267 if defined $::RD_TRACE;
14268 46 my $thisprod = $thisrule->{"prods"}[0];
14269 46 $text = $_[1];
14270 46 my $_savetext;
14271 46 @item = (q{value_nestlist_elem});
14272 46 %item = (__RULE__ => q{value_nestlist_elem});
14273 46 my $repcount = 0;
14274  
14275  
14276 46 ▶ Parse::RecDescent::_trace(q{Trying terminal: ['[']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14277 Parse::RecDescent::_tracefirst($text),
14278 q{value_nestlist_elem},
14279 $tracelevel)
14280 if defined $::RD_TRACE;
14281 46 undef $lastsep;
14282 46 $expectation->is(q{})->at($text);
14283
14284  
14285 46 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\[/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/) 46 0 46
Condition40%2/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
!ll&&!rl&&r
0460
($lastsep = $1) && ''
!ll
046
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\[/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::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::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\[/
ABresult
0X0
100
111
Truth table50%1/2
A
A= ($lastsep = $1)
Aresult
00
11
14286 {
14287 46 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 46 0 46
14288
14289 46 $expectation->failed();
14290 46 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14291 Parse::RecDescent::_tracefirst($text))
14292 if defined $::RD_TRACE;
14293 46 last;
14294 }
14295 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
14296 0 substr($text,0,length($current_match),q{});
14297 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14298 . $current_match . q{])},
14299 Parse::RecDescent::_tracefirst($text))
14300 if defined $::RD_TRACE;
14301 0 push @item, $item{__STRING1__}=$current_match;
14302
14303  
14304 0 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [value_nestlist_elem]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14305 Parse::RecDescent::_tracefirst($text),
14306 q{value_nestlist_elem},
14307 $tracelevel)
14308 if defined $::RD_TRACE;
14309 0 $expectation->is(q{value_nestlist_elem})->at($text);
14310
14311 0 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value_nestlist_elem, 0, 100000000, $_noactions,$expectation,sub { return [@arg] },undef)))
Subroutine __ANON__: not called CC=1 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value_nestlist_elem, 0, 100000000, $_noactions, $expectation, sub { return [@arg]; } , undef))) 0 0 0
14312 {
14313 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [value_nestlist_elem]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14314 Parse::RecDescent::_tracefirst($text),
14315 q{value_nestlist_elem},
14316 $tracelevel)
14317 if defined $::RD_TRACE;
14318 0 last;
14319 }
14320 0 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [value_nestlist_elem]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14321 . @$_tok . q{ times)},
14322  
14323 Parse::RecDescent::_tracefirst($text),
14324 q{value_nestlist_elem},
14325 $tracelevel)
14326 if defined $::RD_TRACE;
14327 0 $item{q{value_nestlist_elem(s?)}} = $_tok;
14328 0 push @item, $_tok;
14329
14330  
14331  
14332 0 ▶ Parse::RecDescent::_trace(q{Trying terminal: [']']},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14333 Parse::RecDescent::_tracefirst($text),
14334 q{value_nestlist_elem},
14335 $tracelevel)
14336 if defined $::RD_TRACE;
14337 0 undef $lastsep;
14338 0 $expectation->is(q{']'})->at($text);
14339
14340  
14341 0 ▶ unless ($text =~ s/\A($skip)/$lastsep=$1 and ""/e and $text =~ m/\A\]/)
Branch: 1 branch
BranchTrueFalseTotal
unless ($text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/) 0 0 0
Condition0%0/5
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
!ll&&!rl&&r
000
($lastsep = $1) && ''
!ll
00
MC/DC0%0/2
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e and $text =~ /\A\]/
$text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/e $text =~ /\A\]/
MC/DC0%0/1
($lastsep = $1) && ''
($lastsep = $1)
Truth table0%0/3
A and B
A= $text =~ s/\A($Parse::RecDescent::Config::Maker::Grammar::skip)/$lastsep = $1 and "";/eB= $text =~ /\A\]/
ABresult
0X0
100
111
Truth table0%0/2
A
A= ($lastsep = $1)
Aresult
00
11
14342 {
14343 0 ▶ $text = $lastsep . $text if defined $lastsep;
Branch: 1 branch
BranchTrueFalseTotal
if defined $lastsep 0 0 0
14344
14345 0 $expectation->failed();
14346 0 ▶ Parse::RecDescent::_trace(qq{<<Didn't match terminal>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14347 Parse::RecDescent::_tracefirst($text))
14348 if defined $::RD_TRACE;
14349 0 last;
14350 }
14351 0 $current_match = substr($text, $-[0], $+[0] - $-[0]);
14352 0 substr($text,0,length($current_match),q{});
14353 0 ▶ Parse::RecDescent::_trace(q{>>Matched terminal<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14354 . $current_match . q{])},
14355 Parse::RecDescent::_tracefirst($text))
14356 if defined $::RD_TRACE;
14357 0 push @item, $item{__STRING2__}=$current_match;
14358
14359  
14360 0 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14361 Parse::RecDescent::_tracefirst($text),
14362 q{value_nestlist_elem},
14363 $tracelevel)
14364 if defined $::RD_TRACE;
14365
14366  
14367 0 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Value::List($item[2]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 0 0
14368 0 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 0 0
14369 {
14370 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14371 if defined $::RD_TRACE;
14372 0 last;
14373 }
14374 0 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14375 . $_tok . q{])},
14376 Parse::RecDescent::_tracefirst($text))
14377 if defined $::RD_TRACE;
14378 0 push @item, $_tok;
14379 0 $item{__ACTION1__}=$_tok;
14380
14381  
14382 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: ['[' value_nestlist_elem ']']<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14383 Parse::RecDescent::_tracefirst($text),
14384 q{value_nestlist_elem},
14385 $tracelevel)
14386 if defined $::RD_TRACE;
14387  
14388  
14389  
14390 0 $_matched = 1;
14391 0 last;
14392 }
14393  
14394  
14395 46 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 46 0 46
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0046
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
14396 {
14397
14398 46 ▶ Parse::RecDescent::_trace(q{Trying production: [<matchrule:value_$arg[0]>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14399 Parse::RecDescent::_tracefirst($_[1]),
14400 q{value_nestlist_elem},
14401 $tracelevel)
14402 if defined $::RD_TRACE;
14403 46 my $thisprod = $thisrule->{"prods"}[1];
14404 46 $text = $_[1];
14405 46 my $_savetext;
14406 46 @item = (q{value_nestlist_elem});
14407 46 %item = (__RULE__ => q{value_nestlist_elem});
14408 46 my $repcount = 0;
14409  
14410  
14411 46 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_$arg[0]]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 46 46
14412 Parse::RecDescent::_tracefirst($text),
14413 q{value_nestlist_elem},
14414 $tracelevel)
14415 if defined $::RD_TRACE;
14416 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
14417 46 $expectation->is(q{})->at($text);
14418 46 ▶ unless (defined ($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::'.qq{value_$arg[0]}}($thisparser,$text,$repeating,$_noactions,sub { return [@arg[1..$#arg]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::' . "value_$arg[0]";}($thisparser, $text, $repeating, $_noactions, sub { return [@arg[1 .. $#arg]]; } , undef))) 23 23 46
14419 {
14420
14421 23 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_$arg[0]]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14422 Parse::RecDescent::_tracefirst($text),
14423 q{value_nestlist_elem},
14424 $tracelevel)
14425 if defined $::RD_TRACE;
14426 23 $expectation->failed();
14427 23 last;
14428 }
14429 23 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_$arg[0]]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14430 . $_tok . q{]},
14431  
14432 Parse::RecDescent::_tracefirst($text),
14433 q{value_nestlist_elem},
14434 $tracelevel)
14435 if defined $::RD_TRACE;
14436 23 $item{q{value_$arg[0]}} = $_tok;
14437 23 push @item, $_tok;
14438
14439 }
14440  
14441 23 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<matchrule:value_$arg[0]>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14442 Parse::RecDescent::_tracefirst($text),
14443 q{value_nestlist_elem},
14444 $tracelevel)
14445 if defined $::RD_TRACE;
14446  
14447  
14448  
14449 23 $_matched = 1;
14450 23 last;
14451 }
14452  
14453  
14454 46 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 23 23 46
14455 {
14456
14457 23 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14458 Parse::RecDescent::_tracefirst($_[1]),
14459 q{value_nestlist_elem},
14460 $tracelevel)
14461 if defined $::RD_TRACE;
14462 23 my $thisprod = $thisrule->{"prods"}[2];
14463
14464 23 my $_savetext;
14465 23 @item = (q{value_nestlist_elem});
14466 23 %item = (__RULE__ => q{value_nestlist_elem});
14467 23 my $repcount = 0;
14468  
14469  
14470
14471  
14472 23 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14473 Parse::RecDescent::_tracefirst($text),
14474 q{value_nestlist_elem},
14475 $tracelevel)
14476 if defined $::RD_TRACE;
14477 23 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 23 0 23
14478 23 my $rule = $item[0];
14479 23 $rule =~ s/_/ /g;
14480 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
14481 23 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
14482 23 } unless $_noactions; undef } else {0} };
14483 23 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 23 23
14484 {
14485 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14486 . $_tok . q{])},
14487 Parse::RecDescent::_tracefirst($text))
14488 if defined $::RD_TRACE;
14489 }
14490 else
14491 {
14492 23 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14493 Parse::RecDescent::_tracefirst($text))
14494 if defined $::RD_TRACE;
14495 }
14496
14497 23 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 23 0 23
14498 0 push @item, $item{__DIRECTIVE1__}=$_tok;
14499
14500  
14501 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14502 Parse::RecDescent::_tracefirst($text),
14503 q{value_nestlist_elem},
14504 $tracelevel)
14505 if defined $::RD_TRACE;
14506  
14507  
14508  
14509 0 $_matched = 1;
14510 0 last;
14511 }
14512  
14513  
14514 46 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 23 23 46
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
23023
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
14515 {
14516
14517  
14518 23 $_[1] = $text; # NOT SURE THIS IS NEEDED
14519 23 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 23 23
14520 Parse::RecDescent::_tracefirst($_[1]),
14521 q{value_nestlist_elem},
14522 $tracelevel)
14523 if defined $::RD_TRACE;
14524 23 return undef;
14525 }
14526 23 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 23 23
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0230
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
ABresult
0X0
100
111
14527 {
14528 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14529 q{value_nestlist_elem},
14530 $tracelevel)
14531 if defined $::RD_TRACE;
14532 0 $return = $score_return;
14533 }
14534 23 splice @{$thisparser->{errors}}, $err_at;
14535 23 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 23 0 23
14536 23 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 23 23
14537 {
14538 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14539 $return . q{])}, "",
14540 q{value_nestlist_elem},
14541 $tracelevel);
14542 0 Parse::RecDescent::_trace(q{(consumed: [} .
14543 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14544 Parse::RecDescent::_tracefirst($text),
14545 , q{value_nestlist_elem},
14546 $tracelevel)
14547 }
14548 23 $_[1] = $text;
14549 23 return $return;
14550 }
14551  
14552 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
14553 sub Parse::RecDescent::Config::Maker::Grammar::value_pair
14554 20 ▶{
Subroutine value_pair: called CC=39 SCAR=52.8
14555 20 my $thisparser = $_[0];
14556 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
14557 20 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
200
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
14558 20 $ERRORS = 0;
14559 20 my $thisrule = $thisparser->{"rules"}{"value_pair"};
14560  
14561 20 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_pair]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14562 Parse::RecDescent::_tracefirst($_[1]),
14563 q{value_pair},
14564 $tracelevel)
14565 if defined $::RD_TRACE;
14566  
14567
14568 20 my $err_at = @{$thisparser->{errors}};
14569  
14570 20 my $score;
14571 my $score_return;
14572 20 my $_tok;
14573 20 my $return = undef;
14574 20 my $_matched=0;
14575 20 my $commit=0;
14576 20 my @item = ();
14577 20 my %item = ();
14578 20 my $repeating = $_[2];
14579 20 my $_noactions = $_[3];
14580 20 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 20 0 20
14581 20 my $_itempos = $_[5];
14582 20 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 20 0 20
14583 20 my $text;
14584 my $lastsep;
14585 20 my $current_match;
14586 20 my $expectation = new Parse::RecDescent::Expectation(q{<matchrule:value_$arg[0][0]>});
14587 20 $expectation->at($_[1]);
14588
14589 20 my $thisline;
14590 20 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14591  
14592
14593  
14594 20 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 20 0 20
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0020
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
14595 {
14596
14597 20 ▶ Parse::RecDescent::_trace(q{Trying production: [<matchrule:value_$arg[0][0]> <matchrule:value_$arg[1][0]>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14598 Parse::RecDescent::_tracefirst($_[1]),
14599 q{value_pair},
14600 $tracelevel)
14601 if defined $::RD_TRACE;
14602 20 my $thisprod = $thisrule->{"prods"}[0];
14603 20 $text = $_[1];
14604 20 my $_savetext;
14605 20 @item = (q{value_pair});
14606 20 %item = (__RULE__ => q{value_pair});
14607 20 my $repcount = 0;
14608  
14609  
14610 20 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_$arg[0][0]]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14611 Parse::RecDescent::_tracefirst($text),
14612 q{value_pair},
14613 $tracelevel)
14614 if defined $::RD_TRACE;
14615 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
14616 20 $expectation->is(q{})->at($text);
14617 0 ▶ unless (defined ($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::'.qq{value_$arg[0][0]}}($thisparser,$text,$repeating,$_noactions,sub { return [$arg[0][1..$#{$arg[0]}]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.4
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::' . "value_$arg[0][0]";}($thisparser, $text, $repeating, $_noactions, sub { return [$arg[0][1 .. $#{$arg[0];}]]; } , undef))) 0 20 20
14618 {
14619
14620 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_$arg[0][0]]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14621 Parse::RecDescent::_tracefirst($text),
14622 q{value_pair},
14623 $tracelevel)
14624 if defined $::RD_TRACE;
14625 0 $expectation->failed();
14626 0 last;
14627 }
14628 20 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_$arg[0][0]]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14629 . $_tok . q{]},
14630  
14631 Parse::RecDescent::_tracefirst($text),
14632 q{value_pair},
14633 $tracelevel)
14634 if defined $::RD_TRACE;
14635 20 $item{q{value_$arg[0][0]}} = $_tok;
14636 20 push @item, $_tok;
14637
14638 }
14639  
14640 20 ▶ Parse::RecDescent::_trace(q{Trying subrule: [value_$arg[1][0]]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14641 Parse::RecDescent::_tracefirst($text),
14642 q{value_pair},
14643 $tracelevel)
14644 if defined $::RD_TRACE;
14645 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
14646 20 $expectation->is(q{<matchrule:value_$arg[1][0]>})->at($text);
14647 0 ▶ unless (defined ($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::'.qq{value_$arg[1][0]}}($thisparser,$text,$repeating,$_noactions,sub { return [$arg[1][1..$#{$arg[1]}]] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.4
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = &{'Parse::RecDescent::Config::Maker::Grammar::' . "value_$arg[1][0]";}($thisparser, $text, $repeating, $_noactions, sub { return [$arg[1][1 .. $#{$arg[1];}]]; } , undef))) 0 20 20
14648 {
14649
14650 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [value_$arg[1][0]]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14651 Parse::RecDescent::_tracefirst($text),
14652 q{value_pair},
14653 $tracelevel)
14654 if defined $::RD_TRACE;
14655 0 $expectation->failed();
14656 0 last;
14657 }
14658 20 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [value_$arg[1][0]]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14659 . $_tok . q{]},
14660  
14661 Parse::RecDescent::_tracefirst($text),
14662 q{value_pair},
14663 $tracelevel)
14664 if defined $::RD_TRACE;
14665 20 $item{q{value_$arg[1][0]}} = $_tok;
14666 20 push @item, $_tok;
14667
14668 }
14669  
14670 20 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14671 Parse::RecDescent::_tracefirst($text),
14672 q{value_pair},
14673 $tracelevel)
14674 if defined $::RD_TRACE;
14675
14676  
14677 20 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Value::List [$item[1], $item[-1]]; };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 20 20
14678 20 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 20 20
14679 {
14680 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14681 if defined $::RD_TRACE;
14682 0 last;
14683 }
14684 20 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14685 . $_tok . q{])},
14686 Parse::RecDescent::_tracefirst($text))
14687 if defined $::RD_TRACE;
14688 20 push @item, $_tok;
14689 20 $item{__ACTION1__}=$_tok;
14690
14691  
14692 20 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<matchrule:value_$arg[0][0]> <matchrule:value_$arg[1][0]>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 20 20
14693 Parse::RecDescent::_tracefirst($text),
14694 q{value_pair},
14695 $tracelevel)
14696 if defined $::RD_TRACE;
14697  
14698  
14699  
14700 20 $_matched = 1;
14701 20 last;
14702 }
14703  
14704  
14705 20 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 20 20
14706 {
14707
14708 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14709 Parse::RecDescent::_tracefirst($_[1]),
14710 q{value_pair},
14711 $tracelevel)
14712 if defined $::RD_TRACE;
14713 0 my $thisprod = $thisrule->{"prods"}[1];
14714
14715 0 my $_savetext;
14716 0 @item = (q{value_pair});
14717 0 %item = (__RULE__ => q{value_pair});
14718 0 my $repcount = 0;
14719  
14720  
14721
14722  
14723 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14724 Parse::RecDescent::_tracefirst($text),
14725 q{value_pair},
14726 $tracelevel)
14727 if defined $::RD_TRACE;
14728 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
14729 0 my $rule = $item[0];
14730 0 $rule =~ s/_/ /g;
14731 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
14732 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
14733 0 } unless $_noactions; undef } else {0} };
14734 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
14735 {
14736 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14737 . $_tok . q{])},
14738 Parse::RecDescent::_tracefirst($text))
14739 if defined $::RD_TRACE;
14740 }
14741 else
14742 {
14743 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14744 Parse::RecDescent::_tracefirst($text))
14745 if defined $::RD_TRACE;
14746 }
14747
14748 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
14749 0 push @item, $item{__DIRECTIVE1__}=$_tok;
14750
14751  
14752 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14753 Parse::RecDescent::_tracefirst($text),
14754 q{value_pair},
14755 $tracelevel)
14756 if defined $::RD_TRACE;
14757  
14758  
14759  
14760 0 $_matched = 1;
14761 0 last;
14762 }
14763  
14764  
14765 20 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 20 20
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
2000
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
14766 {
14767
14768  
14769 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
14770 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14771 Parse::RecDescent::_tracefirst($_[1]),
14772 q{value_pair},
14773 $tracelevel)
14774 if defined $::RD_TRACE;
14775 0 return undef;
14776 }
14777 20 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 20 20
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0200
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
ABresult
0X0
100
111
14778 {
14779 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14780 q{value_pair},
14781 $tracelevel)
14782 if defined $::RD_TRACE;
14783 0 $return = $score_return;
14784 }
14785 20 splice @{$thisparser->{errors}}, $err_at;
14786 20 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 20 0 20
14787 20 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 20 20
14788 {
14789 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14790 $return . q{])}, "",
14791 q{value_pair},
14792 $tracelevel);
14793 0 Parse::RecDescent::_trace(q{(consumed: [} .
14794 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14795 Parse::RecDescent::_tracefirst($text),
14796 , q{value_pair},
14797 $tracelevel)
14798 }
14799 20 $_[1] = $text;
14800 20 return $return;
14801 }
14802  
14803 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
14804 sub Parse::RecDescent::Config::Maker::Grammar::value_path
14805 29 ▶{
Subroutine value_path: called CC=21 SCAR=35.3
14806 29 my $thisparser = $_[0];
14807 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
14808 29 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
290
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
14809 29 $ERRORS = 0;
14810 29 my $thisrule = $thisparser->{"rules"}{"value_path"};
14811  
14812 29 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
14813 Parse::RecDescent::_tracefirst($_[1]),
14814 q{value_path},
14815 $tracelevel)
14816 if defined $::RD_TRACE;
14817  
14818
14819 29 my $err_at = @{$thisparser->{errors}};
14820  
14821 29 my $score;
14822 my $score_return;
14823 29 my $_tok;
14824 29 my $return = undef;
14825 29 my $_matched=0;
14826 29 my $commit=0;
14827 29 my @item = ();
14828 29 my %item = ();
14829 29 my $repeating = $_[2];
14830 29 my $_noactions = $_[3];
14831 29 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 29 0 29
14832 29 my $_itempos = $_[5];
14833 29 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 25 4 29
14834 29 my $text;
14835 my $lastsep;
14836 29 my $current_match;
14837 29 my $expectation = new Parse::RecDescent::Expectation(q{path});
14838 29 $expectation->at($_[1]);
14839
14840 29 my $thisline;
14841 29 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14842  
14843
14844  
14845 29 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 29 0 29
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0029
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
14846 {
14847
14848 29 ▶ Parse::RecDescent::_trace(q{Trying production: [path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
14849 Parse::RecDescent::_tracefirst($_[1]),
14850 q{value_path},
14851 $tracelevel)
14852 if defined $::RD_TRACE;
14853 29 my $thisprod = $thisrule->{"prods"}[0];
14854 29 $text = $_[1];
14855 29 my $_savetext;
14856 29 @item = (q{value_path});
14857 29 %item = (__RULE__ => q{value_path});
14858 29 my $repcount = 0;
14859  
14860  
14861 29 ▶ Parse::RecDescent::_trace(q{Trying subrule: [path]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
14862 Parse::RecDescent::_tracefirst($text),
14863 q{value_path},
14864 $tracelevel)
14865 if defined $::RD_TRACE;
14866 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
14867 29 $expectation->is(q{})->at($text);
14868 29 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::path($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = path($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 0 29 29
14869 {
14870
14871 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [path]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14872 Parse::RecDescent::_tracefirst($text),
14873 q{value_path},
14874 $tracelevel)
14875 if defined $::RD_TRACE;
14876 0 $expectation->failed();
14877 0 last;
14878 }
14879 29 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [path]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
14880 . $_tok . q{]},
14881  
14882 Parse::RecDescent::_tracefirst($text),
14883 q{value_path},
14884 $tracelevel)
14885 if defined $::RD_TRACE;
14886 29 $item{q{path}} = $_tok;
14887 29 push @item, $_tok;
14888
14889 }
14890  
14891 29 ▶ Parse::RecDescent::_trace(q{>>Matched production: [path]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
14892 Parse::RecDescent::_tracefirst($text),
14893 q{value_path},
14894 $tracelevel)
14895 if defined $::RD_TRACE;
14896  
14897  
14898  
14899 29 $_matched = 1;
14900 29 last;
14901 }
14902  
14903  
14904 29 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 29 29
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
2900
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
14905 {
14906
14907  
14908 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
14909 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14910 Parse::RecDescent::_tracefirst($_[1]),
14911 q{value_path},
14912 $tracelevel)
14913 if defined $::RD_TRACE;
14914 0 return undef;
14915 }
14916 29 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 29 29
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0290
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
ABresult
0X0
100
111
14917 {
14918 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
14919 q{value_path},
14920 $tracelevel)
14921 if defined $::RD_TRACE;
14922 0 $return = $score_return;
14923 }
14924 29 splice @{$thisparser->{errors}}, $err_at;
14925 29 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 29 0 29
14926 29 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 29 29
14927 {
14928 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
14929 $return . q{])}, "",
14930 q{value_path},
14931 $tracelevel);
14932 0 Parse::RecDescent::_trace(q{(consumed: [} .
14933 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
14934 Parse::RecDescent::_tracefirst($text),
14935 , q{value_path},
14936 $tracelevel)
14937 }
14938 29 $_[1] = $text;
14939 29 return $return;
14940 }
14941  
14942 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
14943 sub Parse::RecDescent::Config::Maker::Grammar::value_perlcode
14944 33 ▶{
Subroutine value_perlcode: called CC=30 SCAR=38.2
14945 33 my $thisparser = $_[0];
14946 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
14947 33 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
330
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
14948 33 $ERRORS = 0;
14949 33 my $thisrule = $thisparser->{"rules"}{"value_perlcode"};
14950  
14951 33 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_perlcode]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
14952 Parse::RecDescent::_tracefirst($_[1]),
14953 q{value_perlcode},
14954 $tracelevel)
14955 if defined $::RD_TRACE;
14956  
14957
14958 33 my $err_at = @{$thisparser->{errors}};
14959  
14960 33 my $score;
14961 my $score_return;
14962 33 my $_tok;
14963 33 my $return = undef;
14964 33 my $_matched=0;
14965 33 my $commit=0;
14966 33 my @item = ();
14967 33 my %item = ();
14968 33 my $repeating = $_[2];
14969 33 my $_noactions = $_[3];
14970 33 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 33 0 33
14971 33 my $_itempos = $_[5];
14972 33 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 33 33
14973 33 my $text;
14974 my $lastsep;
14975 33 my $current_match;
14976 33 my $expectation = new Parse::RecDescent::Expectation(q{perl_codeblock});
14977 33 $expectation->at($_[1]);
14978
14979 33 my $thisline;
14980 33 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
14981  
14982
14983  
14984 33 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 33 0 33
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0033
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
14985 {
14986
14987 33 ▶ Parse::RecDescent::_trace(q{Trying production: [perl_codeblock]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
14988 Parse::RecDescent::_tracefirst($_[1]),
14989 q{value_perlcode},
14990 $tracelevel)
14991 if defined $::RD_TRACE;
14992 33 my $thisprod = $thisrule->{"prods"}[0];
14993 33 $text = $_[1];
14994 33 my $_savetext;
14995 33 @item = (q{value_perlcode});
14996 33 %item = (__RULE__ => q{value_perlcode});
14997 33 my $repcount = 0;
14998  
14999  
15000 33 ▶ Parse::RecDescent::_trace(q{Trying subrule: [perl_codeblock]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 33 33
15001 Parse::RecDescent::_tracefirst($text),
15002 q{value_perlcode},
15003 $tracelevel)
15004 if defined $::RD_TRACE;
15005 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
15006 33 $expectation->is(q{})->at($text);
15007 33 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::perl_codeblock($thisparser,$text,$repeating,$_noactions,sub { return [@arg] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = perl_codeblock($thisparser, $text, $repeating, $_noactions, sub { return [@arg]; } , undef))) 29 4 33
15008 {
15009
15010 29 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [perl_codeblock]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
15011 Parse::RecDescent::_tracefirst($text),
15012 q{value_perlcode},
15013 $tracelevel)
15014 if defined $::RD_TRACE;
15015 29 $expectation->failed();
15016 29 last;
15017 }
15018 4 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [perl_codeblock]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
15019 . $_tok . q{]},
15020  
15021 Parse::RecDescent::_tracefirst($text),
15022 q{value_perlcode},
15023 $tracelevel)
15024 if defined $::RD_TRACE;
15025 4 $item{q{perl_codeblock}} = $_tok;
15026 4 push @item, $_tok;
15027
15028 }
15029  
15030 4 ▶ Parse::RecDescent::_trace(q{>>Matched production: [perl_codeblock]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 4 4
15031 Parse::RecDescent::_tracefirst($text),
15032 q{value_perlcode},
15033 $tracelevel)
15034 if defined $::RD_TRACE;
15035  
15036  
15037  
15038 4 $_matched = 1;
15039 4 last;
15040 }
15041  
15042  
15043 33 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 29 4 33
15044 {
15045
15046 29 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
15047 Parse::RecDescent::_tracefirst($_[1]),
15048 q{value_perlcode},
15049 $tracelevel)
15050 if defined $::RD_TRACE;
15051 29 my $thisprod = $thisrule->{"prods"}[1];
15052
15053 29 my $_savetext;
15054 29 @item = (q{value_perlcode});
15055 29 %item = (__RULE__ => q{value_perlcode});
15056 29 my $repcount = 0;
15057  
15058  
15059
15060  
15061 29 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
15062 Parse::RecDescent::_tracefirst($text),
15063 q{value_perlcode},
15064 $tracelevel)
15065 if defined $::RD_TRACE;
15066 29 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 29 0 29
15067 29 my $rule = $item[0];
15068 29 $rule =~ s/_/ /g;
15069 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
15070 29 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
15071 29 } unless $_noactions; undef } else {0} };
15072 29 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 29 29
15073 {
15074 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15075 . $_tok . q{])},
15076 Parse::RecDescent::_tracefirst($text))
15077 if defined $::RD_TRACE;
15078 }
15079 else
15080 {
15081 29 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
15082 Parse::RecDescent::_tracefirst($text))
15083 if defined $::RD_TRACE;
15084 }
15085
15086 29 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 29 0 29
15087 0 push @item, $item{__DIRECTIVE1__}=$_tok;
15088
15089  
15090 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15091 Parse::RecDescent::_tracefirst($text),
15092 q{value_perlcode},
15093 $tracelevel)
15094 if defined $::RD_TRACE;
15095  
15096  
15097  
15098 0 $_matched = 1;
15099 0 last;
15100 }
15101  
15102  
15103 33 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 29 4 33
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
4029
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
15104 {
15105
15106  
15107 29 $_[1] = $text; # NOT SURE THIS IS NEEDED
15108 29 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 29 29
15109 Parse::RecDescent::_tracefirst($_[1]),
15110 q{value_perlcode},
15111 $tracelevel)
15112 if defined $::RD_TRACE;
15113 29 return undef;
15114 }
15115 4 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 4 4
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
040
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
ABresult
0X0
100
111
15116 {
15117 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15118 q{value_perlcode},
15119 $tracelevel)
15120 if defined $::RD_TRACE;
15121 0 $return = $score_return;
15122 }
15123 4 splice @{$thisparser->{errors}}, $err_at;
15124 4 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 4 0 4
15125 4 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 4 4
15126 {
15127 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15128 $return . q{])}, "",
15129 q{value_perlcode},
15130 $tracelevel);
15131 0 Parse::RecDescent::_trace(q{(consumed: [} .
15132 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15133 Parse::RecDescent::_tracefirst($text),
15134 , q{value_perlcode},
15135 $tracelevel)
15136 }
15137 4 $_[1] = $text;
15138 4 return $return;
15139 }
15140  
15141 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
15142 sub Parse::RecDescent::Config::Maker::Grammar::value_port
15143 2 ▶{
Subroutine value_port: called CC=30 SCAR=49.1
15144 2 my $thisparser = $_[0];
15145 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
15146 2 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
20
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
15147 2 $ERRORS = 0;
15148 2 my $thisrule = $thisparser->{"rules"}{"value_port"};
15149  
15150 2 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_port]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
15151 Parse::RecDescent::_tracefirst($_[1]),
15152 q{value_port},
15153 $tracelevel)
15154 if defined $::RD_TRACE;
15155  
15156
15157 2 my $err_at = @{$thisparser->{errors}};
15158  
15159 2 my $score;
15160 my $score_return;
15161 2 my $_tok;
15162 2 my $return = undef;
15163 2 my $_matched=0;
15164 2 my $commit=0;
15165 2 my @item = ();
15166 2 my %item = ();
15167 2 my $repeating = $_[2];
15168 2 my $_noactions = $_[3];
15169 2 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 2 0 2
15170 2 my $_itempos = $_[5];
15171 2 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 2 0 2
15172 2 my $text;
15173 my $lastsep;
15174 2 my $current_match;
15175 2 my $expectation = new Parse::RecDescent::Expectation(q{decint});
15176 2 $expectation->at($_[1]);
15177
15178 2 my $thisline;
15179 2 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15180  
15181
15182  
15183 2 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 2 0 2
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
002
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
15184 {
15185
15186 2 ▶ Parse::RecDescent::_trace(q{Trying production: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
15187 Parse::RecDescent::_tracefirst($_[1]),
15188 q{value_port},
15189 $tracelevel)
15190 if defined $::RD_TRACE;
15191 2 my $thisprod = $thisrule->{"prods"}[0];
15192 2 $text = $_[1];
15193 2 my $_savetext;
15194 2 @item = (q{value_port});
15195 2 %item = (__RULE__ => q{value_port});
15196 2 my $repcount = 0;
15197  
15198  
15199 2 ▶ Parse::RecDescent::_trace(q{Trying subrule: [decint]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
15200 Parse::RecDescent::_tracefirst($text),
15201 q{value_port},
15202 $tracelevel)
15203 if defined $::RD_TRACE;
15204 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
15205 2 $expectation->is(q{})->at($text);
15206 2 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::decint($thisparser,$text,$repeating,$_noactions,sub { return [0,65535] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = decint($thisparser, $text, $repeating, $_noactions, sub { return [0, 65535]; } , undef))) 0 2 2
15207 {
15208
15209 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [decint]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15210 Parse::RecDescent::_tracefirst($text),
15211 q{value_port},
15212 $tracelevel)
15213 if defined $::RD_TRACE;
15214 0 $expectation->failed();
15215 0 last;
15216 }
15217 2 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [decint]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
15218 . $_tok . q{]},
15219  
15220 Parse::RecDescent::_tracefirst($text),
15221 q{value_port},
15222 $tracelevel)
15223 if defined $::RD_TRACE;
15224 2 $item{q{decint}} = $_tok;
15225 2 push @item, $_tok;
15226
15227 }
15228  
15229 2 ▶ Parse::RecDescent::_trace(q{>>Matched production: [decint]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 2 2
15230 Parse::RecDescent::_tracefirst($text),
15231 q{value_port},
15232 $tracelevel)
15233 if defined $::RD_TRACE;
15234  
15235  
15236  
15237 2 $_matched = 1;
15238 2 last;
15239 }
15240  
15241  
15242 2 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 2 2
15243 {
15244
15245 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15246 Parse::RecDescent::_tracefirst($_[1]),
15247 q{value_port},
15248 $tracelevel)
15249 if defined $::RD_TRACE;
15250 0 my $thisprod = $thisrule->{"prods"}[1];
15251
15252 0 my $_savetext;
15253 0 @item = (q{value_port});
15254 0 %item = (__RULE__ => q{value_port});
15255 0 my $repcount = 0;
15256  
15257  
15258
15259  
15260 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15261 Parse::RecDescent::_tracefirst($text),
15262 q{value_port},
15263 $tracelevel)
15264 if defined $::RD_TRACE;
15265 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
15266 0 my $rule = $item[0];
15267 0 $rule =~ s/_/ /g;
15268 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
15269 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
15270 0 } unless $_noactions; undef } else {0} };
15271 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
15272 {
15273 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15274 . $_tok . q{])},
15275 Parse::RecDescent::_tracefirst($text))
15276 if defined $::RD_TRACE;
15277 }
15278 else
15279 {
15280 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15281 Parse::RecDescent::_tracefirst($text))
15282 if defined $::RD_TRACE;
15283 }
15284
15285 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
15286 0 push @item, $item{__DIRECTIVE1__}=$_tok;
15287
15288  
15289 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15290 Parse::RecDescent::_tracefirst($text),
15291 q{value_port},
15292 $tracelevel)
15293 if defined $::RD_TRACE;
15294  
15295  
15296  
15297 0 $_matched = 1;
15298 0 last;
15299 }
15300  
15301  
15302 2 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 2 2
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
200
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
15303 {
15304
15305  
15306 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
15307 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15308 Parse::RecDescent::_tracefirst($_[1]),
15309 q{value_port},
15310 $tracelevel)
15311 if defined $::RD_TRACE;
15312 0 return undef;
15313 }
15314 2 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 2 2
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
020
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
ABresult
0X0
100
111
15315 {
15316 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15317 q{value_port},
15318 $tracelevel)
15319 if defined $::RD_TRACE;
15320 0 $return = $score_return;
15321 }
15322 2 splice @{$thisparser->{errors}}, $err_at;
15323 2 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 2 0 2
15324 2 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 2 2
15325 {
15326 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15327 $return . q{])}, "",
15328 q{value_port},
15329 $tracelevel);
15330 0 Parse::RecDescent::_trace(q{(consumed: [} .
15331 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15332 Parse::RecDescent::_tracefirst($text),
15333 , q{value_port},
15334 $tracelevel)
15335 }
15336 2 $_[1] = $text;
15337 2 return $return;
15338 }
15339  
15340 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
15341 sub Parse::RecDescent::Config::Maker::Grammar::value_string
15342 335 ▶{
Subroutine value_string: called CC=30 SCAR=38.2
15343 335 my $thisparser = $_[0];
15344 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
15345 335 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
3350
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
15346 335 $ERRORS = 0;
15347 335 my $thisrule = $thisparser->{"rules"}{"value_string"};
15348  
15349 335 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_string]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
15350 Parse::RecDescent::_tracefirst($_[1]),
15351 q{value_string},
15352 $tracelevel)
15353 if defined $::RD_TRACE;
15354  
15355
15356 335 my $err_at = @{$thisparser->{errors}};
15357  
15358 335 my $score;
15359 my $score_return;
15360 335 my $_tok;
15361 335 my $return = undef;
15362 335 my $_matched=0;
15363 335 my $commit=0;
15364 335 my @item = ();
15365 335 my %item = ();
15366 335 my $repeating = $_[2];
15367 335 my $_noactions = $_[3];
15368 335 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 335 0 335
15369 335 my $_itempos = $_[5];
15370 335 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 335 0 335
15371 335 my $text;
15372 my $lastsep;
15373 335 my $current_match;
15374 335 my $expectation = new Parse::RecDescent::Expectation(q{literal});
15375 335 $expectation->at($_[1]);
15376
15377 335 my $thisline;
15378 335 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15379  
15380
15381  
15382 335 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 335 0 335
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
00335
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
15383 {
15384
15385 335 ▶ Parse::RecDescent::_trace(q{Trying production: [literal]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
15386 Parse::RecDescent::_tracefirst($_[1]),
15387 q{value_string},
15388 $tracelevel)
15389 if defined $::RD_TRACE;
15390 335 my $thisprod = $thisrule->{"prods"}[0];
15391 335 $text = $_[1];
15392 335 my $_savetext;
15393 335 @item = (q{value_string});
15394 335 %item = (__RULE__ => q{value_string});
15395 335 my $repcount = 0;
15396  
15397  
15398 335 ▶ Parse::RecDescent::_trace(q{Trying subrule: [literal]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 335 335
15399 Parse::RecDescent::_tracefirst($text),
15400 q{value_string},
15401 $tracelevel)
15402 if defined $::RD_TRACE;
15403 9 ▶ if (1) { no strict qw{refs};
Subroutine BEGIN: called CC=1 SCAR=0.0
15404 335 $expectation->is(q{})->at($text);
15405 335 ▶ unless (defined ($_tok = Parse::RecDescent::Config::Maker::Grammar::literal($thisparser,$text,$repeating,$_noactions,sub { \@arg },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = literal($thisparser, $text, $repeating, $_noactions, sub { \@arg; } , undef))) 68 267 335
15406 {
15407
15408 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match subrule: [literal]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
15409 Parse::RecDescent::_tracefirst($text),
15410 q{value_string},
15411 $tracelevel)
15412 if defined $::RD_TRACE;
15413 68 $expectation->failed();
15414 68 last;
15415 }
15416 267 ▶ Parse::RecDescent::_trace(q{>>Matched subrule: [literal]<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 267 267
15417 . $_tok . q{]},
15418  
15419 Parse::RecDescent::_tracefirst($text),
15420 q{value_string},
15421 $tracelevel)
15422 if defined $::RD_TRACE;
15423 267 $item{q{literal}} = $_tok;
15424 267 push @item, $_tok;
15425
15426 }
15427  
15428 267 ▶ Parse::RecDescent::_trace(q{>>Matched production: [literal]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 267 267
15429 Parse::RecDescent::_tracefirst($text),
15430 q{value_string},
15431 $tracelevel)
15432 if defined $::RD_TRACE;
15433  
15434  
15435  
15436 267 $_matched = 1;
15437 267 last;
15438 }
15439  
15440  
15441 335 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 68 267 335
15442 {
15443
15444 68 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
15445 Parse::RecDescent::_tracefirst($_[1]),
15446 q{value_string},
15447 $tracelevel)
15448 if defined $::RD_TRACE;
15449 68 my $thisprod = $thisrule->{"prods"}[1];
15450
15451 68 my $_savetext;
15452 68 @item = (q{value_string});
15453 68 %item = (__RULE__ => q{value_string});
15454 68 my $repcount = 0;
15455  
15456  
15457
15458  
15459 68 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
15460 Parse::RecDescent::_tracefirst($text),
15461 q{value_string},
15462 $tracelevel)
15463 if defined $::RD_TRACE;
15464 68 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 68 0 68
15465 68 my $rule = $item[0];
15466 68 $rule =~ s/_/ /g;
15467 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
15468 68 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
15469 68 } unless $_noactions; undef } else {0} };
15470 68 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 68 68
15471 {
15472 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15473 . $_tok . q{])},
15474 Parse::RecDescent::_tracefirst($text))
15475 if defined $::RD_TRACE;
15476 }
15477 else
15478 {
15479 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
15480 Parse::RecDescent::_tracefirst($text))
15481 if defined $::RD_TRACE;
15482 }
15483
15484 68 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 68 0 68
15485 0 push @item, $item{__DIRECTIVE1__}=$_tok;
15486
15487  
15488 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15489 Parse::RecDescent::_tracefirst($text),
15490 q{value_string},
15491 $tracelevel)
15492 if defined $::RD_TRACE;
15493  
15494  
15495  
15496 0 $_matched = 1;
15497 0 last;
15498 }
15499  
15500  
15501 335 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 68 267 335
Condition66%2/3
$_matched or defined $score
l!l&&r!l&&!r
267068
MC/DC50%1/2
$_matched or defined $score
$_matched defined $score
Truth table66%2/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
15502 {
15503
15504  
15505 68 $_[1] = $text; # NOT SURE THIS IS NEEDED
15506 68 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 68 68
15507 Parse::RecDescent::_tracefirst($_[1]),
15508 q{value_string},
15509 $tracelevel)
15510 if defined $::RD_TRACE;
15511 68 return undef;
15512 }
15513 267 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 267 267
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
02670
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
ABresult
0X0
100
111
15514 {
15515 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15516 q{value_string},
15517 $tracelevel)
15518 if defined $::RD_TRACE;
15519 0 $return = $score_return;
15520 }
15521 267 splice @{$thisparser->{errors}}, $err_at;
15522 267 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 267 0 267
15523 267 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 267 267
15524 {
15525 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15526 $return . q{])}, "",
15527 q{value_string},
15528 $tracelevel);
15529 0 Parse::RecDescent::_trace(q{(consumed: [} .
15530 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15531 Parse::RecDescent::_tracefirst($text),
15532 , q{value_string},
15533 $tracelevel)
15534 }
15535 267 $_[1] = $text;
15536 267 return $return;
15537 }
15538  
15539 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
15540 sub Parse::RecDescent::Config::Maker::Grammar::value_void
15541 13 ▶{
Subroutine value_void: called CC=17 SCAR=32.4
15542 13 my $thisparser = $_[0];
15543 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
15544 13 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
130
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
15545 13 $ERRORS = 0;
15546 13 my $thisrule = $thisparser->{"rules"}{"value_void"};
15547  
15548 13 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_void]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 13 13
15549 Parse::RecDescent::_tracefirst($_[1]),
15550 q{value_void},
15551 $tracelevel)
15552 if defined $::RD_TRACE;
15553  
15554
15555 13 my $err_at = @{$thisparser->{errors}};
15556  
15557 13 my $score;
15558 my $score_return;
15559 13 my $_tok;
15560 13 my $return = undef;
15561 13 my $_matched=0;
15562 13 my $commit=0;
15563 13 my @item = ();
15564 13 my %item = ();
15565 13 my $repeating = $_[2];
15566 13 my $_noactions = $_[3];
15567 13 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 13 0 13
15568 13 my $_itempos = $_[5];
15569 13 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 13 0 13
15570 13 my $text;
15571 my $lastsep;
15572 13 my $current_match;
15573 13 my $expectation = new Parse::RecDescent::Expectation(q{});
15574 13 $expectation->at($_[1]);
15575
15576 13 my $thisline;
15577 13 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15578  
15579
15580  
15581 13 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 13 0 13
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0013
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
15582 {
15583
15584 13 ▶ Parse::RecDescent::_trace(q{Trying production: []},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 13 13
15585 Parse::RecDescent::_tracefirst($_[1]),
15586 q{value_void},
15587 $tracelevel)
15588 if defined $::RD_TRACE;
15589 13 my $thisprod = $thisrule->{"prods"}[0];
15590 13 $text = $_[1];
15591 13 my $_savetext;
15592 13 @item = (q{value_void});
15593 13 %item = (__RULE__ => q{value_void});
15594 13 my $repcount = 0;
15595  
15596  
15597 13 ▶ Parse::RecDescent::_trace(q{>>Matched production: []<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 13 13
15598 Parse::RecDescent::_tracefirst($text),
15599 q{value_void},
15600 $tracelevel)
15601 if defined $::RD_TRACE;
15602  
15603  
15604  
15605 13 $_matched = 1;
15606 13 last;
15607 }
15608  
15609  
15610 13 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 13 13
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
1300
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
15611 {
15612
15613  
15614 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
15615 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15616 Parse::RecDescent::_tracefirst($_[1]),
15617 q{value_void},
15618 $tracelevel)
15619 if defined $::RD_TRACE;
15620 0 return undef;
15621 }
15622 13 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 13 13
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0130
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
ABresult
0X0
100
111
15623 {
15624 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15625 q{value_void},
15626 $tracelevel)
15627 if defined $::RD_TRACE;
15628 0 $return = $score_return;
15629 }
15630 13 splice @{$thisparser->{errors}}, $err_at;
15631 13 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 13 0 13
15632 13 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 13 13
15633 {
15634 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15635 $return . q{])}, "",
15636 q{value_void},
15637 $tracelevel);
15638 0 Parse::RecDescent::_trace(q{(consumed: [} .
15639 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15640 Parse::RecDescent::_tracefirst($text),
15641 , q{value_void},
15642 $tracelevel)
15643 }
15644 13 $_[1] = $text;
15645 13 return $return;
15646 }
15647  
15648 # ARGS ARE: ($parser, $text; $repeating, $_noactions, \@args, $_itempos)
15649 sub Parse::RecDescent::Config::Maker::Grammar::value_zero_list
15650 45 ▶{
Subroutine value_zero_list: called CC=35 SCAR=51.9
15651 45 my $thisparser = $_[0];
15652 9 ▶ use vars q{$tracelevel};
Subroutine BEGIN: called CC=1 SCAR=0.0
15653 45 ▶ local $tracelevel = ($tracelevel||0)+1;
Condition50%1/2
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
l!l
450
MC/DC0%0/1
$Parse::RecDescent::Config::Maker::Grammar::tracelevel || 0
$Parse::RecDescent::Config::Maker::Grammar::tracelevel
Truth table50%1/2
A
A= $Parse::RecDescent::Config::Maker::Grammar::tracelevel
Aresult
11
00
15654 45 $ERRORS = 0;
15655 45 my $thisrule = $thisparser->{"rules"}{"value_zero_list"};
15656  
15657 45 ▶ Parse::RecDescent::_trace(q{Trying rule: [value_zero_list]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15658 Parse::RecDescent::_tracefirst($_[1]),
15659 q{value_zero_list},
15660 $tracelevel)
15661 if defined $::RD_TRACE;
15662  
15663
15664 45 my $err_at = @{$thisparser->{errors}};
15665  
15666 45 my $score;
15667 my $score_return;
15668 45 my $_tok;
15669 45 my $return = undef;
15670 45 my $_matched=0;
15671 45 my $commit=0;
15672 45 my @item = ();
15673 45 my %item = ();
15674 45 my $repeating = $_[2];
15675 45 my $_noactions = $_[3];
15676 45 ▶ my @arg = defined $_[4] ? @{ &{$_[4]} } : ();
Branch: 1 branch
BranchTrueFalseTotal
defined $_[4] ? : 45 0 45
15677 45 my $_itempos = $_[5];
15678 45 ▶ my %arg = ($#arg & 01) ? @arg : (@arg, undef);
Branch: 1 branch
BranchTrueFalseTotal
$#arg & 1 ? : 0 45 45
15679 45 my $text;
15680 my $lastsep;
15681 45 my $current_match;
15682 45 my $expectation = new Parse::RecDescent::Expectation(q{value});
15683 45 $expectation->at($_[1]);
15684
15685 45 my $thisline;
15686 45 tie $thisline, q{Parse::RecDescent::LineCounter}, \$text, $thisparser;
15687  
15688
15689  
15690 45 ▶ while (!$_matched && !$commit)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or $commit) 45 0 45
Condition33%1/3
$_matched or $commit
l!l&&r!l&&!r
0045
MC/DC0%0/2
$_matched or $commit
$_matched $commit
Truth table33%1/3
A or B
A= $_matchedB= $commit
ABresult
1X1
011
000
15691 {
15692
15693 45 ▶ Parse::RecDescent::_trace(q{Trying production: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15694 Parse::RecDescent::_tracefirst($_[1]),
15695 q{value_zero_list},
15696 $tracelevel)
15697 if defined $::RD_TRACE;
15698 45 my $thisprod = $thisrule->{"prods"}[0];
15699 45 $text = $_[1];
15700 45 my $_savetext;
15701 45 @item = (q{value_zero_list});
15702 45 %item = (__RULE__ => q{value_zero_list});
15703 45 my $repcount = 0;
15704  
15705  
15706 45 ▶ Parse::RecDescent::_trace(q{Trying repeated subrule: [value]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15707 Parse::RecDescent::_tracefirst($text),
15708 q{value_zero_list},
15709 $tracelevel)
15710 if defined $::RD_TRACE;
15711 45 $expectation->is(q{})->at($text);
15712
15713 45 ▶ unless (defined ($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value, 0, 100000000, $_noactions,$expectation,sub { return [@arg] },undef)))
Subroutine __ANON__: called CC=1 SCAR=0.2
Branch: 1 branch
BranchTrueFalseTotal
unless (defined($_tok = $thisparser->_parserepeat($text, \&Parse::RecDescent::Config::Maker::Grammar::value, 0, 100000000, $_noactions, $expectation, sub { return [@arg]; } , undef))) 0 45 45
15714 {
15715 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match repeated subrule: [value]>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15716 Parse::RecDescent::_tracefirst($text),
15717 q{value_zero_list},
15718 $tracelevel)
15719 if defined $::RD_TRACE;
15720 0 last;
15721 }
15722 45 ▶ Parse::RecDescent::_trace(q{>>Matched repeated subrule: [value]<< (}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15723 . @$_tok . q{ times)},
15724  
15725 Parse::RecDescent::_tracefirst($text),
15726 q{value_zero_list},
15727 $tracelevel)
15728 if defined $::RD_TRACE;
15729 45 $item{q{value(s?)}} = $_tok;
15730 45 push @item, $_tok;
15731
15732  
15733  
15734 45 ▶ Parse::RecDescent::_trace(q{Trying action},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15735 Parse::RecDescent::_tracefirst($text),
15736 q{value_zero_list},
15737 $tracelevel)
15738 if defined $::RD_TRACE;
15739
15740  
15741 45 ▶ $_tok = ($_noactions) ? 0 : do { new Config::Maker::Value::List($item[1]); };
Branch: 1 branch
BranchTrueFalseTotal
$_noactions ? : 0 45 45
15742 45 ▶ unless (defined $_tok)
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $_tok) 0 45 45
15743 {
15744 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match action>> (return value: [undef])})
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15745 if defined $::RD_TRACE;
15746 0 last;
15747 }
15748 45 ▶ Parse::RecDescent::_trace(q{>>Matched action<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15749 . $_tok . q{])},
15750 Parse::RecDescent::_tracefirst($text))
15751 if defined $::RD_TRACE;
15752 45 push @item, $_tok;
15753 45 $item{__ACTION1__}=$_tok;
15754
15755  
15756 45 ▶ Parse::RecDescent::_trace(q{>>Matched production: [value]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 45 45
15757 Parse::RecDescent::_tracefirst($text),
15758 q{value_zero_list},
15759 $tracelevel)
15760 if defined $::RD_TRACE;
15761  
15762  
15763  
15764 45 $_matched = 1;
15765 45 last;
15766 }
15767  
15768  
15769 45 ▶ while (!$_matched)
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched) 0 45 45
15770 {
15771
15772 0 ▶ Parse::RecDescent::_trace(q{Trying production: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15773 Parse::RecDescent::_tracefirst($_[1]),
15774 q{value_zero_list},
15775 $tracelevel)
15776 if defined $::RD_TRACE;
15777 0 my $thisprod = $thisrule->{"prods"}[1];
15778
15779 0 my $_savetext;
15780 0 @item = (q{value_zero_list});
15781 0 %item = (__RULE__ => q{value_zero_list});
15782 0 my $repcount = 0;
15783  
15784  
15785
15786  
15787 0 ▶ Parse::RecDescent::_trace(q{Trying directive: [<error...>]},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15788 Parse::RecDescent::_tracefirst($text),
15789 q{value_zero_list},
15790 $tracelevel)
15791 if defined $::RD_TRACE;
15792 0 ▶ $_tok = do { if (1) { do {
Branch: 1 branch
BranchTrueFalseTotal
unless ($_noactions) 0 0 0
15793 0 my $rule = $item[0];
15794 0 $rule =~ s/_/ /g;
15795 #WAS: Parse::RecDescent::_error("Invalid $rule: " . $expectation->message() ,$thisline);
15796 0 push @{$thisparser->{errors}}, ["Invalid $rule: " . $expectation->message() ,$thisline];
15797 0 } unless $_noactions; undef } else {0} };
15798 0 ▶ if (defined($_tok))
Branch: 1 branch
BranchTrueFalseTotal
if (defined $_tok) { } 0 0 0
15799 {
15800 0 ▶ Parse::RecDescent::_trace(q{>>Matched directive<< (return value: [}
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15801 . $_tok . q{])},
15802 Parse::RecDescent::_tracefirst($text))
15803 if defined $::RD_TRACE;
15804 }
15805 else
15806 {
15807 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match directive>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15808 Parse::RecDescent::_tracefirst($text))
15809 if defined $::RD_TRACE;
15810 }
15811
15812 0 ▶ last unless defined $_tok;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $_tok 0 0 0
15813 0 push @item, $item{__DIRECTIVE1__}=$_tok;
15814
15815  
15816 0 ▶ Parse::RecDescent::_trace(q{>>Matched production: [<error...>]<<},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15817 Parse::RecDescent::_tracefirst($text),
15818 q{value_zero_list},
15819 $tracelevel)
15820 if defined $::RD_TRACE;
15821  
15822  
15823  
15824 0 $_matched = 1;
15825 0 last;
15826 }
15827  
15828  
15829 45 ▶ unless ( $_matched || defined($score) )
Branch: 1 branch
BranchTrueFalseTotal
unless ($_matched or defined $score) 0 45 45
Condition33%1/3
$_matched or defined $score
l!l&&r!l&&!r
4500
MC/DC0%0/2
$_matched or defined $score
$_matched defined $score
Truth table33%1/3
A or B
A= $_matchedB= defined $score
ABresult
1X1
011
000
15830 {
15831
15832  
15833 0 $_[1] = $text; # NOT SURE THIS IS NEEDED
15834 0 ▶ Parse::RecDescent::_trace(q{<<Didn't match rule>>},
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15835 Parse::RecDescent::_tracefirst($_[1]),
15836 q{value_zero_list},
15837 $tracelevel)
15838 if defined $::RD_TRACE;
15839 0 return undef;
15840 }
15841 45 ▶ if (!defined($return) && defined($score))
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $return and defined $score) 0 45 45
Condition33%1/3
not defined $return and defined $score
!ll&&!rl&&r
0450
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
ABresult
0X0
100
111
15842 {
15843 0 ▶ Parse::RecDescent::_trace(q{>>Accepted scored production<<}, "",
Branch: 1 branch
BranchTrueFalseTotal
if defined $main::RD_TRACE 0 0 0
15844 q{value_zero_list},
15845 $tracelevel)
15846 if defined $::RD_TRACE;
15847 0 $return = $score_return;
15848 }
15849 45 splice @{$thisparser->{errors}}, $err_at;
15850 45 ▶ $return = $item[$#item] unless defined $return;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $return 45 0 45
15851 45 ▶ if (defined $::RD_TRACE)
Branch: 1 branch
BranchTrueFalseTotal
if (defined $main::RD_TRACE) 0 45 45
15852 {
15853 0 Parse::RecDescent::_trace(q{>>Matched rule<< (return value: [} .
15854 $return . q{])}, "",
15855 q{value_zero_list},
15856 $tracelevel);
15857 0 Parse::RecDescent::_trace(q{(consumed: [} .
15858 Parse::RecDescent::_tracemax(substr($_[1],0,-length($text))) . q{])},
15859 Parse::RecDescent::_tracefirst($text),
15860 , q{value_zero_list},
15861 $tracelevel)
15862 }
15863 45 $_[1] = $text;
15864 45 return $return;
15865 }
15866 }
15867 9 ▶package Config::Maker::Grammar; sub new { my $self = bless( {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
15868 '_AUTOACTION' => undef,
15869 '_AUTOTREE' => undef,
15870 '_check' => {
15871 'itempos' => !!0,
15872 'prevcolumn' => !!0,
15873 'prevline' => !!0,
15874 'prevoffset' => !!0,
15875 'thiscolumn' => !!0,
15876 'thisoffset' => !!0
15877 },
15878 'localvars' => '',
15879 'namespace' => 'Parse::RecDescent::Config::Maker::Grammar',
15880 'rules' => {
15881 '_alternation_1_of_production_1_of_rule_value_ipv4_mask' => bless( {
15882 'calls' => [
15883 'decint',
15884 'value_ipv4'
15885 ],
15886 'changed' => 0,
15887 'impcount' => 0,
15888 'line' => 432,
15889 'name' => '_alternation_1_of_production_1_of_rule_value_ipv4_mask',
15890 'opcount' => 0,
15891 'prods' => [
15892 bless( {
15893 'actcount' => 0,
15894 'dircount' => 0,
15895 'error' => undef,
15896 'items' => [
15897 bless( {
15898 'argcode' => '[0,32]',
15899 'implicit' => undef,
15900 'line' => 432,
15901 'lookahead' => 0,
15902 'matchrule' => 0,
15903 'subrule' => 'decint'
15904 }, 'Parse::RecDescent::Subrule' )
15905 ],
15906 'line' => undef,
15907 'number' => 0,
15908 'patcount' => 0,
15909 'strcount' => 0,
15910 'uncommit' => undef
15911 }, 'Parse::RecDescent::Production' ),
15912 bless( {
15913 'actcount' => 0,
15914 'dircount' => 0,
15915 'error' => undef,
15916 'items' => [
15917 bless( {
15918 'argcode' => undef,
15919 'implicit' => undef,
15920 'line' => 432,
15921 'lookahead' => 0,
15922 'matchrule' => 0,
15923 'subrule' => 'value_ipv4'
15924 }, 'Parse::RecDescent::Subrule' )
15925 ],
15926 'line' => 432,
15927 'number' => 1,
15928 'patcount' => 0,
15929 'strcount' => 0,
15930 'uncommit' => undef
15931 }, 'Parse::RecDescent::Production' )
15932 ],
15933 'vars' => ''
15934 }, 'Parse::RecDescent::Rule' ),
15935 'block' => bless( {
15936 'calls' => [
15937 'option'
15938 ],
15939 'changed' => 0,
15940 'impcount' => 0,
15941 'line' => 318,
15942 'name' => 'block',
15943 'opcount' => 0,
15944 'prods' => [
15945 bless( {
15946 'actcount' => 1,
15947 'dircount' => 0,
15948 'error' => undef,
15949 'items' => [
15950 bless( {
15951 'description' => '\'\\{\'',
15952 'hashname' => '__STRING1__',
15953 'line' => 319,
15954 'lookahead' => 0,
15955 'pattern' => '{'
15956 }, 'Parse::RecDescent::Literal' ),
15957 bless( {
15958 'argcode' => '[$arg[0]]',
15959 'expected' => undef,
15960 'line' => 319,
15961 'lookahead' => 0,
15962 'matchrule' => 0,
15963 'max' => 100000000,
15964 'min' => 0,
15965 'repspec' => 's?',
15966 'subrule' => 'option'
15967 }, 'Parse::RecDescent::Repetition' ),
15968 bless( {
15969 'description' => '\'\\}\'',
15970 'hashname' => '__STRING2__',
15971 'line' => 319,
15972 'lookahead' => 0,
15973 'pattern' => '}'
15974 }, 'Parse::RecDescent::Literal' ),
15975 bless( {
15976 'code' => '{ $item[2]; }',
15977 'hashname' => '__ACTION1__',
15978 'line' => 320,
15979 'lookahead' => 0
15980 }, 'Parse::RecDescent::Action' )
15981 ],
15982 'line' => undef,
15983 'number' => 0,
15984 'patcount' => 0,
15985 'strcount' => 2,
15986 'uncommit' => undef
15987 }, 'Parse::RecDescent::Production' ),
15988 bless( {
15989 'actcount' => 1,
15990 'dircount' => 1,
15991 'error' => undef,
15992 'items' => [
15993 bless( {
15994 'description' => '\'<\'',
15995 'hashname' => '__STRING1__',
15996 'line' => 322,
15997 'lookahead' => 0,
15998 'pattern' => '<'
15999 }, 'Parse::RecDescent::Literal' ),
16000 bless( {
16001 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
16002 'hashname' => '__DIRECTIVE1__',
16003 'line' => 322,
16004 'lookahead' => 0,
16005 'name' => '<skip: \'\'>'
16006 }, 'Parse::RecDescent::Directive' ),
16007 bless( {
16008 'description' => '/[^>]+/',
16009 'hashname' => '__PATTERN1__',
16010 'ldelim' => '/',
16011 'line' => 322,
16012 'lookahead' => 0,
16013 'mod' => '',
16014 'pattern' => '[^>]+',
16015 'rdelim' => '/'
16016 }, 'Parse::RecDescent::Token' ),
16017 bless( {
16018 'description' => '\'>\'',
16019 'hashname' => '__STRING2__',
16020 'line' => 322,
16021 'lookahead' => 0,
16022 'pattern' => '>'
16023 }, 'Parse::RecDescent::Literal' ),
16024 bless( {
16025 'code' => '{
16026 Config::Maker::Config->read($item[3], $arg[0]);
16027 }',
16028 'hashname' => '__ACTION1__',
16029 'line' => 323,
16030 'lookahead' => 0
16031 }, 'Parse::RecDescent::Action' )
16032 ],
16033 'line' => 321,
16034 'number' => 1,
16035 'patcount' => 1,
16036 'strcount' => 2,
16037 'uncommit' => undef
16038 }, 'Parse::RecDescent::Production' ),
16039 bless( {
16040 'actcount' => 0,
16041 'dircount' => 1,
16042 'error' => 1,
16043 'items' => [
16044 bless( {
16045 'commitonly' => '',
16046 'hashname' => '__DIRECTIVE1__',
16047 'line' => 326,
16048 'lookahead' => 0,
16049 'msg' => ''
16050 }, 'Parse::RecDescent::Error' )
16051 ],
16052 'line' => 326,
16053 'number' => 2,
16054 'patcount' => 0,
16055 'strcount' => 0,
16056 'uncommit' => 0
16057 }, 'Parse::RecDescent::Production' )
16058 ],
16059 'vars' => ''
16060 }, 'Parse::RecDescent::Rule' ),
16061 'body' => bless( {
16062 'calls' => [],
16063 'changed' => 0,
16064 'impcount' => 0,
16065 'line' => 314,
16066 'name' => 'body',
16067 'opcount' => 0,
16068 'prods' => [
16069 bless( {
16070 'actcount' => 0,
16071 'dircount' => 0,
16072 'error' => undef,
16073 'items' => [
16074 bless( {
16075 'argcode' => '[$arg[0], @arg[2..$#arg]]',
16076 'implicit' => undef,
16077 'line' => 316,
16078 'lookahead' => 0,
16079 'matchrule' => 1,
16080 'subrule' => 'body_$arg[1]'
16081 }, 'Parse::RecDescent::Subrule' )
16082 ],
16083 'line' => undef,
16084 'number' => 0,
16085 'patcount' => 0,
16086 'strcount' => 0,
16087 'uncommit' => undef
16088 }, 'Parse::RecDescent::Production' )
16089 ],
16090 'vars' => ''
16091 }, 'Parse::RecDescent::Rule' ),
16092 'body_anon_group' => bless( {
16093 'calls' => [
16094 'block'
16095 ],
16096 'changed' => 0,
16097 'impcount' => 0,
16098 'line' => 333,
16099 'name' => 'body_anon_group',
16100 'opcount' => 0,
16101 'prods' => [
16102 bless( {
16103 'actcount' => 1,
16104 'dircount' => 0,
16105 'error' => undef,
16106 'items' => [
16107 bless( {
16108 'argcode' => '[$arg[0]]',
16109 'implicit' => undef,
16110 'line' => 334,
16111 'lookahead' => 0,
16112 'matchrule' => 0,
16113 'subrule' => 'block'
16114 }, 'Parse::RecDescent::Subrule' ),
16115 bless( {
16116 'code' => '{ +{ -children => $item[1] }; }',
16117 'hashname' => '__ACTION1__',
16118 'line' => 335,
16119 'lookahead' => 0
16120 }, 'Parse::RecDescent::Action' )
16121 ],
16122 'line' => undef,
16123 'number' => 0,
16124 'patcount' => 0,
16125 'strcount' => 0,
16126 'uncommit' => undef
16127 }, 'Parse::RecDescent::Production' ),
16128 bless( {
16129 'actcount' => 0,
16130 'dircount' => 1,
16131 'error' => 1,
16132 'items' => [
16133 bless( {
16134 'commitonly' => '',
16135 'hashname' => '__DIRECTIVE1__',
16136 'line' => 336,
16137 'lookahead' => 0,
16138 'msg' => ''
16139 }, 'Parse::RecDescent::Error' )
16140 ],
16141 'line' => 336,
16142 'number' => 1,
16143 'patcount' => 0,
16144 'strcount' => 0,
16145 'uncommit' => 0
16146 }, 'Parse::RecDescent::Production' )
16147 ],
16148 'vars' => ''
16149 }, 'Parse::RecDescent::Rule' ),
16150 'body_named_group' => bless( {
16151 'calls' => [
16152 'value',
16153 'block'
16154 ],
16155 'changed' => 0,
16156 'impcount' => 0,
16157 'line' => 338,
16158 'name' => 'body_named_group',
16159 'opcount' => 0,
16160 'prods' => [
16161 bless( {
16162 'actcount' => 1,
16163 'dircount' => 0,
16164 'error' => undef,
16165 'items' => [
16166 bless( {
16167 'argcode' => '[@{$arg[1]}]',
16168 'implicit' => undef,
16169 'line' => 339,
16170 'lookahead' => 0,
16171 'matchrule' => 0,
16172 'subrule' => 'value'
16173 }, 'Parse::RecDescent::Subrule' ),
16174 bless( {
16175 'argcode' => '[$arg[0]]',
16176 'implicit' => undef,
16177 'line' => 340,
16178 'lookahead' => 0,
16179 'matchrule' => 0,
16180 'subrule' => 'block'
16181 }, 'Parse::RecDescent::Subrule' ),
16182 bless( {
16183 'code' => '{ +{
16184 -value => $item[1],
16185 -children => $item[2],
16186 }; }',
16187 'hashname' => '__ACTION1__',
16188 'line' => 341,
16189 'lookahead' => 0
16190 }, 'Parse::RecDescent::Action' )
16191 ],
16192 'line' => undef,
16193 'number' => 0,
16194 'patcount' => 0,
16195 'strcount' => 0,
16196 'uncommit' => undef
16197 }, 'Parse::RecDescent::Production' ),
16198 bless( {
16199 'actcount' => 0,
16200 'dircount' => 1,
16201 'error' => 1,
16202 'items' => [
16203 bless( {
16204 'commitonly' => '',
16205 'hashname' => '__DIRECTIVE1__',
16206 'line' => 345,
16207 'lookahead' => 0,
16208 'msg' => ''
16209 }, 'Parse::RecDescent::Error' )
16210 ],
16211 'line' => 345,
16212 'number' => 1,
16213 'patcount' => 0,
16214 'strcount' => 0,
16215 'uncommit' => 0
16216 }, 'Parse::RecDescent::Production' )
16217 ],
16218 'vars' => ''
16219 }, 'Parse::RecDescent::Rule' ),
16220 'body_simple' => bless( {
16221 'calls' => [
16222 'value'
16223 ],
16224 'changed' => 0,
16225 'impcount' => 0,
16226 'line' => 328,
16227 'name' => 'body_simple',
16228 'opcount' => 0,
16229 'prods' => [
16230 bless( {
16231 'actcount' => 1,
16232 'dircount' => 0,
16233 'error' => undef,
16234 'items' => [
16235 bless( {
16236 'argcode' => '[@{$arg[1]}]',
16237 'implicit' => undef,
16238 'line' => 329,
16239 'lookahead' => 0,
16240 'matchrule' => 0,
16241 'subrule' => 'value'
16242 }, 'Parse::RecDescent::Subrule' ),
16243 bless( {
16244 'description' => '\';\'',
16245 'hashname' => '__STRING1__',
16246 'line' => 329,
16247 'lookahead' => 0,
16248 'pattern' => ';'
16249 }, 'Parse::RecDescent::Literal' ),
16250 bless( {
16251 'code' => '{ +{ -value => $item[1] }; }',
16252 'hashname' => '__ACTION1__',
16253 'line' => 330,
16254 'lookahead' => 0
16255 }, 'Parse::RecDescent::Action' )
16256 ],
16257 'line' => undef,
16258 'number' => 0,
16259 'patcount' => 0,
16260 'strcount' => 1,
16261 'uncommit' => undef
16262 }, 'Parse::RecDescent::Production' ),
16263 bless( {
16264 'actcount' => 0,
16265 'dircount' => 1,
16266 'error' => 1,
16267 'items' => [
16268 bless( {
16269 'commitonly' => '',
16270 'hashname' => '__DIRECTIVE1__',
16271 'line' => 331,
16272 'lookahead' => 0,
16273 'msg' => ''
16274 }, 'Parse::RecDescent::Error' )
16275 ],
16276 'line' => 331,
16277 'number' => 1,
16278 'patcount' => 0,
16279 'strcount' => 0,
16280 'uncommit' => 0
16281 }, 'Parse::RecDescent::Production' )
16282 ],
16283 'vars' => ''
16284 }, 'Parse::RecDescent::Rule' ),
16285 'byte' => bless( {
16286 'calls' => [
16287 'decint'
16288 ],
16289 'changed' => 0,
16290 'impcount' => 0,
16291 'line' => 406,
16292 'name' => 'byte',
16293 'opcount' => 0,
16294 'prods' => [
16295 bless( {
16296 'actcount' => 0,
16297 'dircount' => 0,
16298 'error' => undef,
16299 'items' => [
16300 bless( {
16301 'argcode' => '[0,255]',
16302 'implicit' => undef,
16303 'line' => 406,
16304 'lookahead' => 0,
16305 'matchrule' => 0,
16306 'subrule' => 'decint'
16307 }, 'Parse::RecDescent::Subrule' )
16308 ],
16309 'line' => undef,
16310 'number' => 0,
16311 'patcount' => 0,
16312 'strcount' => 0,
16313 'uncommit' => undef
16314 }, 'Parse::RecDescent::Production' )
16315 ],
16316 'vars' => ''
16317 }, 'Parse::RecDescent::Rule' ),
16318 'closer' => bless( {
16319 'calls' => [
16320 'space'
16321 ],
16322 'changed' => 0,
16323 'impcount' => 0,
16324 'line' => 158,
16325 'name' => 'closer',
16326 'opcount' => 0,
16327 'prods' => [
16328 bless( {
16329 'actcount' => 0,
16330 'dircount' => 2,
16331 'error' => undef,
16332 'items' => [
16333 bless( {
16334 'description' => '\'[$\'',
16335 'hashname' => '__STRING1__',
16336 'line' => 158,
16337 'lookahead' => 0,
16338 'pattern' => '[$'
16339 }, 'Parse::RecDescent::Literal' ),
16340 bless( {
16341 'code' => 'my $oldskip = $skip; $skip= qr/\\s*/; $oldskip',
16342 'hashname' => '__DIRECTIVE1__',
16343 'line' => 158,
16344 'lookahead' => 0,
16345 'name' => '<skip: qr/\\s*/>'
16346 }, 'Parse::RecDescent::Directive' ),
16347 bless( {
16348 'description' => '\'end$arg[0]\'',
16349 'hashname' => '__STRING2__',
16350 'line' => 158,
16351 'lookahead' => 0,
16352 'pattern' => 'end$arg[0]'
16353 }, 'Parse::RecDescent::InterpLit' ),
16354 bless( {
16355 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
16356 'hashname' => '__DIRECTIVE2__',
16357 'line' => 158,
16358 'lookahead' => 0,
16359 'name' => '<skip: \'\'>'
16360 }, 'Parse::RecDescent::Directive' ),
16361 bless( {
16362 'description' => '/(\\\\s[^\\\\$\\\\[\\\\]]*)?/',
16363 'hashname' => '__PATTERN1__',
16364 'ldelim' => '/',
16365 'line' => 158,
16366 'lookahead' => 0,
16367 'mod' => '',
16368 'pattern' => '(\\s[^\\$\\[\\]]*)?',
16369 'rdelim' => '/'
16370 }, 'Parse::RecDescent::Token' ),
16371 bless( {
16372 'description' => '\'$]\'',
16373 'hashname' => '__STRING3__',
16374 'line' => 158,
16375 'lookahead' => 0,
16376 'pattern' => '$]'
16377 }, 'Parse::RecDescent::Literal' ),
16378 bless( {
16379 'argcode' => undef,
16380 'implicit' => undef,
16381 'line' => 158,
16382 'lookahead' => 0,
16383 'matchrule' => 0,
16384 'subrule' => 'space'
16385 }, 'Parse::RecDescent::Subrule' )
16386 ],
16387 'line' => undef,
16388 'number' => 0,
16389 'patcount' => 1,
16390 'strcount' => 3,
16391 'uncommit' => undef
16392 }, 'Parse::RecDescent::Production' ),
16393 bless( {
16394 'actcount' => 0,
16395 'dircount' => 0,
16396 'error' => undef,
16397 'items' => [
16398 bless( {
16399 'description' => '\'[/]\'',
16400 'hashname' => '__STRING1__',
16401 'line' => 159,
16402 'lookahead' => 0,
16403 'pattern' => '[/]'
16404 }, 'Parse::RecDescent::Literal' ),
16405 bless( {
16406 'argcode' => undef,
16407 'implicit' => undef,
16408 'line' => 159,
16409 'lookahead' => 0,
16410 'matchrule' => 0,
16411 'subrule' => 'space'
16412 }, 'Parse::RecDescent::Subrule' )
16413 ],
16414 'line' => 159,
16415 'number' => 1,
16416 'patcount' => 0,
16417 'strcount' => 1,
16418 'uncommit' => undef
16419 }, 'Parse::RecDescent::Production' ),
16420 bless( {
16421 'actcount' => 0,
16422 'dircount' => 1,
16423 'error' => 1,
16424 'items' => [
16425 bless( {
16426 'commitonly' => '',
16427 'hashname' => '__DIRECTIVE1__',
16428 'line' => 160,
16429 'lookahead' => 0,
16430 'msg' => ''
16431 }, 'Parse::RecDescent::Error' )
16432 ],
16433 'line' => 160,
16434 'number' => 2,
16435 'patcount' => 0,
16436 'strcount' => 0,
16437 'uncommit' => 0
16438 }, 'Parse::RecDescent::Production' )
16439 ],
16440 'vars' => ''
16441 }, 'Parse::RecDescent::Rule' ),
16442 'configuration' => bless( {
16443 'calls' => [
16444 'option',
16445 'eof'
16446 ],
16447 'changed' => 0,
16448 'impcount' => 0,
16449 'line' => 283,
16450 'name' => 'configuration',
16451 'opcount' => 0,
16452 'prods' => [
16453 bless( {
16454 'actcount' => 1,
16455 'dircount' => 1,
16456 'error' => undef,
16457 'items' => [
16458 bless( {
16459 'code' => 'my $oldskip = $skip; $skip= qr/(\\s|#[^\\n]*)*/; $oldskip',
16460 'hashname' => '__DIRECTIVE1__',
16461 'line' => 285,
16462 'lookahead' => 0,
16463 'name' => '<skip: qr/(\\s|#[^\\n]*)*/>'
16464 }, 'Parse::RecDescent::Directive' ),
16465 bless( {
16466 'argcode' => '[$arg[0]]',
16467 'expected' => undef,
16468 'line' => 286,
16469 'lookahead' => 0,
16470 'matchrule' => 0,
16471 'max' => 100000000,
16472 'min' => 0,
16473 'repspec' => 's?',
16474 'subrule' => 'option'
16475 }, 'Parse::RecDescent::Repetition' ),
16476 bless( {
16477 'argcode' => undef,
16478 'implicit' => undef,
16479 'line' => 287,
16480 'lookahead' => 0,
16481 'matchrule' => 0,
16482 'subrule' => 'eof'
16483 }, 'Parse::RecDescent::Subrule' ),
16484 bless( {
16485 'code' => '{ $item[2]; }',
16486 'hashname' => '__ACTION1__',
16487 'line' => 288,
16488 'lookahead' => 0
16489 }, 'Parse::RecDescent::Action' )
16490 ],
16491 'line' => undef,
16492 'number' => 0,
16493 'patcount' => 0,
16494 'strcount' => 0,
16495 'uncommit' => undef
16496 }, 'Parse::RecDescent::Production' ),
16497 bless( {
16498 'actcount' => 0,
16499 'dircount' => 1,
16500 'error' => 1,
16501 'items' => [
16502 bless( {
16503 'commitonly' => '',
16504 'hashname' => '__DIRECTIVE1__',
16505 'line' => 290,
16506 'lookahead' => 0,
16507 'msg' => ''
16508 }, 'Parse::RecDescent::Error' )
16509 ],
16510 'line' => 289,
16511 'number' => 1,
16512 'patcount' => 0,
16513 'strcount' => 0,
16514 'uncommit' => 0
16515 }, 'Parse::RecDescent::Production' )
16516 ],
16517 'vars' => ''
16518 }, 'Parse::RecDescent::Rule' ),
16519 'decint' => bless( {
16520 'calls' => [],
16521 'changed' => 0,
16522 'impcount' => 0,
16523 'line' => 21,
16524 'name' => 'decint',
16525 'opcount' => 0,
16526 'prods' => [
16527 bless( {
16528 'actcount' => 1,
16529 'dircount' => 1,
16530 'error' => undef,
16531 'items' => [
16532 bless( {
16533 'description' => '/[+-]\\\\d+/',
16534 'hashname' => '__PATTERN1__',
16535 'ldelim' => '/',
16536 'line' => 22,
16537 'lookahead' => 0,
16538 'mod' => '',
16539 'pattern' => '[+-]\\d+',
16540 'rdelim' => '/'
16541 }, 'Parse::RecDescent::Token' ),
16542 bless( {
16543 'code' => '$commit = 1',
16544 'hashname' => '__DIRECTIVE1__',
16545 'line' => 22,
16546 'lookahead' => 0,
16547 'name' => '<commit>'
16548 }, 'Parse::RecDescent::Directive' ),
16549 bless( {
16550 'code' => '{ Config::Maker::limit(0 + $item[1], @arg); }',
16551 'hashname' => '__ACTION1__',
16552 'line' => 22,
16553 'lookahead' => 0
16554 }, 'Parse::RecDescent::Action' )
16555 ],
16556 'line' => undef,
16557 'number' => 0,
16558 'patcount' => 1,
16559 'strcount' => 0,
16560 'uncommit' => undef
16561 }, 'Parse::RecDescent::Production' ),
16562 bless( {
16563 'actcount' => 1,
16564 'dircount' => 1,
16565 'error' => undef,
16566 'items' => [
16567 bless( {
16568 'description' => '/[1-9]\\\\d*|0/',
16569 'hashname' => '__PATTERN1__',
16570 'ldelim' => '/',
16571 'line' => 24,
16572 'lookahead' => 0,
16573 'mod' => '',
16574 'pattern' => '[1-9]\\d*|0',
16575 'rdelim' => '/'
16576 }, 'Parse::RecDescent::Token' ),
16577 bless( {
16578 'code' => '$commit = 1',
16579 'hashname' => '__DIRECTIVE1__',
16580 'line' => 24,
16581 'lookahead' => 0,
16582 'name' => '<commit>'
16583 }, 'Parse::RecDescent::Directive' ),
16584 bless( {
16585 'code' => '{ Config::Maker::limit(0 + $item[1], @arg); }',
16586 'hashname' => '__ACTION1__',
16587 'line' => 24,
16588 'lookahead' => 0
16589 }, 'Parse::RecDescent::Action' )
16590 ],
16591 'line' => 23,
16592 'number' => 1,
16593 'patcount' => 1,
16594 'strcount' => 0,
16595 'uncommit' => undef
16596 }, 'Parse::RecDescent::Production' ),
16597 bless( {
16598 'actcount' => 0,
16599 'dircount' => 2,
16600 'error' => 1,
16601 'items' => [
16602 bless( {
16603 'commitonly' => '?',
16604 'hashname' => '__DIRECTIVE1__',
16605 'line' => 26,
16606 'lookahead' => 0,
16607 'msg' => ' Number $item[1] out of range'
16608 }, 'Parse::RecDescent::Error' ),
16609 bless( {
16610 'hashname' => '__DIRECTIVE2__',
16611 'line' => 26,
16612 'lookahead' => 0,
16613 'name' => '<reject>'
16614 }, 'Parse::RecDescent::UncondReject' )
16615 ],
16616 'line' => 25,
16617 'number' => 2,
16618 'patcount' => 0,
16619 'strcount' => 0,
16620 'uncommit' => 0
16621 }, 'Parse::RecDescent::Production' )
16622 ],
16623 'vars' => ''
16624 }, 'Parse::RecDescent::Rule' ),
16625 'directive' => bless( {
16626 'calls' => [
16627 'identifier',
16628 'optpath',
16629 'space',
16630 'opener',
16631 'directive',
16632 'closer',
16633 'ifrest'
16634 ],
16635 'changed' => 0,
16636 'impcount' => 0,
16637 'line' => 118,
16638 'name' => 'directive',
16639 'opcount' => 0,
16640 'prods' => [
16641 bless( {
16642 'actcount' => 1,
16643 'dircount' => 0,
16644 'error' => undef,
16645 'items' => [
16646 bless( {
16647 'description' => '/([^\\\\[]|\\\\[\\\\[)+/',
16648 'hashname' => '__PATTERN1__',
16649 'ldelim' => '/',
16650 'line' => 120,
16651 'lookahead' => 0,
16652 'mod' => '',
16653 'pattern' => '([^\\[]|\\[\\[)+',
16654 'rdelim' => '/'
16655 }, 'Parse::RecDescent::Token' ),
16656 bless( {
16657 'code' => '{ $item[1] =~ s/\\[\\[/[/g; $item[1] =~ s/\\]\\]/\\]/g; $item[1]; }',
16658 'hashname' => '__ACTION1__',
16659 'line' => 121,
16660 'lookahead' => 0
16661 }, 'Parse::RecDescent::Action' )
16662 ],
16663 'line' => undef,
16664 'number' => 0,
16665 'patcount' => 1,
16666 'strcount' => 0,
16667 'uncommit' => undef
16668 }, 'Parse::RecDescent::Production' ),
16669 bless( {
16670 'actcount' => 1,
16671 'dircount' => 1,
16672 'error' => undef,
16673 'items' => [
16674 bless( {
16675 'description' => '\'[#\'',
16676 'hashname' => '__STRING1__',
16677 'line' => 124,
16678 'lookahead' => 0,
16679 'pattern' => '[#'
16680 }, 'Parse::RecDescent::Literal' ),
16681 bless( {
16682 'code' => '$commit = 1',
16683 'hashname' => '__DIRECTIVE1__',
16684 'line' => 124,
16685 'lookahead' => 0,
16686 'name' => '<commit>'
16687 }, 'Parse::RecDescent::Directive' ),
16688 bless( {
16689 'description' => '/([^#]|#[^\\\\]])*/',
16690 'hashname' => '__PATTERN1__',
16691 'ldelim' => '/',
16692 'line' => 124,
16693 'lookahead' => 0,
16694 'mod' => '',
16695 'pattern' => '([^#]|#[^\\]])*',
16696 'rdelim' => '/'
16697 }, 'Parse::RecDescent::Token' ),
16698 bless( {
16699 'description' => '\'#]\'',
16700 'hashname' => '__STRING2__',
16701 'line' => 124,
16702 'lookahead' => 0,
16703 'pattern' => '#]'
16704 }, 'Parse::RecDescent::Literal' ),
16705 bless( {
16706 'code' => '{ \'\'; }',
16707 'hashname' => '__ACTION1__',
16708 'line' => 124,
16709 'lookahead' => 0
16710 }, 'Parse::RecDescent::Action' )
16711 ],
16712 'line' => undef,
16713 'number' => 1,
16714 'patcount' => 1,
16715 'strcount' => 2,
16716 'uncommit' => undef
16717 }, 'Parse::RecDescent::Production' ),
16718 bless( {
16719 'actcount' => 0,
16720 'dircount' => 2,
16721 'error' => 1,
16722 'items' => [
16723 bless( {
16724 'commitonly' => '?',
16725 'hashname' => '__DIRECTIVE1__',
16726 'line' => 125,
16727 'lookahead' => 0,
16728 'msg' => ''
16729 }, 'Parse::RecDescent::Error' ),
16730 bless( {
16731 'hashname' => '__DIRECTIVE2__',
16732 'line' => 125,
16733 'lookahead' => 0,
16734 'name' => '<reject>'
16735 }, 'Parse::RecDescent::UncondReject' )
16736 ],
16737 'line' => 125,
16738 'number' => 2,
16739 'patcount' => 0,
16740 'strcount' => 0,
16741 'uncommit' => 0
16742 }, 'Parse::RecDescent::Production' ),
16743 bless( {
16744 'actcount' => 1,
16745 'dircount' => 2,
16746 'error' => undef,
16747 'items' => [
16748 bless( {
16749 'description' => '\'[\'',
16750 'hashname' => '__STRING1__',
16751 'line' => 128,
16752 'lookahead' => 0,
16753 'pattern' => '['
16754 }, 'Parse::RecDescent::Literal' ),
16755 bless( {
16756 'code' => 'Text::Balanced::extract_codeblock($text,undef,$skip,\'{}\');
16757 ',
16758 'hashname' => '__DIRECTIVE1__',
16759 'line' => 128,
16760 'lookahead' => 0,
16761 'name' => '<perl_codeblock>'
16762 }, 'Parse::RecDescent::Directive' ),
16763 bless( {
16764 'code' => '$commit = 1',
16765 'hashname' => '__DIRECTIVE2__',
16766 'line' => 128,
16767 'lookahead' => 0,
16768 'name' => '<commit>'
16769 }, 'Parse::RecDescent::Directive' ),
16770 bless( {
16771 'description' => '\']\'',
16772 'hashname' => '__STRING2__',
16773 'line' => 128,
16774 'lookahead' => 0,
16775 'pattern' => ']'
16776 }, 'Parse::RecDescent::Literal' ),
16777 bless( {
16778 'code' => '{
16779 my $code = $item[2];
16780 sub {
16781 print Config::Maker::exe($code);
16782 }
16783 }',
16784 'hashname' => '__ACTION1__',
16785 'line' => 129,
16786 'lookahead' => 0
16787 }, 'Parse::RecDescent::Action' )
16788 ],
16789 'line' => undef,
16790 'number' => 3,
16791 'patcount' => 0,
16792 'strcount' => 2,
16793 'uncommit' => undef
16794 }, 'Parse::RecDescent::Production' ),
16795 bless( {
16796 'actcount' => 0,
16797 'dircount' => 2,
16798 'error' => 1,
16799 'items' => [
16800 bless( {
16801 'commitonly' => '?',
16802 'hashname' => '__DIRECTIVE1__',
16803 'line' => 135,
16804 'lookahead' => 0,
16805 'msg' => ''
16806 }, 'Parse::RecDescent::Error' ),
16807 bless( {
16808 'hashname' => '__DIRECTIVE2__',
16809 'line' => 135,
16810 'lookahead' => 0,
16811 'name' => '<reject>'
16812 }, 'Parse::RecDescent::UncondReject' )
16813 ],
16814 'line' => 135,
16815 'number' => 4,
16816 'patcount' => 0,
16817 'strcount' => 0,
16818 'uncommit' => 0
16819 }, 'Parse::RecDescent::Production' ),
16820 bless( {
16821 'actcount' => 1,
16822 'dircount' => 2,
16823 'error' => undef,
16824 'items' => [
16825 bless( {
16826 'description' => '\'[+\'',
16827 'hashname' => '__STRING1__',
16828 'line' => 140,
16829 'lookahead' => 0,
16830 'pattern' => '[+'
16831 }, 'Parse::RecDescent::Literal' ),
16832 bless( {
16833 'code' => '$commit = 1',
16834 'hashname' => '__DIRECTIVE1__',
16835 'line' => 140,
16836 'lookahead' => 0,
16837 'name' => '<commit>'
16838 }, 'Parse::RecDescent::Directive' ),
16839 bless( {
16840 'code' => 'my $oldskip = $skip; $skip= qr/\\s*/; $oldskip',
16841 'hashname' => '__DIRECTIVE2__',
16842 'line' => 140,
16843 'lookahead' => 0,
16844 'name' => '<skip: qr/\\s*/>'
16845 }, 'Parse::RecDescent::Directive' ),
16846 bless( {
16847 'argcode' => undef,
16848 'implicit' => undef,
16849 'line' => 140,
16850 'lookahead' => 0,
16851 'matchrule' => 0,
16852 'subrule' => 'identifier'
16853 }, 'Parse::RecDescent::Subrule' ),
16854 bless( {
16855 'argcode' => undef,
16856 'implicit' => undef,
16857 'line' => 140,
16858 'lookahead' => 0,
16859 'matchrule' => 0,
16860 'subrule' => 'optpath'
16861 }, 'Parse::RecDescent::Subrule' ),
16862 bless( {
16863 'description' => '\'+]\'',
16864 'hashname' => '__STRING2__',
16865 'line' => 140,
16866 'lookahead' => 0,
16867 'pattern' => '+]'
16868 }, 'Parse::RecDescent::Literal' ),
16869 bless( {
16870 'code' => '{
16871 my $key = $item{identifier};
16872 my $path = $item{optpath};
16873 sub { print $_->get1($path)->{-$key}; }
16874 }',
16875 'hashname' => '__ACTION1__',
16876 'line' => 141,
16877 'lookahead' => 0
16878 }, 'Parse::RecDescent::Action' )
16879 ],
16880 'line' => undef,
16881 'number' => 5,
16882 'patcount' => 0,
16883 'strcount' => 2,
16884 'uncommit' => undef
16885 }, 'Parse::RecDescent::Production' ),
16886 bless( {
16887 'actcount' => 0,
16888 'dircount' => 2,
16889 'error' => 1,
16890 'items' => [
16891 bless( {
16892 'commitonly' => '?',
16893 'hashname' => '__DIRECTIVE1__',
16894 'line' => 146,
16895 'lookahead' => 0,
16896 'msg' => ''
16897 }, 'Parse::RecDescent::Error' ),
16898 bless( {
16899 'hashname' => '__DIRECTIVE2__',
16900 'line' => 146,
16901 'lookahead' => 0,
16902 'name' => '<reject>'
16903 }, 'Parse::RecDescent::UncondReject' )
16904 ],
16905 'line' => 146,
16906 'number' => 6,
16907 'patcount' => 0,
16908 'strcount' => 0,
16909 'uncommit' => 0
16910 }, 'Parse::RecDescent::Production' ),
16911 bless( {
16912 'actcount' => 1,
16913 'dircount' => 2,
16914 'error' => undef,
16915 'items' => [
16916 bless( {
16917 'description' => '\'[<\'',
16918 'hashname' => '__STRING1__',
16919 'line' => 148,
16920 'lookahead' => 0,
16921 'pattern' => '[<'
16922 }, 'Parse::RecDescent::Literal' ),
16923 bless( {
16924 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
16925 'hashname' => '__DIRECTIVE1__',
16926 'line' => 148,
16927 'lookahead' => 0,
16928 'name' => '<skip: \'\'>'
16929 }, 'Parse::RecDescent::Directive' ),
16930 bless( {
16931 'code' => '$commit = 1',
16932 'hashname' => '__DIRECTIVE2__',
16933 'line' => 148,
16934 'lookahead' => 0,
16935 'name' => '<commit>'
16936 }, 'Parse::RecDescent::Directive' ),
16937 bless( {
16938 'description' => '/[^>]+/',
16939 'hashname' => '__PATTERN1__',
16940 'ldelim' => '/',
16941 'line' => 148,
16942 'lookahead' => 0,
16943 'mod' => '',
16944 'pattern' => '[^>]+',
16945 'rdelim' => '/'
16946 }, 'Parse::RecDescent::Token' ),
16947 bless( {
16948 'description' => '\'>]\'',
16949 'hashname' => '__STRING2__',
16950 'line' => 148,
16951 'lookahead' => 0,
16952 'pattern' => '>]'
16953 }, 'Parse::RecDescent::Literal' ),
16954 bless( {
16955 'argcode' => undef,
16956 'implicit' => undef,
16957 'line' => 148,
16958 'lookahead' => 0,
16959 'matchrule' => 0,
16960 'subrule' => 'space'
16961 }, 'Parse::RecDescent::Subrule' ),
16962 bless( {
16963 'code' => '{
16964 Config::Maker::Driver->load($item[4]);
16965 }',
16966 'hashname' => '__ACTION1__',
16967 'line' => 149,
16968 'lookahead' => 0
16969 }, 'Parse::RecDescent::Action' )
16970 ],
16971 'line' => undef,
16972 'number' => 7,
16973 'patcount' => 1,
16974 'strcount' => 2,
16975 'uncommit' => undef
16976 }, 'Parse::RecDescent::Production' ),
16977 bless( {
16978 'actcount' => 0,
16979 'dircount' => 2,
16980 'error' => 1,
16981 'items' => [
16982 bless( {
16983 'commitonly' => '?',
16984 'hashname' => '__DIRECTIVE1__',
16985 'line' => 152,
16986 'lookahead' => 0,
16987 'msg' => ''
16988 }, 'Parse::RecDescent::Error' ),
16989 bless( {
16990 'hashname' => '__DIRECTIVE2__',
16991 'line' => 152,
16992 'lookahead' => 0,
16993 'name' => '<reject>'
16994 }, 'Parse::RecDescent::UncondReject' )
16995 ],
16996 'line' => 152,
16997 'number' => 8,
16998 'patcount' => 0,
16999 'strcount' => 0,
17000 'uncommit' => 0
17001 }, 'Parse::RecDescent::Production' ),
17002 bless( {
17003 'actcount' => 1,
17004 'dircount' => 1,
17005 'error' => undef,
17006 'items' => [
17007 bless( {
17008 'argcode' => '[\'map\', perlcode => \'()\']',
17009 'implicit' => undef,
17010 'line' => 162,
17011 'lookahead' => 0,
17012 'matchrule' => 0,
17013 'subrule' => 'opener'
17014 }, 'Parse::RecDescent::Subrule' ),
17015 bless( {
17016 'code' => '$commit = 1',
17017 'hashname' => '__DIRECTIVE1__',
17018 'line' => 162,
17019 'lookahead' => 0,
17020 'name' => '<commit>'
17021 }, 'Parse::RecDescent::Directive' ),
17022 bless( {
17023 'argcode' => undef,
17024 'expected' => undef,
17025 'line' => 162,
17026 'lookahead' => 0,
17027 'matchrule' => 0,
17028 'max' => 100000000,
17029 'min' => 1,
17030 'repspec' => 's',
17031 'subrule' => 'directive'
17032 }, 'Parse::RecDescent::Repetition' ),
17033 bless( {
17034 'argcode' => '[\'map\']',
17035 'implicit' => undef,
17036 'line' => 162,
17037 'lookahead' => 0,
17038 'matchrule' => 0,
17039 'subrule' => 'closer'
17040 }, 'Parse::RecDescent::Subrule' ),
17041 bless( {
17042 'code' => '{
17043 my $expr = $item[1];
17044 my @parts = @{$item[3]};
17045 sub {
17046 for(Config::Maker::exe($expr)) {
17047 Config::Maker::Driver::apply(@parts);
17048 }
17049 }
17050 }',
17051 'hashname' => '__ACTION1__',
17052 'line' => 163,
17053 'lookahead' => 0
17054 }, 'Parse::RecDescent::Action' )
17055 ],
17056 'line' => undef,
17057 'number' => 9,
17058 'patcount' => 0,
17059 'strcount' => 0,
17060 'uncommit' => undef
17061 }, 'Parse::RecDescent::Production' ),
17062 bless( {
17063 'actcount' => 1,
17064 'dircount' => 1,
17065 'error' => undef,
17066 'items' => [
17067 bless( {
17068 'argcode' => '[\'map\', \'path\']',
17069 'implicit' => undef,
17070 'line' => 173,
17071 'lookahead' => 0,
17072 'matchrule' => 0,
17073 'subrule' => 'opener'
17074 }, 'Parse::RecDescent::Subrule' ),
17075 bless( {
17076 'code' => '$commit = 1',
17077 'hashname' => '__DIRECTIVE1__',
17078 'line' => 173,
17079 'lookahead' => 0,
17080 'name' => '<commit>'
17081 }, 'Parse::RecDescent::Directive' ),
17082 bless( {
17083 'argcode' => undef,
17084 'expected' => undef,
17085 'line' => 173,
17086 'lookahead' => 0,
17087 'matchrule' => 0,
17088 'max' => 100000000,
17089 'min' => 1,
17090 'repspec' => 's',
17091 'subrule' => 'directive'
17092 }, 'Parse::RecDescent::Repetition' ),
17093 bless( {
17094 'argcode' => '[\'map\']',
17095 'implicit' => undef,
17096 'line' => 173,
17097 'lookahead' => 0,
17098 'matchrule' => 0,
17099 'subrule' => 'closer'
17100 }, 'Parse::RecDescent::Subrule' ),
17101 bless( {
17102 'code' => '{
17103 my $path = $item[1];
17104 my @parts = @{$item[3]};
17105 sub {
17106 for(@{$path->find($_)}) {
17107 Config::Maker::Driver::apply(@parts);
17108 }
17109 }
17110 }',
17111 'hashname' => '__ACTION1__',
17112 'line' => 174,
17113 'lookahead' => 0
17114 }, 'Parse::RecDescent::Action' )
17115 ],
17116 'line' => undef,
17117 'number' => 10,
17118 'patcount' => 0,
17119 'strcount' => 0,
17120 'uncommit' => undef
17121 }, 'Parse::RecDescent::Production' ),
17122 bless( {
17123 'actcount' => 0,
17124 'dircount' => 2,
17125 'error' => 1,
17126 'items' => [
17127 bless( {
17128 'commitonly' => '?',
17129 'hashname' => '__DIRECTIVE1__',
17130 'line' => 183,
17131 'lookahead' => 0,
17132 'msg' => ''
17133 }, 'Parse::RecDescent::Error' ),
17134 bless( {
17135 'hashname' => '__DIRECTIVE2__',
17136 'line' => 183,
17137 'lookahead' => 0,
17138 'name' => '<reject>'
17139 }, 'Parse::RecDescent::UncondReject' )
17140 ],
17141 'line' => 183,
17142 'number' => 11,
17143 'patcount' => 0,
17144 'strcount' => 0,
17145 'uncommit' => 0
17146 }, 'Parse::RecDescent::Production' ),
17147 bless( {
17148 'actcount' => 1,
17149 'dircount' => 1,
17150 'error' => undef,
17151 'items' => [
17152 bless( {
17153 'argcode' => '[\'if\', perlcode => \'()\']',
17154 'implicit' => undef,
17155 'line' => 226,
17156 'lookahead' => 0,
17157 'matchrule' => 0,
17158 'subrule' => 'opener'
17159 }, 'Parse::RecDescent::Subrule' ),
17160 bless( {
17161 'code' => '$commit = 1',
17162 'hashname' => '__DIRECTIVE1__',
17163 'line' => 226,
17164 'lookahead' => 0,
17165 'name' => '<commit>'
17166 }, 'Parse::RecDescent::Directive' ),
17167 bless( {
17168 'argcode' => undef,
17169 'expected' => undef,
17170 'line' => 226,
17171 'lookahead' => 0,
17172 'matchrule' => 0,
17173 'max' => 100000000,
17174 'min' => 1,
17175 'repspec' => 's',
17176 'subrule' => 'directive'
17177 }, 'Parse::RecDescent::Repetition' ),
17178 bless( {
17179 'argcode' => undef,
17180 'implicit' => undef,
17181 'line' => 226,
17182 'lookahead' => 0,
17183 'matchrule' => 0,
17184 'subrule' => 'ifrest'
17185 }, 'Parse::RecDescent::Subrule' ),
17186 bless( {
17187 'code' => '{
17188 my $expr = $item[1];
17189 my @parts = @{$item[3]};
17190 my $else = $item[4];
17191 sub {
17192 if(Config::Maker::exe($expr)) {
17193 Config::Maker::Driver::apply(@parts);
17194 } else {
17195 Config::Maker::Driver::apply($else);
17196 }
17197 }
17198 }',
17199 'hashname' => '__ACTION1__',
17200 'line' => 227,
17201 'lookahead' => 0
17202 }, 'Parse::RecDescent::Action' )
17203 ],
17204 'line' => undef,
17205 'number' => 12,
17206 'patcount' => 0,
17207 'strcount' => 0,
17208 'uncommit' => undef
17209 }, 'Parse::RecDescent::Production' ),
17210 bless( {
17211 'actcount' => 1,
17212 'dircount' => 1,
17213 'error' => undef,
17214 'items' => [
17215 bless( {
17216 'argcode' => '[\'if\', pair => [\'identifier\'], [\'path\']]',
17217 'implicit' => undef,
17218 'line' => 240,
17219 'lookahead' => 0,
17220 'matchrule' => 0,
17221 'subrule' => 'opener'
17222 }, 'Parse::RecDescent::Subrule' ),
17223 bless( {
17224 'code' => '$commit = 1',
17225 'hashname' => '__DIRECTIVE1__',
17226 'line' => 240,
17227 'lookahead' => 0,
17228 'name' => '<commit>'
17229 }, 'Parse::RecDescent::Directive' ),
17230 bless( {
17231 'argcode' => undef,
17232 'expected' => undef,
17233 'line' => 241,
17234 'lookahead' => 0,
17235 'matchrule' => 0,
17236 'max' => 100000000,
17237 'min' => 1,
17238 'repspec' => 's',
17239 'subrule' => 'directive'
17240 }, 'Parse::RecDescent::Repetition' ),
17241 bless( {
17242 'argcode' => undef,
17243 'implicit' => undef,
17244 'line' => 241,
17245 'lookahead' => 0,
17246 'matchrule' => 0,
17247 'subrule' => 'ifrest'
17248 }, 'Parse::RecDescent::Subrule' ),
17249 bless( {
17250 'code' => '{
17251 my ($test, $path) = @{$item[1]};
17252 my @parts = @{$item[3]};
17253 my $else = $item[4];
17254 sub {
17255 die "No if test \'$test\'"
17256 unless $Config::Maker::Path::checks{$test};
17257 if($Config::Maker::Path::checks{$test}($path)) {
17258 Config::Maker::Driver::apply(@parts);
17259 } else {
17260 Config::Maker::Driver::apply($else);
17261 }
17262 }
17263 }',
17264 'hashname' => '__ACTION1__',
17265 'line' => 242,
17266 'lookahead' => 0
17267 }, 'Parse::RecDescent::Action' )
17268 ],
17269 'line' => undef,
17270 'number' => 13,
17271 'patcount' => 0,
17272 'strcount' => 0,
17273 'uncommit' => undef
17274 }, 'Parse::RecDescent::Production' ),
17275 bless( {
17276 'actcount' => 1,
17277 'dircount' => 1,
17278 'error' => undef,
17279 'items' => [
17280 bless( {
17281 'argcode' => '[\'output\', \'identifier\']',
17282 'implicit' => undef,
17283 'line' => 257,
17284 'lookahead' => 0,
17285 'matchrule' => 0,
17286 'subrule' => 'opener'
17287 }, 'Parse::RecDescent::Subrule' ),
17288 bless( {
17289 'code' => '$commit = 1',
17290 'hashname' => '__DIRECTIVE1__',
17291 'line' => 257,
17292 'lookahead' => 0,
17293 'name' => '<commit>'
17294 }, 'Parse::RecDescent::Directive' ),
17295 bless( {
17296 'argcode' => undef,
17297 'expected' => undef,
17298 'line' => 258,
17299 'lookahead' => 0,
17300 'matchrule' => 0,
17301 'max' => 100000000,
17302 'min' => 1,
17303 'repspec' => 's',
17304 'subrule' => 'directive'
17305 }, 'Parse::RecDescent::Repetition' ),
17306 bless( {
17307 'argcode' => '[\'output\']',
17308 'implicit' => undef,
17309 'line' => 258,
17310 'lookahead' => 0,
17311 'matchrule' => 0,
17312 'subrule' => 'closer'
17313 }, 'Parse::RecDescent::Subrule' ),
17314 bless( {
17315 'code' => '{
17316 my $key = $item[1];
17317 my @parts = @{$item[3]};
17318 my ($cache, $output) =
17319 $key eq \'all\' ? (1, 1) :
17320 $key eq \'both\' ? (1, 1) :
17321 $key eq \'only-cache\' ? (1, 0) :
17322 $key eq \'no-cache\' ? (0, 1) :
17323 $key eq \'only-out\' ? (0, 1) :
17324 $key eq \'no-out\' ? (1, 0) :
17325 die "Bad output option: $key";
17326 sub {
17327 die "output limiting only works when cache is enabled"
17328 unless UNIVERSAL::isa(select(), \'Config::Maker::Tee\');
17329 local $Config::Maker::Tee::CACHE = $cache;
17330 local $Config::Maker::Tee::OUT = $output;
17331 Config::Maker::Driver::apply(@parts);
17332 }
17333 }',
17334 'hashname' => '__ACTION1__',
17335 'line' => 259,
17336 'lookahead' => 0
17337 }, 'Parse::RecDescent::Action' )
17338 ],
17339 'line' => undef,
17340 'number' => 14,
17341 'patcount' => 0,
17342 'strcount' => 0,
17343 'uncommit' => undef
17344 }, 'Parse::RecDescent::Production' )
17345 ],
17346 'vars' => ''
17347 }, 'Parse::RecDescent::Rule' ),
17348 'eof' => bless( {
17349 'calls' => [],
17350 'changed' => 0,
17351 'impcount' => 0,
17352 'line' => 31,
17353 'name' => 'eof',
17354 'opcount' => 0,
17355 'prods' => [
17356 bless( {
17357 'actcount' => 0,
17358 'dircount' => 0,
17359 'error' => undef,
17360 'items' => [
17361 bless( {
17362 'description' => '/^\\\\Z/',
17363 'hashname' => '__PATTERN1__',
17364 'ldelim' => '/',
17365 'line' => 33,
17366 'lookahead' => 0,
17367 'mod' => '',
17368 'pattern' => '^\\Z',
17369 'rdelim' => '/'
17370 }, 'Parse::RecDescent::Token' )
17371 ],
17372 'line' => undef,
17373 'number' => 0,
17374 'patcount' => 1,
17375 'strcount' => 0,
17376 'uncommit' => undef
17377 }, 'Parse::RecDescent::Production' )
17378 ],
17379 'vars' => ''
17380 }, 'Parse::RecDescent::Rule' ),
17381 'glob' => bless( {
17382 'calls' => [],
17383 'changed' => 0,
17384 'impcount' => 0,
17385 'line' => 105,
17386 'name' => 'glob',
17387 'opcount' => 0,
17388 'prods' => [
17389 bless( {
17390 'actcount' => 0,
17391 'dircount' => 0,
17392 'error' => undef,
17393 'items' => [
17394 bless( {
17395 'description' => '/([[:alnum:].@%*=?|_\\\\[\\\\]\\{\\}-]|\\\\\\\\.)+/',
17396 'hashname' => '__PATTERN1__',
17397 'ldelim' => '/',
17398 'line' => 105,
17399 'lookahead' => 0,
17400 'mod' => '',
17401 'pattern' => '([[:alnum:].@%*=?|_\\[\\]{}-]|\\\\.)+',
17402 'rdelim' => '/'
17403 }, 'Parse::RecDescent::Token' )
17404 ],
17405 'line' => undef,
17406 'number' => 0,
17407 'patcount' => 1,
17408 'strcount' => 0,
17409 'uncommit' => undef
17410 }, 'Parse::RecDescent::Production' )
17411 ],
17412 'vars' => ''
17413 }, 'Parse::RecDescent::Rule' ),
17414 'hexint' => bless( {
17415 'calls' => [],
17416 'changed' => 0,
17417 'impcount' => 0,
17418 'line' => 11,
17419 'name' => 'hexint',
17420 'opcount' => 0,
17421 'prods' => [
17422 bless( {
17423 'actcount' => 1,
17424 'dircount' => 1,
17425 'error' => undef,
17426 'items' => [
17427 bless( {
17428 'description' => '/0x[[:xdigit:]]+/',
17429 'hashname' => '__PATTERN1__',
17430 'ldelim' => '/',
17431 'line' => 12,
17432 'lookahead' => 0,
17433 'mod' => '',
17434 'pattern' => '0x[[:xdigit:]]+',
17435 'rdelim' => '/'
17436 }, 'Parse::RecDescent::Token' ),
17437 bless( {
17438 'code' => '$commit = 1',
17439 'hashname' => '__DIRECTIVE1__',
17440 'line' => 12,
17441 'lookahead' => 0,
17442 'name' => '<commit>'
17443 }, 'Parse::RecDescent::Directive' ),
17444 bless( {
17445 'code' => '{ Config::Maker::limit(hex($item[1]), @arg); }',
17446 'hashname' => '__ACTION1__',
17447 'line' => 12,
17448 'lookahead' => 0
17449 }, 'Parse::RecDescent::Action' )
17450 ],
17451 'line' => undef,
17452 'number' => 0,
17453 'patcount' => 1,
17454 'strcount' => 0,
17455 'uncommit' => undef
17456 }, 'Parse::RecDescent::Production' ),
17457 bless( {
17458 'actcount' => 0,
17459 'dircount' => 2,
17460 'error' => 1,
17461 'items' => [
17462 bless( {
17463 'commitonly' => '?',
17464 'hashname' => '__DIRECTIVE1__',
17465 'line' => 14,
17466 'lookahead' => 0,
17467 'msg' => ' Number $item[1] out of range'
17468 }, 'Parse::RecDescent::Error' ),
17469 bless( {
17470 'hashname' => '__DIRECTIVE2__',
17471 'line' => 14,
17472 'lookahead' => 0,
17473 'name' => '<reject>'
17474 }, 'Parse::RecDescent::UncondReject' )
17475 ],
17476 'line' => 13,
17477 'number' => 1,
17478 'patcount' => 0,
17479 'strcount' => 0,
17480 'uncommit' => 0
17481 }, 'Parse::RecDescent::Production' )
17482 ],
17483 'vars' => ''
17484 }, 'Parse::RecDescent::Rule' ),
17485 'identifier' => bless( {
17486 'calls' => [],
17487 'changed' => 0,
17488 'impcount' => 0,
17489 'line' => 2,
17490 'name' => 'identifier',
17491 'opcount' => 0,
17492 'prods' => [
17493 bless( {
17494 'actcount' => 0,
17495 'dircount' => 0,
17496 'error' => undef,
17497 'items' => [
17498 bless( {
17499 'description' => '/[[:alpha:]][[:alnum:]_-]*/',
17500 'hashname' => '__PATTERN1__',
17501 'ldelim' => '/',
17502 'line' => 4,
17503 'lookahead' => 0,
17504 'mod' => '',
17505 'pattern' => '[[:alpha:]][[:alnum:]_-]*',
17506 'rdelim' => '/'
17507 }, 'Parse::RecDescent::Token' )
17508 ],
17509 'line' => undef,
17510 'number' => 0,
17511 'patcount' => 1,
17512 'strcount' => 0,
17513 'uncommit' => undef
17514 }, 'Parse::RecDescent::Production' )
17515 ],
17516 'vars' => ''
17517 }, 'Parse::RecDescent::Rule' ),
17518 'ifrest' => bless( {
17519 'calls' => [
17520 'opener',
17521 'directive',
17522 'ifrest',
17523 'closer'
17524 ],
17525 'changed' => 0,
17526 'impcount' => 0,
17527 'line' => 185,
17528 'name' => 'ifrest',
17529 'opcount' => 0,
17530 'prods' => [
17531 bless( {
17532 'actcount' => 1,
17533 'dircount' => 1,
17534 'error' => undef,
17535 'items' => [
17536 bless( {
17537 'argcode' => '[\'elsif\', perlcode => \'()\']',
17538 'implicit' => undef,
17539 'line' => 185,
17540 'lookahead' => 0,
17541 'matchrule' => 0,
17542 'subrule' => 'opener'
17543 }, 'Parse::RecDescent::Subrule' ),
17544 bless( {
17545 'code' => '$commit = 1',
17546 'hashname' => '__DIRECTIVE1__',
17547 'line' => 185,
17548 'lookahead' => 0,
17549 'name' => '<commit>'
17550 }, 'Parse::RecDescent::Directive' ),
17551 bless( {
17552 'argcode' => undef,
17553 'expected' => undef,
17554 'line' => 185,
17555 'lookahead' => 0,
17556 'matchrule' => 0,
17557 'max' => 100000000,
17558 'min' => 1,
17559 'repspec' => 's',
17560 'subrule' => 'directive'
17561 }, 'Parse::RecDescent::Repetition' ),
17562 bless( {
17563 'argcode' => undef,
17564 'implicit' => undef,
17565 'line' => 185,
17566 'lookahead' => 0,
17567 'matchrule' => 0,
17568 'subrule' => 'ifrest'
17569 }, 'Parse::RecDescent::Subrule' ),
17570 bless( {
17571 'code' => '{
17572 my $expr = $item[1];
17573 my @parts = @{$item[3]};
17574 my $else = $item[4];
17575 sub {
17576 if(Config::Maker::exe($expr)) {
17577 Config::Maker::Driver::apply(@parts);
17578 } else {
17579 Config::Maker::Driver::apply($else);
17580 }
17581 }
17582 }',
17583 'hashname' => '__ACTION1__',
17584 'line' => 186,
17585 'lookahead' => 0
17586 }, 'Parse::RecDescent::Action' )
17587 ],
17588 'line' => undef,
17589 'number' => 0,
17590 'patcount' => 0,
17591 'strcount' => 0,
17592 'uncommit' => undef
17593 }, 'Parse::RecDescent::Production' ),
17594 bless( {
17595 'actcount' => 1,
17596 'dircount' => 1,
17597 'error' => undef,
17598 'items' => [
17599 bless( {
17600 'argcode' => '[\'elsif\', pair => [\'identifier\'], [\'path\']]',
17601 'implicit' => undef,
17602 'line' => 199,
17603 'lookahead' => 0,
17604 'matchrule' => 0,
17605 'subrule' => 'opener'
17606 }, 'Parse::RecDescent::Subrule' ),
17607 bless( {
17608 'code' => '$commit = 1',
17609 'hashname' => '__DIRECTIVE1__',
17610 'line' => 199,
17611 'lookahead' => 0,
17612 'name' => '<commit>'
17613 }, 'Parse::RecDescent::Directive' ),
17614 bless( {
17615 'argcode' => undef,
17616 'expected' => undef,
17617 'line' => 200,
17618 'lookahead' => 0,
17619 'matchrule' => 0,
17620 'max' => 100000000,
17621 'min' => 1,
17622 'repspec' => 's',
17623 'subrule' => 'directive'
17624 }, 'Parse::RecDescent::Repetition' ),
17625 bless( {
17626 'argcode' => undef,
17627 'implicit' => undef,
17628 'line' => 200,
17629 'lookahead' => 0,
17630 'matchrule' => 0,
17631 'subrule' => 'ifrest'
17632 }, 'Parse::RecDescent::Subrule' ),
17633 bless( {
17634 'code' => '{
17635 my ($test, $path) = @{$item[1]};
17636 my @parts = @{$item[3]};
17637 my $else = $item[4];
17638 sub {
17639 die "No if test \'$test\'"
17640 unless $Config::Maker::Path::checks{$test};
17641 if($Config::Maker::Path::checks{$test}($path)) {
17642 Config::Maker::Driver::apply(@parts);
17643 } else {
17644 Config::Maker::Driver::apply($else);
17645 }
17646 }
17647 }',
17648 'hashname' => '__ACTION1__',
17649 'line' => 201,
17650 'lookahead' => 0
17651 }, 'Parse::RecDescent::Action' )
17652 ],
17653 'line' => undef,
17654 'number' => 1,
17655 'patcount' => 0,
17656 'strcount' => 0,
17657 'uncommit' => undef
17658 }, 'Parse::RecDescent::Production' ),
17659 bless( {
17660 'actcount' => 1,
17661 'dircount' => 1,
17662 'error' => undef,
17663 'items' => [
17664 bless( {
17665 'argcode' => '[\'else\', \'void\']',
17666 'implicit' => undef,
17667 'line' => 216,
17668 'lookahead' => 0,
17669 'matchrule' => 0,
17670 'subrule' => 'opener'
17671 }, 'Parse::RecDescent::Subrule' ),
17672 bless( {
17673 'code' => '$commit = 1',
17674 'hashname' => '__DIRECTIVE1__',
17675 'line' => 216,
17676 'lookahead' => 0,
17677 'name' => '<commit>'
17678 }, 'Parse::RecDescent::Directive' ),
17679 bless( {
17680 'argcode' => undef,
17681 'expected' => undef,
17682 'line' => 216,
17683 'lookahead' => 0,
17684 'matchrule' => 0,
17685 'max' => 100000000,
17686 'min' => 1,
17687 'repspec' => 's',
17688 'subrule' => 'directive'
17689 }, 'Parse::RecDescent::Repetition' ),
17690 bless( {
17691 'argcode' => '[\'if\']',
17692 'implicit' => undef,
17693 'line' => 216,
17694 'lookahead' => 0,
17695 'matchrule' => 0,
17696 'subrule' => 'closer'
17697 }, 'Parse::RecDescent::Subrule' ),
17698 bless( {
17699 'code' => '{
17700 my @parts = @{$item[3]};
17701 sub {
17702 Config::Maker::Driver::apply(@parts);
17703 }
17704 }',
17705 'hashname' => '__ACTION1__',
17706 'line' => 217,
17707 'lookahead' => 0
17708 }, 'Parse::RecDescent::Action' )
17709 ],
17710 'line' => undef,
17711 'number' => 2,
17712 'patcount' => 0,
17713 'strcount' => 0,
17714 'uncommit' => undef
17715 }, 'Parse::RecDescent::Production' ),
17716 bless( {
17717 'actcount' => 1,
17718 'dircount' => 0,
17719 'error' => undef,
17720 'items' => [
17721 bless( {
17722 'argcode' => '[\'if\']',
17723 'implicit' => undef,
17724 'line' => 224,
17725 'lookahead' => 0,
17726 'matchrule' => 0,
17727 'subrule' => 'closer'
17728 }, 'Parse::RecDescent::Subrule' ),
17729 bless( {
17730 'code' => '{ \'\'; }',
17731 'hashname' => '__ACTION1__',
17732 'line' => 224,
17733 'lookahead' => 0
17734 }, 'Parse::RecDescent::Action' )
17735 ],
17736 'line' => undef,
17737 'number' => 3,
17738 'patcount' => 0,
17739 'strcount' => 0,
17740 'uncommit' => undef
17741 }, 'Parse::RecDescent::Production' )
17742 ],
17743 'vars' => ''
17744 }, 'Parse::RecDescent::Rule' ),
17745 'integer' => bless( {
17746 'calls' => [
17747 'hexint',
17748 'octint',
17749 'decint'
17750 ],
17751 'changed' => 0,
17752 'impcount' => 0,
17753 'line' => 28,
17754 'name' => 'integer',
17755 'opcount' => 0,
17756 'prods' => [
17757 bless( {
17758 'actcount' => 0,
17759 'dircount' => 0,
17760 'error' => undef,
17761 'items' => [
17762 bless( {
17763 'argcode' => '[@arg]',
17764 'implicit' => undef,
17765 'line' => 28,
17766 'lookahead' => 0,
17767 'matchrule' => 0,
17768 'subrule' => 'hexint'
17769 }, 'Parse::RecDescent::Subrule' )
17770 ],
17771 'line' => undef,
17772 'number' => 0,
17773 'patcount' => 0,
17774 'strcount' => 0,
17775 'uncommit' => undef
17776 }, 'Parse::RecDescent::Production' ),
17777 bless( {
17778 'actcount' => 0,
17779 'dircount' => 0,
17780 'error' => undef,
17781 'items' => [
17782 bless( {
17783 'argcode' => '[@arg]',
17784 'implicit' => undef,
17785 'line' => 28,
17786 'lookahead' => 0,
17787 'matchrule' => 0,
17788 'subrule' => 'octint'
17789 }, 'Parse::RecDescent::Subrule' )
17790 ],
17791 'line' => 28,
17792 'number' => 1,
17793 'patcount' => 0,
17794 'strcount' => 0,
17795 'uncommit' => undef
17796 }, 'Parse::RecDescent::Production' ),
17797 bless( {
17798 'actcount' => 0,
17799 'dircount' => 0,
17800 'error' => undef,
17801 'items' => [
17802 bless( {
17803 'argcode' => '[@arg]',
17804 'implicit' => undef,
17805 'line' => 28,
17806 'lookahead' => 0,
17807 'matchrule' => 0,
17808 'subrule' => 'decint'
17809 }, 'Parse::RecDescent::Subrule' )
17810 ],
17811 'line' => 28,
17812 'number' => 2,
17813 'patcount' => 0,
17814 'strcount' => 0,
17815 'uncommit' => undef
17816 }, 'Parse::RecDescent::Production' )
17817 ],
17818 'vars' => ''
17819 }, 'Parse::RecDescent::Rule' ),
17820 'literal' => bless( {
17821 'calls' => [],
17822 'changed' => 0,
17823 'impcount' => 0,
17824 'line' => 6,
17825 'name' => 'literal',
17826 'opcount' => 0,
17827 'prods' => [
17828 bless( {
17829 'actcount' => 0,
17830 'dircount' => 0,
17831 'error' => undef,
17832 'items' => [
17833 bless( {
17834 'description' => '/[[:alnum:].!@%*=:\\\\/?_+-]+/',
17835 'hashname' => '__PATTERN1__',
17836 'ldelim' => '/',
17837 'line' => 6,
17838 'lookahead' => 0,
17839 'mod' => '',
17840 'pattern' => '[[:alnum:].!@%*=:\\/?_+-]+',
17841 'rdelim' => '/'
17842 }, 'Parse::RecDescent::Token' )
17843 ],
17844 'line' => undef,
17845 'number' => 0,
17846 'patcount' => 1,
17847 'strcount' => 0,
17848 'uncommit' => undef
17849 }, 'Parse::RecDescent::Production' ),
17850 bless( {
17851 'actcount' => 1,
17852 'dircount' => 0,
17853 'error' => undef,
17854 'items' => [
17855 bless( {
17856 'description' => '/"(?:[^"]|\\\\\\\\.)*"/',
17857 'hashname' => '__PATTERN1__',
17858 'ldelim' => '/',
17859 'line' => 7,
17860 'lookahead' => 0,
17861 'mod' => '',
17862 'pattern' => '"(?:[^"]|\\\\.)*"',
17863 'rdelim' => '/'
17864 }, 'Parse::RecDescent::Token' ),
17865 bless( {
17866 'code' => '{ Config::Maker::unquote_double($item[1]); }',
17867 'hashname' => '__ACTION1__',
17868 'line' => 7,
17869 'lookahead' => 0
17870 }, 'Parse::RecDescent::Action' )
17871 ],
17872 'line' => 7,
17873 'number' => 1,
17874 'patcount' => 1,
17875 'strcount' => 0,
17876 'uncommit' => undef
17877 }, 'Parse::RecDescent::Production' ),
17878 bless( {
17879 'actcount' => 1,
17880 'dircount' => 0,
17881 'error' => undef,
17882 'items' => [
17883 bless( {
17884 'description' => '/\'(?:[^\']|\\\\\\\\.)*\'/',
17885 'hashname' => '__PATTERN1__',
17886 'ldelim' => '/',
17887 'line' => 8,
17888 'lookahead' => 0,
17889 'mod' => '',
17890 'pattern' => '\'(?:[^\']|\\\\.)*\'',
17891 'rdelim' => '/'
17892 }, 'Parse::RecDescent::Token' ),
17893 bless( {
17894 'code' => '{ Config::Maker::unquote_single($item[1]); }',
17895 'hashname' => '__ACTION1__',
17896 'line' => 8,
17897 'lookahead' => 0
17898 }, 'Parse::RecDescent::Action' )
17899 ],
17900 'line' => 8,
17901 'number' => 2,
17902 'patcount' => 1,
17903 'strcount' => 0,
17904 'uncommit' => undef
17905 }, 'Parse::RecDescent::Production' ),
17906 bless( {
17907 'actcount' => 0,
17908 'dircount' => 1,
17909 'error' => 1,
17910 'items' => [
17911 bless( {
17912 'commitonly' => '',
17913 'hashname' => '__DIRECTIVE1__',
17914 'line' => 9,
17915 'lookahead' => 0,
17916 'msg' => ''
17917 }, 'Parse::RecDescent::Error' )
17918 ],
17919 'line' => 9,
17920 'number' => 3,
17921 'patcount' => 0,
17922 'strcount' => 0,
17923 'uncommit' => 0
17924 }, 'Parse::RecDescent::Production' )
17925 ],
17926 'vars' => ''
17927 }, 'Parse::RecDescent::Rule' ),
17928 'metaroot' => bless( {
17929 'calls' => [],
17930 'changed' => 0,
17931 'impcount' => 0,
17932 'line' => 109,
17933 'name' => 'metaroot',
17934 'opcount' => 0,
17935 'prods' => [
17936 bless( {
17937 'actcount' => 0,
17938 'dircount' => 0,
17939 'error' => undef,
17940 'items' => [
17941 bless( {
17942 'description' => '\'META:\'',
17943 'hashname' => '__STRING1__',
17944 'line' => 109,
17945 'lookahead' => 0,
17946 'pattern' => 'META:'
17947 }, 'Parse::RecDescent::Literal' )
17948 ],
17949 'line' => undef,
17950 'number' => 0,
17951 'patcount' => 0,
17952 'strcount' => 1,
17953 'uncommit' => undef
17954 }, 'Parse::RecDescent::Production' )
17955 ],
17956 'vars' => ''
17957 }, 'Parse::RecDescent::Rule' ),
17958 'nonglob' => bless( {
17959 'calls' => [],
17960 'changed' => 0,
17961 'impcount' => 0,
17962 'line' => 107,
17963 'name' => 'nonglob',
17964 'opcount' => 0,
17965 'prods' => [
17966 bless( {
17967 'actcount' => 0,
17968 'dircount' => 0,
17969 'error' => undef,
17970 'items' => [
17971 bless( {
17972 'description' => '/\\\\Q$arg[0]\\\\E(?![[:alnum:].@%*=?|_\\\\\\\\\\\\[\\\\]\\{\\}-])/',
17973 'hashname' => '__PATTERN1__',
17974 'ldelim' => '/',
17975 'line' => 107,
17976 'lookahead' => 0,
17977 'mod' => '',
17978 'pattern' => '\\Q$arg[0]\\E(?![[:alnum:].@%*=?|_\\\\\\[\\]{}-])',
17979 'rdelim' => '/'
17980 }, 'Parse::RecDescent::Token' )
17981 ],
17982 'line' => undef,
17983 'number' => 0,
17984 'patcount' => 1,
17985 'strcount' => 0,
17986 'uncommit' => undef
17987 }, 'Parse::RecDescent::Production' )
17988 ],
17989 'vars' => ''
17990 }, 'Parse::RecDescent::Rule' ),
17991 'octint' => bless( {
17992 'calls' => [],
17993 'changed' => 0,
17994 'impcount' => 0,
17995 'line' => 16,
17996 'name' => 'octint',
17997 'opcount' => 0,
17998 'prods' => [
17999 bless( {
18000 'actcount' => 1,
18001 'dircount' => 0,
18002 'error' => undef,
18003 'items' => [
18004 bless( {
18005 'description' => '/0[0-7]*/',
18006 'hashname' => '__PATTERN1__',
18007 'ldelim' => '/',
18008 'line' => 17,
18009 'lookahead' => 0,
18010 'mod' => '',
18011 'pattern' => '0[0-7]*',
18012 'rdelim' => '/'
18013 }, 'Parse::RecDescent::Token' ),
18014 bless( {
18015 'code' => '{ Config::Maker::limit(oct($item[1]), @arg); }',
18016 'hashname' => '__ACTION1__',
18017 'line' => 17,
18018 'lookahead' => 0
18019 }, 'Parse::RecDescent::Action' )
18020 ],
18021 'line' => undef,
18022 'number' => 0,
18023 'patcount' => 1,
18024 'strcount' => 0,
18025 'uncommit' => undef
18026 }, 'Parse::RecDescent::Production' ),
18027 bless( {
18028 'actcount' => 0,
18029 'dircount' => 2,
18030 'error' => 1,
18031 'items' => [
18032 bless( {
18033 'commitonly' => '?',
18034 'hashname' => '__DIRECTIVE1__',
18035 'line' => 19,
18036 'lookahead' => 0,
18037 'msg' => ' Number $item[1] out of range'
18038 }, 'Parse::RecDescent::Error' ),
18039 bless( {
18040 'hashname' => '__DIRECTIVE2__',
18041 'line' => 19,
18042 'lookahead' => 0,
18043 'name' => '<reject>'
18044 }, 'Parse::RecDescent::UncondReject' )
18045 ],
18046 'line' => 18,
18047 'number' => 1,
18048 'patcount' => 0,
18049 'strcount' => 0,
18050 'uncommit' => 0
18051 }, 'Parse::RecDescent::Production' )
18052 ],
18053 'vars' => ''
18054 }, 'Parse::RecDescent::Rule' ),
18055 'opener' => bless( {
18056 'calls' => [
18057 'value',
18058 'space'
18059 ],
18060 'changed' => 0,
18061 'impcount' => 0,
18062 'line' => 154,
18063 'name' => 'opener',
18064 'opcount' => 0,
18065 'prods' => [
18066 bless( {
18067 'actcount' => 1,
18068 'dircount' => 1,
18069 'error' => undef,
18070 'items' => [
18071 bless( {
18072 'description' => '\'[$\'',
18073 'hashname' => '__STRING1__',
18074 'line' => 155,
18075 'lookahead' => 0,
18076 'pattern' => '[$'
18077 }, 'Parse::RecDescent::Literal' ),
18078 bless( {
18079 'code' => 'my $oldskip = $skip; $skip= qr/\\s*/; $oldskip',
18080 'hashname' => '__DIRECTIVE1__',
18081 'line' => 155,
18082 'lookahead' => 0,
18083 'name' => '<skip: qr/\\s*/>'
18084 }, 'Parse::RecDescent::Directive' ),
18085 bless( {
18086 'description' => '\'$arg[0]\'',
18087 'hashname' => '__STRING2__',
18088 'line' => 155,
18089 'lookahead' => 0,
18090 'pattern' => '$arg[0]'
18091 }, 'Parse::RecDescent::InterpLit' ),
18092 bless( {
18093 'argcode' => '[@arg[1..$#arg]]',
18094 'implicit' => undef,
18095 'line' => 155,
18096 'lookahead' => 0,
18097 'matchrule' => 0,
18098 'subrule' => 'value'
18099 }, 'Parse::RecDescent::Subrule' ),
18100 bless( {
18101 'description' => '\'$]\'',
18102 'hashname' => '__STRING3__',
18103 'line' => 155,
18104 'lookahead' => 0,
18105 'pattern' => '$]'
18106 }, 'Parse::RecDescent::Literal' ),
18107 bless( {
18108 'argcode' => undef,
18109 'implicit' => undef,
18110 'line' => 155,
18111 'lookahead' => 0,
18112 'matchrule' => 0,
18113 'subrule' => 'space'
18114 }, 'Parse::RecDescent::Subrule' ),
18115 bless( {
18116 'code' => '{ $item[-3]; }',
18117 'hashname' => '__ACTION1__',
18118 'line' => 156,
18119 'lookahead' => 0
18120 }, 'Parse::RecDescent::Action' )
18121 ],
18122 'line' => undef,
18123 'number' => 0,
18124 'patcount' => 0,
18125 'strcount' => 3,
18126 'uncommit' => undef
18127 }, 'Parse::RecDescent::Production' )
18128 ],
18129 'vars' => ''
18130 }, 'Parse::RecDescent::Rule' ),
18131 'option' => bless( {
18132 'calls' => [
18133 'block',
18134 'type',
18135 'body'
18136 ],
18137 'changed' => 0,
18138 'impcount' => 0,
18139 'line' => 293,
18140 'name' => 'option',
18141 'opcount' => 0,
18142 'prods' => [
18143 bless( {
18144 'actcount' => 0,
18145 'dircount' => 0,
18146 'error' => undef,
18147 'items' => [
18148 bless( {
18149 'argcode' => '[@arg]',
18150 'implicit' => undef,
18151 'line' => 295,
18152 'lookahead' => 0,
18153 'matchrule' => 0,
18154 'subrule' => 'block'
18155 }, 'Parse::RecDescent::Subrule' )
18156 ],
18157 'line' => undef,
18158 'number' => 0,
18159 'patcount' => 0,
18160 'strcount' => 0,
18161 'uncommit' => undef
18162 }, 'Parse::RecDescent::Production' ),
18163 bless( {
18164 'actcount' => 1,
18165 'dircount' => 1,
18166 'error' => undef,
18167 'items' => [
18168 bless( {
18169 'argcode' => '[@arg]',
18170 'implicit' => undef,
18171 'line' => 297,
18172 'lookahead' => 0,
18173 'matchrule' => 0,
18174 'subrule' => 'type'
18175 }, 'Parse::RecDescent::Subrule' ),
18176 bless( {
18177 'code' => '$commit = 1',
18178 'hashname' => '__DIRECTIVE1__',
18179 'line' => 297,
18180 'lookahead' => 0,
18181 'name' => '<commit>'
18182 }, 'Parse::RecDescent::Directive' ),
18183 bless( {
18184 'argcode' => '[$item[1], $item[1]->body]',
18185 'implicit' => undef,
18186 'line' => 298,
18187 'lookahead' => 0,
18188 'matchrule' => 0,
18189 'subrule' => 'body'
18190 }, 'Parse::RecDescent::Subrule' ),
18191 bless( {
18192 'code' => '{
18193 $item[1]->instantiate($item[3]);
18194 }',
18195 'hashname' => '__ACTION1__',
18196 'line' => 299,
18197 'lookahead' => 0
18198 }, 'Parse::RecDescent::Action' )
18199 ],
18200 'line' => 296,
18201 'number' => 1,
18202 'patcount' => 0,
18203 'strcount' => 0,
18204 'uncommit' => undef
18205 }, 'Parse::RecDescent::Production' ),
18206 bless( {
18207 'actcount' => 0,
18208 'dircount' => 2,
18209 'error' => 1,
18210 'items' => [
18211 bless( {
18212 'commitonly' => '?',
18213 'hashname' => '__DIRECTIVE1__',
18214 'line' => 303,
18215 'lookahead' => 0,
18216 'msg' => ''
18217 }, 'Parse::RecDescent::Error' ),
18218 bless( {
18219 'hashname' => '__DIRECTIVE2__',
18220 'line' => 303,
18221 'lookahead' => 0,
18222 'name' => '<reject>'
18223 }, 'Parse::RecDescent::UncondReject' )
18224 ],
18225 'line' => 302,
18226 'number' => 2,
18227 'patcount' => 0,
18228 'strcount' => 0,
18229 'uncommit' => 0
18230 }, 'Parse::RecDescent::Production' )
18231 ],
18232 'vars' => ''
18233 }, 'Parse::RecDescent::Rule' ),
18234 'optpath' => bless( {
18235 'calls' => [
18236 'path'
18237 ],
18238 'changed' => 0,
18239 'impcount' => 0,
18240 'line' => 137,
18241 'name' => 'optpath',
18242 'opcount' => 0,
18243 'prods' => [
18244 bless( {
18245 'actcount' => 0,
18246 'dircount' => 0,
18247 'error' => undef,
18248 'items' => [
18249 bless( {
18250 'description' => '\':\'',
18251 'hashname' => '__STRING1__',
18252 'line' => 137,
18253 'lookahead' => 0,
18254 'pattern' => ':'
18255 }, 'Parse::RecDescent::Literal' ),
18256 bless( {
18257 'argcode' => undef,
18258 'implicit' => undef,
18259 'line' => 137,
18260 'lookahead' => 0,
18261 'matchrule' => 0,
18262 'subrule' => 'path'
18263 }, 'Parse::RecDescent::Subrule' )
18264 ],
18265 'line' => undef,
18266 'number' => 0,
18267 'patcount' => 0,
18268 'strcount' => 1,
18269 'uncommit' => undef
18270 }, 'Parse::RecDescent::Production' ),
18271 bless( {
18272 'actcount' => 1,
18273 'dircount' => 0,
18274 'error' => undef,
18275 'items' => [
18276 bless( {
18277 'code' => '{ new Config::Maker::Path::This(); }',
18278 'hashname' => '__ACTION1__',
18279 'line' => 138,
18280 'lookahead' => 0
18281 }, 'Parse::RecDescent::Action' )
18282 ],
18283 'line' => 138,
18284 'number' => 1,
18285 'patcount' => 0,
18286 'strcount' => 0,
18287 'uncommit' => undef
18288 }, 'Parse::RecDescent::Production' )
18289 ],
18290 'vars' => ''
18291 }, 'Parse::RecDescent::Rule' ),
18292 'path' => bless( {
18293 'calls' => [
18294 'metaroot',
18295 'relpath',
18296 'separator'
18297 ],
18298 'changed' => 0,
18299 'impcount' => 0,
18300 'line' => 42,
18301 'name' => 'path',
18302 'opcount' => 0,
18303 'prods' => [
18304 bless( {
18305 'actcount' => 1,
18306 'dircount' => 1,
18307 'error' => undef,
18308 'items' => [
18309 bless( {
18310 'description' => '\'\'',
18311 'hashname' => '__STRING1__',
18312 'line' => 42,
18313 'lookahead' => 0,
18314 'pattern' => ''
18315 }, 'Parse::RecDescent::Literal' ),
18316 bless( {
18317 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18318 'hashname' => '__DIRECTIVE1__',
18319 'line' => 42,
18320 'lookahead' => 0,
18321 'name' => '<skip: \'\'>'
18322 }, 'Parse::RecDescent::Directive' ),
18323 bless( {
18324 'argcode' => undef,
18325 'implicit' => undef,
18326 'line' => 42,
18327 'lookahead' => 0,
18328 'matchrule' => 0,
18329 'subrule' => 'metaroot'
18330 }, 'Parse::RecDescent::Subrule' ),
18331 bless( {
18332 'argcode' => undef,
18333 'implicit' => undef,
18334 'line' => 42,
18335 'lookahead' => 0,
18336 'matchrule' => 0,
18337 'subrule' => 'relpath'
18338 }, 'Parse::RecDescent::Subrule' ),
18339 bless( {
18340 'code' => '{
18341 new Config::Maker::Path::Meta(-tail => $item[-1]);
18342 }',
18343 'hashname' => '__ACTION1__',
18344 'line' => 43,
18345 'lookahead' => 0
18346 }, 'Parse::RecDescent::Action' )
18347 ],
18348 'line' => undef,
18349 'number' => 0,
18350 'patcount' => 0,
18351 'strcount' => 1,
18352 'uncommit' => undef
18353 }, 'Parse::RecDescent::Production' ),
18354 bless( {
18355 'actcount' => 1,
18356 'dircount' => 1,
18357 'error' => undef,
18358 'items' => [
18359 bless( {
18360 'description' => '\'\'',
18361 'hashname' => '__STRING1__',
18362 'line' => 46,
18363 'lookahead' => 0,
18364 'pattern' => ''
18365 }, 'Parse::RecDescent::Literal' ),
18366 bless( {
18367 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18368 'hashname' => '__DIRECTIVE1__',
18369 'line' => 46,
18370 'lookahead' => 0,
18371 'name' => '<skip: \'\'>'
18372 }, 'Parse::RecDescent::Directive' ),
18373 bless( {
18374 'argcode' => undef,
18375 'implicit' => undef,
18376 'line' => 46,
18377 'lookahead' => 0,
18378 'matchrule' => 0,
18379 'subrule' => 'metaroot'
18380 }, 'Parse::RecDescent::Subrule' ),
18381 bless( {
18382 'code' => '{
18383 new Config::Maker::Path::Meta();
18384 }',
18385 'hashname' => '__ACTION1__',
18386 'line' => 47,
18387 'lookahead' => 0
18388 }, 'Parse::RecDescent::Action' )
18389 ],
18390 'line' => 46,
18391 'number' => 1,
18392 'patcount' => 0,
18393 'strcount' => 1,
18394 'uncommit' => undef
18395 }, 'Parse::RecDescent::Production' ),
18396 bless( {
18397 'actcount' => 1,
18398 'dircount' => 1,
18399 'error' => undef,
18400 'items' => [
18401 bless( {
18402 'description' => '\'\'',
18403 'hashname' => '__STRING1__',
18404 'line' => 50,
18405 'lookahead' => 0,
18406 'pattern' => ''
18407 }, 'Parse::RecDescent::Literal' ),
18408 bless( {
18409 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18410 'hashname' => '__DIRECTIVE1__',
18411 'line' => 50,
18412 'lookahead' => 0,
18413 'name' => '<skip: \'\'>'
18414 }, 'Parse::RecDescent::Directive' ),
18415 bless( {
18416 'argcode' => undef,
18417 'implicit' => undef,
18418 'line' => 50,
18419 'lookahead' => 0,
18420 'matchrule' => 0,
18421 'subrule' => 'separator'
18422 }, 'Parse::RecDescent::Subrule' ),
18423 bless( {
18424 'argcode' => undef,
18425 'implicit' => undef,
18426 'line' => 50,
18427 'lookahead' => 0,
18428 'matchrule' => 0,
18429 'subrule' => 'relpath'
18430 }, 'Parse::RecDescent::Subrule' ),
18431 bless( {
18432 'code' => '{
18433 new Config::Maker::Path::Root(-tail => $item[-1]);
18434 }',
18435 'hashname' => '__ACTION1__',
18436 'line' => 51,
18437 'lookahead' => 0
18438 }, 'Parse::RecDescent::Action' )
18439 ],
18440 'line' => 50,
18441 'number' => 2,
18442 'patcount' => 0,
18443 'strcount' => 1,
18444 'uncommit' => undef
18445 }, 'Parse::RecDescent::Production' ),
18446 bless( {
18447 'actcount' => 1,
18448 'dircount' => 1,
18449 'error' => undef,
18450 'items' => [
18451 bless( {
18452 'description' => '\'\'',
18453 'hashname' => '__STRING1__',
18454 'line' => 54,
18455 'lookahead' => 0,
18456 'pattern' => ''
18457 }, 'Parse::RecDescent::Literal' ),
18458 bless( {
18459 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18460 'hashname' => '__DIRECTIVE1__',
18461 'line' => 54,
18462 'lookahead' => 0,
18463 'name' => '<skip: \'\'>'
18464 }, 'Parse::RecDescent::Directive' ),
18465 bless( {
18466 'argcode' => undef,
18467 'implicit' => undef,
18468 'line' => 54,
18469 'lookahead' => 0,
18470 'matchrule' => 0,
18471 'subrule' => 'separator'
18472 }, 'Parse::RecDescent::Subrule' ),
18473 bless( {
18474 'code' => '{
18475 new Config::Maker::Path::Root();
18476 }',
18477 'hashname' => '__ACTION1__',
18478 'line' => 55,
18479 'lookahead' => 0
18480 }, 'Parse::RecDescent::Action' )
18481 ],
18482 'line' => 54,
18483 'number' => 3,
18484 'patcount' => 0,
18485 'strcount' => 1,
18486 'uncommit' => undef
18487 }, 'Parse::RecDescent::Production' ),
18488 bless( {
18489 'actcount' => 0,
18490 'dircount' => 1,
18491 'error' => undef,
18492 'items' => [
18493 bless( {
18494 'description' => '\'\'',
18495 'hashname' => '__STRING1__',
18496 'line' => 58,
18497 'lookahead' => 0,
18498 'pattern' => ''
18499 }, 'Parse::RecDescent::Literal' ),
18500 bless( {
18501 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18502 'hashname' => '__DIRECTIVE1__',
18503 'line' => 58,
18504 'lookahead' => 0,
18505 'name' => '<skip: \'\'>'
18506 }, 'Parse::RecDescent::Directive' ),
18507 bless( {
18508 'argcode' => undef,
18509 'implicit' => undef,
18510 'line' => 58,
18511 'lookahead' => 0,
18512 'matchrule' => 0,
18513 'subrule' => 'relpath'
18514 }, 'Parse::RecDescent::Subrule' )
18515 ],
18516 'line' => 58,
18517 'number' => 4,
18518 'patcount' => 0,
18519 'strcount' => 1,
18520 'uncommit' => undef
18521 }, 'Parse::RecDescent::Production' )
18522 ],
18523 'vars' => ''
18524 }, 'Parse::RecDescent::Rule' ),
18525 'path_whole' => bless( {
18526 'calls' => [
18527 'path',
18528 'eof'
18529 ],
18530 'changed' => 0,
18531 'impcount' => 0,
18532 'line' => 38,
18533 'name' => 'path_whole',
18534 'opcount' => 0,
18535 'prods' => [
18536 bless( {
18537 'actcount' => 1,
18538 'dircount' => 1,
18539 'error' => undef,
18540 'items' => [
18541 bless( {
18542 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
18543 'hashname' => '__DIRECTIVE1__',
18544 'line' => 40,
18545 'lookahead' => 0,
18546 'name' => '<skip: \'\'>'
18547 }, 'Parse::RecDescent::Directive' ),
18548 bless( {
18549 'argcode' => undef,
18550 'implicit' => undef,
18551 'line' => 40,
18552 'lookahead' => 0,
18553 'matchrule' => 0,
18554 'subrule' => 'path'
18555 }, 'Parse::RecDescent::Subrule' ),
18556 bless( {
18557 'argcode' => undef,
18558 'implicit' => undef,
18559 'line' => 40,
18560 'lookahead' => 0,
18561 'matchrule' => 0,
18562 'subrule' => 'eof'
18563 }, 'Parse::RecDescent::Subrule' ),
18564 bless( {
18565 'code' => '{ $item{path}; }',
18566 'hashname' => '__ACTION1__',
18567 'line' => 40,
18568 'lookahead' => 0
18569 }, 'Parse::RecDescent::Action' )
18570 ],
18571 'line' => undef,
18572 'number' => 0,
18573 'patcount' => 0,
18574 'strcount' => 0,
18575 'uncommit' => undef
18576 }, 'Parse::RecDescent::Production' )
18577 ],
18578 'vars' => ''
18579 }, 'Parse::RecDescent::Rule' ),
18580 'pcomponent' => bless( {
18581 'calls' => [
18582 'glob',
18583 'pcondition'
18584 ],
18585 'changed' => 0,
18586 'impcount' => 0,
18587 'line' => 80,
18588 'name' => 'pcomponent',
18589 'opcount' => 0,
18590 'prods' => [
18591 bless( {
18592 'actcount' => 1,
18593 'dircount' => 0,
18594 'error' => undef,
18595 'items' => [
18596 bless( {
18597 'argcode' => undef,
18598 'implicit' => undef,
18599 'line' => 80,
18600 'lookahead' => 0,
18601 'matchrule' => 0,
18602 'subrule' => 'glob'
18603 }, 'Parse::RecDescent::Subrule' ),
18604 bless( {
18605 'description' => '\':\'',
18606 'hashname' => '__STRING1__',
18607 'line' => 80,
18608 'lookahead' => 0,
18609 'pattern' => ':'
18610 }, 'Parse::RecDescent::Literal' ),
18611 bless( {
18612 'argcode' => undef,
18613 'implicit' => undef,
18614 'line' => 80,
18615 'lookahead' => 0,
18616 'matchrule' => 0,
18617 'subrule' => 'glob'
18618 }, 'Parse::RecDescent::Subrule' ),
18619 bless( {
18620 'argcode' => undef,
18621 'expected' => undef,
18622 'line' => 80,
18623 'lookahead' => 0,
18624 'matchrule' => 0,
18625 'max' => 1,
18626 'min' => 0,
18627 'repspec' => '?',
18628 'subrule' => 'pcondition'
18629 }, 'Parse::RecDescent::Repetition' ),
18630 bless( {
18631 'code' => '{
18632 +{
18633 -type => $item[1],
18634 -value => $item[3],
18635 ($item[-1][0] ? (-code => $item[-1][0]) : ())
18636 }
18637 }',
18638 'hashname' => '__ACTION1__',
18639 'line' => 81,
18640 'lookahead' => 0
18641 }, 'Parse::RecDescent::Action' )
18642 ],
18643 'line' => undef,
18644 'number' => 0,
18645 'patcount' => 0,
18646 'strcount' => 1,
18647 'uncommit' => undef
18648 }, 'Parse::RecDescent::Production' ),
18649 bless( {
18650 'actcount' => 1,
18651 'dircount' => 0,
18652 'error' => undef,
18653 'items' => [
18654 bless( {
18655 'description' => '\':\'',
18656 'hashname' => '__STRING1__',
18657 'line' => 88,
18658 'lookahead' => 0,
18659 'pattern' => ':'
18660 }, 'Parse::RecDescent::Literal' ),
18661 bless( {
18662 'argcode' => undef,
18663 'implicit' => undef,
18664 'line' => 88,
18665 'lookahead' => 0,
18666 'matchrule' => 0,
18667 'subrule' => 'glob'
18668 }, 'Parse::RecDescent::Subrule' ),
18669 bless( {
18670 'argcode' => undef,
18671 'expected' => undef,
18672 'line' => 88,
18673 'lookahead' => 0,
18674 'matchrule' => 0,
18675 'max' => 1,
18676 'min' => 0,
18677 'repspec' => '?',
18678 'subrule' => 'pcondition'
18679 }, 'Parse::RecDescent::Repetition' ),
18680 bless( {
18681 'code' => '{
18682 +{
18683 -value => $item[2],
18684 ($item[-1][0] ? (-code => $item[-1][0]) : ())
18685 }
18686 }',
18687 'hashname' => '__ACTION1__',
18688 'line' => 89,
18689 'lookahead' => 0
18690 }, 'Parse::RecDescent::Action' )
18691 ],
18692 'line' => 88,
18693 'number' => 1,
18694 'patcount' => 0,
18695 'strcount' => 1,
18696 'uncommit' => undef
18697 }, 'Parse::RecDescent::Production' ),
18698 bless( {
18699 'actcount' => 1,
18700 'dircount' => 0,
18701 'error' => undef,
18702 'items' => [
18703 bless( {
18704 'argcode' => undef,
18705 'implicit' => undef,
18706 'line' => 95,
18707 'lookahead' => 0,
18708 'matchrule' => 0,
18709 'subrule' => 'glob'
18710 }, 'Parse::RecDescent::Subrule' ),
18711 bless( {
18712 'argcode' => undef,
18713 'expected' => undef,
18714 'line' => 95,
18715 'lookahead' => 0,
18716 'matchrule' => 0,
18717 'max' => 1,
18718 'min' => 0,
18719 'repspec' => '?',
18720 'subrule' => 'pcondition'
18721 }, 'Parse::RecDescent::Repetition' ),
18722 bless( {
18723 'code' => '{
18724 +{
18725 -type => $item[1],
18726 ($item[-1][0] ? (-code => $item[-1][0]) : ())
18727 }
18728 }',
18729 'hashname' => '__ACTION1__',
18730 'line' => 96,
18731 'lookahead' => 0
18732 }, 'Parse::RecDescent::Action' )
18733 ],
18734 'line' => 95,
18735 'number' => 2,
18736 'patcount' => 0,
18737 'strcount' => 0,
18738 'uncommit' => undef
18739 }, 'Parse::RecDescent::Production' )
18740 ],
18741 'vars' => ''
18742 }, 'Parse::RecDescent::Rule' ),
18743 'pcondition' => bless( {
18744 'calls' => [
18745 'perl_codeblock'
18746 ],
18747 'changed' => 0,
18748 'impcount' => 0,
18749 'line' => 103,
18750 'name' => 'pcondition',
18751 'opcount' => 0,
18752 'prods' => [
18753 bless( {
18754 'actcount' => 0,
18755 'dircount' => 0,
18756 'error' => undef,
18757 'items' => [
18758 bless( {
18759 'argcode' => '[\'()\']',
18760 'implicit' => undef,
18761 'line' => 103,
18762 'lookahead' => 0,
18763 'matchrule' => 0,
18764 'subrule' => 'perl_codeblock'
18765 }, 'Parse::RecDescent::Subrule' )
18766 ],
18767 'line' => undef,
18768 'number' => 0,
18769 'patcount' => 0,
18770 'strcount' => 0,
18771 'uncommit' => undef
18772 }, 'Parse::RecDescent::Production' )
18773 ],
18774 'vars' => ''
18775 }, 'Parse::RecDescent::Rule' ),
18776 'perl_codeblock' => bless( {
18777 'calls' => [],
18778 'changed' => 0,
18779 'impcount' => 0,
18780 'line' => 35,
18781 'name' => 'perl_codeblock',
18782 'opcount' => 0,
18783 'prods' => [
18784 bless( {
18785 'actcount' => 1,
18786 'dircount' => 0,
18787 'error' => undef,
18788 'items' => [
18789 bless( {
18790 'code' => '{ Text::Balanced::extract_codeblock($text, \'{}()[]\', $skip, $arg[0]); }',
18791 'hashname' => '__ACTION1__',
18792 'line' => 36,
18793 'lookahead' => 0
18794 }, 'Parse::RecDescent::Action' )
18795 ],
18796 'line' => undef,
18797 'number' => 0,
18798 'patcount' => 0,
18799 'strcount' => 0,
18800 'uncommit' => undef
18801 }, 'Parse::RecDescent::Production' )
18802 ],
18803 'vars' => ''
18804 }, 'Parse::RecDescent::Rule' ),
18805 'ptail' => bless( {
18806 'calls' => [
18807 'separator',
18808 'relpath'
18809 ],
18810 'changed' => 0,
18811 'impcount' => 0,
18812 'line' => 77,
18813 'name' => 'ptail',
18814 'opcount' => 0,
18815 'prods' => [
18816 bless( {
18817 'actcount' => 1,
18818 'dircount' => 0,
18819 'error' => undef,
18820 'items' => [
18821 bless( {
18822 'argcode' => undef,
18823 'implicit' => undef,
18824 'line' => 77,
18825 'lookahead' => 0,
18826 'matchrule' => 0,
18827 'subrule' => 'separator'
18828 }, 'Parse::RecDescent::Subrule' ),
18829 bless( {
18830 'argcode' => undef,
18831 'implicit' => undef,
18832 'line' => 77,
18833 'lookahead' => 0,
18834 'matchrule' => 0,
18835 'subrule' => 'relpath'
18836 }, 'Parse::RecDescent::Subrule' ),
18837 bless( {
18838 'code' => '{ [-tail => $item{relpath}] }',
18839 'hashname' => '__ACTION1__',
18840 'line' => 77,
18841 'lookahead' => 0
18842 }, 'Parse::RecDescent::Action' )
18843 ],
18844 'line' => undef,
18845 'number' => 0,
18846 'patcount' => 0,
18847 'strcount' => 0,
18848 'uncommit' => undef
18849 }, 'Parse::RecDescent::Production' ),
18850 bless( {
18851 'actcount' => 1,
18852 'dircount' => 0,
18853 'error' => undef,
18854 'items' => [
18855 bless( {
18856 'code' => '{ []; }',
18857 'hashname' => '__ACTION1__',
18858 'line' => 78,
18859 'lookahead' => 0
18860 }, 'Parse::RecDescent::Action' )
18861 ],
18862 'line' => 78,
18863 'number' => 1,
18864 'patcount' => 0,
18865 'strcount' => 0,
18866 'uncommit' => undef
18867 }, 'Parse::RecDescent::Production' )
18868 ],
18869 'vars' => ''
18870 }, 'Parse::RecDescent::Rule' ),
18871 'real' => bless( {
18872 'calls' => [],
18873 'changed' => 0,
18874 'impcount' => 0,
18875 'line' => 28,
18876 'name' => 'real',
18877 'opcount' => 0,
18878 'prods' => [
18879 bless( {
18880 'actcount' => 1,
18881 'dircount' => 0,
18882 'error' => undef,
18883 'items' => [
18884 bless( {
18885 'description' => '/[+-]?(\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)(e\\\\d+)?/',
18886 'hashname' => '__PATTERN1__',
18887 'ldelim' => '/',
18888 'line' => 31,
18889 'lookahead' => 0,
18890 'mod' => '',
18891 'pattern' => '[+-]?(\\d+(\\.\\d*)?|\\.\\d+)(e\\d+)?',
18892 'rdelim' => '/'
18893 }, 'Parse::RecDescent::Token' ),
18894 bless( {
18895 'code' => '{ 0 + $item[1]; }',
18896 'hashname' => '__ACTION1__',
18897 'line' => 31,
18898 'lookahead' => 0
18899 }, 'Parse::RecDescent::Action' )
18900 ],
18901 'line' => undef,
18902 'number' => 0,
18903 'patcount' => 1,
18904 'strcount' => 0,
18905 'uncommit' => undef
18906 }, 'Parse::RecDescent::Production' )
18907 ],
18908 'vars' => ''
18909 }, 'Parse::RecDescent::Rule' ),
18910 'relpath' => bless( {
18911 'calls' => [
18912 'nonglob',
18913 'ptail',
18914 'pcomponent'
18915 ],
18916 'changed' => 0,
18917 'impcount' => 0,
18918 'line' => 60,
18919 'name' => 'relpath',
18920 'opcount' => 0,
18921 'prods' => [
18922 bless( {
18923 'actcount' => 1,
18924 'dircount' => 0,
18925 'error' => undef,
18926 'items' => [
18927 bless( {
18928 'argcode' => '[\'**\']',
18929 'implicit' => undef,
18930 'line' => 60,
18931 'lookahead' => 0,
18932 'matchrule' => 0,
18933 'subrule' => 'nonglob'
18934 }, 'Parse::RecDescent::Subrule' ),
18935 bless( {
18936 'argcode' => undef,
18937 'implicit' => undef,
18938 'line' => 60,
18939 'lookahead' => 0,
18940 'matchrule' => 0,
18941 'subrule' => 'ptail'
18942 }, 'Parse::RecDescent::Subrule' ),
18943 bless( {
18944 'code' => '{
18945 new Config::Maker::Path::AnyPath(@{$item[-1]});
18946 }',
18947 'hashname' => '__ACTION1__',
18948 'line' => 61,
18949 'lookahead' => 0
18950 }, 'Parse::RecDescent::Action' )
18951 ],
18952 'line' => undef,
18953 'number' => 0,
18954 'patcount' => 0,
18955 'strcount' => 0,
18956 'uncommit' => undef
18957 }, 'Parse::RecDescent::Production' ),
18958 bless( {
18959 'actcount' => 1,
18960 'dircount' => 0,
18961 'error' => undef,
18962 'items' => [
18963 bless( {
18964 'argcode' => '[\'..\']',
18965 'implicit' => undef,
18966 'line' => 64,
18967 'lookahead' => 0,
18968 'matchrule' => 0,
18969 'subrule' => 'nonglob'
18970 }, 'Parse::RecDescent::Subrule' ),
18971 bless( {
18972 'argcode' => undef,
18973 'implicit' => undef,
18974 'line' => 64,
18975 'lookahead' => 0,
18976 'matchrule' => 0,
18977 'subrule' => 'ptail'
18978 }, 'Parse::RecDescent::Subrule' ),
18979 bless( {
18980 'code' => '{
18981 new Config::Maker::Path::Parent(@{$item[-1]});
18982 }',
18983 'hashname' => '__ACTION1__',
18984 'line' => 65,
18985 'lookahead' => 0
18986 }, 'Parse::RecDescent::Action' )
18987 ],
18988 'line' => 64,
18989 'number' => 1,
18990 'patcount' => 0,
18991 'strcount' => 0,
18992 'uncommit' => undef
18993 }, 'Parse::RecDescent::Production' ),
18994 bless( {
18995 'actcount' => 1,
18996 'dircount' => 0,
18997 'error' => undef,
18998 'items' => [
18999 bless( {
19000 'argcode' => '[\'.\']',
19001 'implicit' => undef,
19002 'line' => 68,
19003 'lookahead' => 0,
19004 'matchrule' => 0,
19005 'subrule' => 'nonglob'
19006 }, 'Parse::RecDescent::Subrule' ),
19007 bless( {
19008 'argcode' => undef,
19009 'implicit' => undef,
19010 'line' => 68,
19011 'lookahead' => 0,
19012 'matchrule' => 0,
19013 'subrule' => 'ptail'
19014 }, 'Parse::RecDescent::Subrule' ),
19015 bless( {
19016 'code' => '{
19017 new Config::Maker::Path::This(@{$item[-1]});
19018 }',
19019 'hashname' => '__ACTION1__',
19020 'line' => 69,
19021 'lookahead' => 0
19022 }, 'Parse::RecDescent::Action' )
19023 ],
19024 'line' => 68,
19025 'number' => 2,
19026 'patcount' => 0,
19027 'strcount' => 0,
19028 'uncommit' => undef
19029 }, 'Parse::RecDescent::Production' ),
19030 bless( {
19031 'actcount' => 1,
19032 'dircount' => 0,
19033 'error' => undef,
19034 'items' => [
19035 bless( {
19036 'argcode' => undef,
19037 'implicit' => undef,
19038 'line' => 72,
19039 'lookahead' => 0,
19040 'matchrule' => 0,
19041 'subrule' => 'pcomponent'
19042 }, 'Parse::RecDescent::Subrule' ),
19043 bless( {
19044 'argcode' => undef,
19045 'implicit' => undef,
19046 'line' => 72,
19047 'lookahead' => 0,
19048 'matchrule' => 0,
19049 'subrule' => 'ptail'
19050 }, 'Parse::RecDescent::Subrule' ),
19051 bless( {
19052 'code' => '{
19053 new Config::Maker::Path(%{$item[1]}, @{$item[-1]});
19054 }',
19055 'hashname' => '__ACTION1__',
19056 'line' => 73,
19057 'lookahead' => 0
19058 }, 'Parse::RecDescent::Action' )
19059 ],
19060 'line' => 72,
19061 'number' => 3,
19062 'patcount' => 0,
19063 'strcount' => 0,
19064 'uncommit' => undef
19065 }, 'Parse::RecDescent::Production' )
19066 ],
19067 'vars' => ''
19068 }, 'Parse::RecDescent::Rule' ),
19069 'separator' => bless( {
19070 'calls' => [],
19071 'changed' => 0,
19072 'impcount' => 0,
19073 'line' => 111,
19074 'name' => 'separator',
19075 'opcount' => 0,
19076 'prods' => [
19077 bless( {
19078 'actcount' => 0,
19079 'dircount' => 0,
19080 'error' => undef,
19081 'items' => [
19082 bless( {
19083 'description' => '/\\\\/+/',
19084 'hashname' => '__PATTERN1__',
19085 'ldelim' => '/',
19086 'line' => 111,
19087 'lookahead' => 0,
19088 'mod' => '',
19089 'pattern' => '\\/+',
19090 'rdelim' => '/'
19091 }, 'Parse::RecDescent::Token' )
19092 ],
19093 'line' => undef,
19094 'number' => 0,
19095 'patcount' => 1,
19096 'strcount' => 0,
19097 'uncommit' => undef
19098 }, 'Parse::RecDescent::Production' )
19099 ],
19100 'vars' => ''
19101 }, 'Parse::RecDescent::Rule' ),
19102 'space' => bless( {
19103 'calls' => [],
19104 'changed' => 0,
19105 'impcount' => 0,
19106 'line' => 279,
19107 'name' => 'space',
19108 'opcount' => 0,
19109 'prods' => [
19110 bless( {
19111 'actcount' => 0,
19112 'dircount' => 1,
19113 'error' => undef,
19114 'items' => [
19115 bless( {
19116 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
19117 'hashname' => '__DIRECTIVE1__',
19118 'line' => 279,
19119 'lookahead' => 0,
19120 'name' => '<skip: \'\'>'
19121 }, 'Parse::RecDescent::Directive' ),
19122 bless( {
19123 'description' => '/[ \\\\t]*\\\\n?/',
19124 'hashname' => '__PATTERN1__',
19125 'ldelim' => '/',
19126 'line' => 279,
19127 'lookahead' => 0,
19128 'mod' => '',
19129 'pattern' => '[ \\t]*\\n?',
19130 'rdelim' => '/'
19131 }, 'Parse::RecDescent::Token' )
19132 ],
19133 'line' => undef,
19134 'number' => 0,
19135 'patcount' => 1,
19136 'strcount' => 0,
19137 'uncommit' => undef
19138 }, 'Parse::RecDescent::Production' )
19139 ],
19140 'vars' => ''
19141 }, 'Parse::RecDescent::Rule' ),
19142 'template' => bless( {
19143 'calls' => [
19144 'directive',
19145 'eof'
19146 ],
19147 'changed' => 0,
19148 'impcount' => 0,
19149 'line' => 113,
19150 'name' => 'template',
19151 'opcount' => 0,
19152 'prods' => [
19153 bless( {
19154 'actcount' => 1,
19155 'dircount' => 1,
19156 'error' => undef,
19157 'items' => [
19158 bless( {
19159 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
19160 'hashname' => '__DIRECTIVE1__',
19161 'line' => 115,
19162 'lookahead' => 0,
19163 'name' => '<skip: \'\'>'
19164 }, 'Parse::RecDescent::Directive' ),
19165 bless( {
19166 'argcode' => undef,
19167 'expected' => undef,
19168 'line' => 115,
19169 'lookahead' => 0,
19170 'matchrule' => 0,
19171 'max' => 100000000,
19172 'min' => 0,
19173 'repspec' => 's?',
19174 'subrule' => 'directive'
19175 }, 'Parse::RecDescent::Repetition' ),
19176 bless( {
19177 'argcode' => undef,
19178 'implicit' => undef,
19179 'line' => 115,
19180 'lookahead' => 0,
19181 'matchrule' => 0,
19182 'subrule' => 'eof'
19183 }, 'Parse::RecDescent::Subrule' ),
19184 bless( {
19185 'code' => '{ $item[2]; }',
19186 'hashname' => '__ACTION1__',
19187 'line' => 115,
19188 'lookahead' => 0
19189 }, 'Parse::RecDescent::Action' )
19190 ],
19191 'line' => undef,
19192 'number' => 0,
19193 'patcount' => 0,
19194 'strcount' => 0,
19195 'uncommit' => undef
19196 }, 'Parse::RecDescent::Production' ),
19197 bless( {
19198 'actcount' => 0,
19199 'dircount' => 1,
19200 'error' => 1,
19201 'items' => [
19202 bless( {
19203 'commitonly' => '',
19204 'hashname' => '__DIRECTIVE1__',
19205 'line' => 116,
19206 'lookahead' => 0,
19207 'msg' => ''
19208 }, 'Parse::RecDescent::Error' )
19209 ],
19210 'line' => 116,
19211 'number' => 1,
19212 'patcount' => 0,
19213 'strcount' => 0,
19214 'uncommit' => 0
19215 }, 'Parse::RecDescent::Production' )
19216 ],
19217 'vars' => ''
19218 }, 'Parse::RecDescent::Rule' ),
19219 'type' => bless( {
19220 'calls' => [
19221 'identifier'
19222 ],
19223 'changed' => 0,
19224 'impcount' => 0,
19225 'line' => 305,
19226 'name' => 'type',
19227 'opcount' => 0,
19228 'prods' => [
19229 bless( {
19230 'actcount' => 1,
19231 'dircount' => 1,
19232 'error' => undef,
19233 'items' => [
19234 bless( {
19235 'argcode' => undef,
19236 'implicit' => undef,
19237 'line' => 306,
19238 'lookahead' => 0,
19239 'matchrule' => 0,
19240 'subrule' => 'identifier'
19241 }, 'Parse::RecDescent::Subrule' ),
19242 bless( {
19243 'code' => '$commit = 1',
19244 'hashname' => '__DIRECTIVE1__',
19245 'line' => 307,
19246 'lookahead' => 0,
19247 'name' => '<commit>'
19248 }, 'Parse::RecDescent::Directive' ),
19249 bless( {
19250 'code' => '{ eval { $arg[0]->get($item[1]); } }',
19251 'hashname' => '__ACTION1__',
19252 'line' => 308,
19253 'lookahead' => 0
19254 }, 'Parse::RecDescent::Action' )
19255 ],
19256 'line' => undef,
19257 'number' => 0,
19258 'patcount' => 0,
19259 'strcount' => 0,
19260 'uncommit' => undef
19261 }, 'Parse::RecDescent::Production' ),
19262 bless( {
19263 'actcount' => 0,
19264 'dircount' => 2,
19265 'error' => 1,
19266 'items' => [
19267 bless( {
19268 'commitonly' => '?',
19269 'hashname' => '__DIRECTIVE1__',
19270 'line' => 310,
19271 'lookahead' => 0,
19272 'msg' => ' $@'
19273 }, 'Parse::RecDescent::Error' ),
19274 bless( {
19275 'hashname' => '__DIRECTIVE2__',
19276 'line' => 310,
19277 'lookahead' => 0,
19278 'name' => '<reject>'
19279 }, 'Parse::RecDescent::UncondReject' )
19280 ],
19281 'line' => 309,
19282 'number' => 1,
19283 'patcount' => 0,
19284 'strcount' => 0,
19285 'uncommit' => 0
19286 }, 'Parse::RecDescent::Production' )
19287 ],
19288 'vars' => ''
19289 }, 'Parse::RecDescent::Rule' ),
19290 'value' => bless( {
19291 'calls' => [],
19292 'changed' => 0,
19293 'impcount' => 0,
19294 'line' => 350,
19295 'name' => 'value',
19296 'opcount' => 0,
19297 'prods' => [
19298 bless( {
19299 'actcount' => 0,
19300 'dircount' => 0,
19301 'error' => undef,
19302 'items' => [
19303 bless( {
19304 'description' => '\'\'',
19305 'hashname' => '__STRING1__',
19306 'line' => 351,
19307 'lookahead' => 0,
19308 'pattern' => ''
19309 }, 'Parse::RecDescent::Literal' ),
19310 bless( {
19311 'argcode' => '[@arg[1..$#arg]]',
19312 'implicit' => undef,
19313 'line' => 351,
19314 'lookahead' => 0,
19315 'matchrule' => 1,
19316 'subrule' => 'value_$arg[0]'
19317 }, 'Parse::RecDescent::Subrule' )
19318 ],
19319 'line' => undef,
19320 'number' => 0,
19321 'patcount' => 0,
19322 'strcount' => 1,
19323 'uncommit' => undef
19324 }, 'Parse::RecDescent::Production' )
19325 ],
19326 'vars' => ''
19327 }, 'Parse::RecDescent::Rule' ),
19328 'value_dns_name' => bless( {
19329 'calls' => [],
19330 'changed' => 0,
19331 'impcount' => 0,
19332 'line' => 398,
19333 'name' => 'value_dns_name',
19334 'opcount' => 0,
19335 'prods' => [
19336 bless( {
19337 'actcount' => 0,
19338 'dircount' => 0,
19339 'error' => undef,
19340 'items' => [
19341 bless( {
19342 'description' => '/[a-zA-Z0-9-]+/',
19343 'hashname' => '__PATTERN1__',
19344 'ldelim' => '/',
19345 'line' => 399,
19346 'lookahead' => 0,
19347 'mod' => '',
19348 'pattern' => '[a-zA-Z0-9-]+',
19349 'rdelim' => '/'
19350 }, 'Parse::RecDescent::Token' )
19351 ],
19352 'line' => undef,
19353 'number' => 0,
19354 'patcount' => 1,
19355 'strcount' => 0,
19356 'uncommit' => undef
19357 }, 'Parse::RecDescent::Production' ),
19358 bless( {
19359 'actcount' => 0,
19360 'dircount' => 1,
19361 'error' => 1,
19362 'items' => [
19363 bless( {
19364 'commitonly' => '',
19365 'hashname' => '__DIRECTIVE1__',
19366 'line' => 400,
19367 'lookahead' => 0,
19368 'msg' => ''
19369 }, 'Parse::RecDescent::Error' )
19370 ],
19371 'line' => 400,
19372 'number' => 1,
19373 'patcount' => 0,
19374 'strcount' => 0,
19375 'uncommit' => 0
19376 }, 'Parse::RecDescent::Production' )
19377 ],
19378 'vars' => ''
19379 }, 'Parse::RecDescent::Rule' ),
19380 'value_dns_zone' => bless( {
19381 'calls' => [],
19382 'changed' => 0,
19383 'impcount' => 0,
19384 'line' => 402,
19385 'name' => 'value_dns_zone',
19386 'opcount' => 0,
19387 'prods' => [
19388 bless( {
19389 'actcount' => 0,
19390 'dircount' => 0,
19391 'error' => undef,
19392 'items' => [
19393 bless( {
19394 'description' => '/([a-zA-Z0-9-]+\\\\.)*[a-zA-Z0-9-]+\\\\.?/',
19395 'hashname' => '__PATTERN1__',
19396 'ldelim' => '/',
19397 'line' => 403,
19398 'lookahead' => 0,
19399 'mod' => '',
19400 'pattern' => '([a-zA-Z0-9-]+\\.)*[a-zA-Z0-9-]+\\.?',
19401 'rdelim' => '/'
19402 }, 'Parse::RecDescent::Token' )
19403 ],
19404 'line' => undef,
19405 'number' => 0,
19406 'patcount' => 1,
19407 'strcount' => 0,
19408 'uncommit' => undef
19409 }, 'Parse::RecDescent::Production' ),
19410 bless( {
19411 'actcount' => 0,
19412 'dircount' => 1,
19413 'error' => 1,
19414 'items' => [
19415 bless( {
19416 'commitonly' => '',
19417 'hashname' => '__DIRECTIVE1__',
19418 'line' => 404,
19419 'lookahead' => 0,
19420 'msg' => ''
19421 }, 'Parse::RecDescent::Error' )
19422 ],
19423 'line' => 404,
19424 'number' => 1,
19425 'patcount' => 0,
19426 'strcount' => 0,
19427 'uncommit' => 0
19428 }, 'Parse::RecDescent::Production' )
19429 ],
19430 'vars' => ''
19431 }, 'Parse::RecDescent::Rule' ),
19432 'value_identifier' => bless( {
19433 'calls' => [
19434 'identifier'
19435 ],
19436 'changed' => 0,
19437 'impcount' => 0,
19438 'line' => 395,
19439 'name' => 'value_identifier',
19440 'opcount' => 0,
19441 'prods' => [
19442 bless( {
19443 'actcount' => 0,
19444 'dircount' => 0,
19445 'error' => undef,
19446 'items' => [
19447 bless( {
19448 'argcode' => undef,
19449 'implicit' => undef,
19450 'line' => 395,
19451 'lookahead' => 0,
19452 'matchrule' => 0,
19453 'subrule' => 'identifier'
19454 }, 'Parse::RecDescent::Subrule' )
19455 ],
19456 'line' => undef,
19457 'number' => 0,
19458 'patcount' => 0,
19459 'strcount' => 0,
19460 'uncommit' => undef
19461 }, 'Parse::RecDescent::Production' ),
19462 bless( {
19463 'actcount' => 0,
19464 'dircount' => 1,
19465 'error' => 1,
19466 'items' => [
19467 bless( {
19468 'commitonly' => '',
19469 'hashname' => '__DIRECTIVE1__',
19470 'line' => 396,
19471 'lookahead' => 0,
19472 'msg' => ''
19473 }, 'Parse::RecDescent::Error' )
19474 ],
19475 'line' => 396,
19476 'number' => 1,
19477 'patcount' => 0,
19478 'strcount' => 0,
19479 'uncommit' => 0
19480 }, 'Parse::RecDescent::Production' )
19481 ],
19482 'vars' => ''
19483 }, 'Parse::RecDescent::Rule' ),
19484 'value_ipv4' => bless( {
19485 'calls' => [
19486 'byte'
19487 ],
19488 'changed' => 0,
19489 'impcount' => 0,
19490 'line' => 408,
19491 'name' => 'value_ipv4',
19492 'opcount' => 0,
19493 'prods' => [
19494 bless( {
19495 'actcount' => 1,
19496 'dircount' => 2,
19497 'error' => undef,
19498 'items' => [
19499 bless( {
19500 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
19501 'hashname' => '__DIRECTIVE1__',
19502 'line' => 409,
19503 'lookahead' => 0,
19504 'name' => '<skip: \'\'>'
19505 }, 'Parse::RecDescent::Directive' ),
19506 bless( {
19507 'expected' => '<leftop: byte \'.\' byte>',
19508 'hashname' => '__DIRECTIVE2__',
19509 'leftarg' => bless( {
19510 'argcode' => undef,
19511 'implicit' => undef,
19512 'line' => 409,
19513 'lookahead' => 0,
19514 'matchrule' => 0,
19515 'subrule' => 'byte'
19516 }, 'Parse::RecDescent::Subrule' ),
19517 'max' => 100000000,
19518 'min' => 1,
19519 'name' => '',
19520 'op' => bless( {
19521 'description' => '\'.\'',
19522 'hashname' => '__STRING1__',
19523 'line' => 409,
19524 'lookahead' => 0,
19525 'pattern' => '.'
19526 }, 'Parse::RecDescent::Literal' ),
19527 'rightarg' => bless( {
19528 'argcode' => undef,
19529 'implicit' => undef,
19530 'line' => 409,
19531 'lookahead' => 0,
19532 'matchrule' => 0,
19533 'subrule' => 'byte'
19534 }, 'Parse::RecDescent::Subrule' ),
19535 'type' => 'leftop'
19536 }, 'Parse::RecDescent::Operator' ),
19537 bless( {
19538 'code' => '{ @{$item[2]} == 4 ? join \'.\', @{$item[2]} : undef; }',
19539 'hashname' => '__ACTION1__',
19540 'line' => 410,
19541 'lookahead' => 0
19542 }, 'Parse::RecDescent::Action' )
19543 ],
19544 'line' => undef,
19545 'number' => 0,
19546 'op' => [],
19547 'patcount' => 0,
19548 'strcount' => 1,
19549 'uncommit' => undef
19550 }, 'Parse::RecDescent::Production' ),
19551 bless( {
19552 'actcount' => 0,
19553 'dircount' => 1,
19554 'error' => 1,
19555 'items' => [
19556 bless( {
19557 'commitonly' => '',
19558 'hashname' => '__DIRECTIVE1__',
19559 'line' => 411,
19560 'lookahead' => 0,
19561 'msg' => ''
19562 }, 'Parse::RecDescent::Error' )
19563 ],
19564 'line' => 411,
19565 'number' => 1,
19566 'patcount' => 0,
19567 'strcount' => 0,
19568 'uncommit' => 0
19569 }, 'Parse::RecDescent::Production' )
19570 ],
19571 'vars' => ''
19572 }, 'Parse::RecDescent::Rule' ),
19573 'value_ipv4_mask' => bless( {
19574 'calls' => [
19575 'value_ipv4',
19576 '_alternation_1_of_production_1_of_rule_value_ipv4_mask'
19577 ],
19578 'changed' => 0,
19579 'impcount' => 0,
19580 'line' => 421,
19581 'name' => 'value_ipv4_mask',
19582 'opcount' => 0,
19583 'prods' => [
19584 bless( {
19585 'actcount' => 1,
19586 'dircount' => 1,
19587 'error' => undef,
19588 'items' => [
19589 bless( {
19590 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
19591 'hashname' => '__DIRECTIVE1__',
19592 'line' => 422,
19593 'lookahead' => 0,
19594 'name' => '<skip: \'\'>'
19595 }, 'Parse::RecDescent::Directive' ),
19596 bless( {
19597 'argcode' => undef,
19598 'implicit' => undef,
19599 'line' => 422,
19600 'lookahead' => 0,
19601 'matchrule' => 0,
19602 'subrule' => 'value_ipv4'
19603 }, 'Parse::RecDescent::Subrule' ),
19604 bless( {
19605 'description' => '\'/\'',
19606 'hashname' => '__STRING1__',
19607 'line' => 422,
19608 'lookahead' => 0,
19609 'pattern' => '/'
19610 }, 'Parse::RecDescent::Literal' ),
19611 bless( {
19612 'argcode' => undef,
19613 'implicit' => 'decint, or value_ipv4',
19614 'line' => 422,
19615 'lookahead' => 0,
19616 'matchrule' => 0,
19617 'subrule' => '_alternation_1_of_production_1_of_rule_value_ipv4_mask'
19618 }, 'Parse::RecDescent::Subrule' ),
19619 bless( {
19620 'code' => '{ "$item[2]/$item[-1]"; }',
19621 'hashname' => '__ACTION1__',
19622 'line' => 423,
19623 'lookahead' => 0
19624 }, 'Parse::RecDescent::Action' )
19625 ],
19626 'line' => undef,
19627 'number' => 0,
19628 'patcount' => 0,
19629 'strcount' => 1,
19630 'uncommit' => undef
19631 }, 'Parse::RecDescent::Production' ),
19632 bless( {
19633 'actcount' => 0,
19634 'dircount' => 1,
19635 'error' => 1,
19636 'items' => [
19637 bless( {
19638 'commitonly' => '',
19639 'hashname' => '__DIRECTIVE1__',
19640 'line' => 424,
19641 'lookahead' => 0,
19642 'msg' => ''
19643 }, 'Parse::RecDescent::Error' )
19644 ],
19645 'line' => 424,
19646 'number' => 1,
19647 'patcount' => 0,
19648 'strcount' => 0,
19649 'uncommit' => 0
19650 }, 'Parse::RecDescent::Production' )
19651 ],
19652 'vars' => ''
19653 }, 'Parse::RecDescent::Rule' ),
19654 'value_ipv4_port' => bless( {
19655 'calls' => [
19656 'value_ipv4',
19657 'value_port'
19658 ],
19659 'changed' => 0,
19660 'impcount' => 0,
19661 'line' => 416,
19662 'name' => 'value_ipv4_port',
19663 'opcount' => 0,
19664 'prods' => [
19665 bless( {
19666 'actcount' => 1,
19667 'dircount' => 1,
19668 'error' => undef,
19669 'items' => [
19670 bless( {
19671 'code' => 'my $oldskip = $skip; $skip= \'\'; $oldskip',
19672 'hashname' => '__DIRECTIVE1__',
19673 'line' => 417,
19674 'lookahead' => 0,
19675 'name' => '<skip: \'\'>'
19676 }, 'Parse::RecDescent::Directive' ),
19677 bless( {
19678 'argcode' => undef,
19679 'implicit' => undef,
19680 'line' => 417,
19681 'lookahead' => 0,
19682 'matchrule' => 0,
19683 'subrule' => 'value_ipv4'
19684 }, 'Parse::RecDescent::Subrule' ),
19685 bless( {
19686 'description' => '\':\'',
19687 'hashname' => '__STRING1__',
19688 'line' => 417,
19689 'lookahead' => 0,
19690 'pattern' => ':'
19691 }, 'Parse::RecDescent::Literal' ),
19692 bless( {
19693 'argcode' => undef,
19694 'implicit' => undef,
19695 'line' => 417,
19696 'lookahead' => 0,
19697 'matchrule' => 0,
19698 'subrule' => 'value_port'
19699 }, 'Parse::RecDescent::Subrule' ),
19700 bless( {
19701 'code' => '{ "$item[2]:$item[-1]"; }',
19702 'hashname' => '__ACTION1__',
19703 'line' => 418,
19704 'lookahead' => 0
19705 }, 'Parse::RecDescent::Action' )
19706 ],
19707 'line' => undef,
19708 'number' => 0,
19709 'patcount' => 0,
19710 'strcount' => 1,
19711 'uncommit' => undef
19712 }, 'Parse::RecDescent::Production' ),
19713 bless( {
19714 'actcount' => 0,
19715 'dircount' => 1,
19716 'error' => 1,
19717 'items' => [
19718 bless( {
19719 'commitonly' => '',
19720 'hashname' => '__DIRECTIVE1__',
19721 'line' => 419,
19722 'lookahead' => 0,
19723 'msg' => ''
19724 }, 'Parse::RecDescent::Error' )
19725 ],
19726 'line' => 419,
19727 'number' => 1,
19728 'patcount' => 0,
19729 'strcount' => 0,
19730 'uncommit' => 0
19731 }, 'Parse::RecDescent::Production' )
19732 ],
19733 'vars' => ''
19734 }, 'Parse::RecDescent::Rule' ),
19735 'value_list' => bless( {
19736 'calls' => [
19737 'value'
19738 ],
19739 'changed' => 0,
19740 'impcount' => 0,
19741 'line' => 356,
19742 'name' => 'value_list',
19743 'opcount' => 0,
19744 'prods' => [
19745 bless( {
19746 'actcount' => 1,
19747 'dircount' => 0,
19748 'error' => undef,
19749 'items' => [
19750 bless( {
19751 'argcode' => '[@arg]',
19752 'expected' => undef,
19753 'line' => 358,
19754 'lookahead' => 0,
19755 'matchrule' => 0,
19756 'max' => 100000000,
19757 'min' => 1,
19758 'repspec' => 's',
19759 'subrule' => 'value'
19760 }, 'Parse::RecDescent::Repetition' ),
19761 bless( {
19762 'code' => '{ new Config::Maker::Value::List($item[1]); }',
19763 'hashname' => '__ACTION1__',
19764 'line' => 359,
19765 'lookahead' => 0
19766 }, 'Parse::RecDescent::Action' )
19767 ],
19768 'line' => undef,
19769 'number' => 0,
19770 'patcount' => 0,
19771 'strcount' => 0,
19772 'uncommit' => undef
19773 }, 'Parse::RecDescent::Production' ),
19774 bless( {
19775 'actcount' => 0,
19776 'dircount' => 1,
19777 'error' => 1,
19778 'items' => [
19779 bless( {
19780 'commitonly' => '',
19781 'hashname' => '__DIRECTIVE1__',
19782 'line' => 360,
19783 'lookahead' => 0,
19784 'msg' => ''
19785 }, 'Parse::RecDescent::Error' )
19786 ],
19787 'line' => 360,
19788 'number' => 1,
19789 'patcount' => 0,
19790 'strcount' => 0,
19791 'uncommit' => 0
19792 }, 'Parse::RecDescent::Production' )
19793 ],
19794 'vars' => ''
19795 }, 'Parse::RecDescent::Rule' ),
19796 'value_mac' => bless( {
19797 'calls' => [],
19798 'changed' => 0,
19799 'impcount' => 0,
19800 'line' => 426,
19801 'name' => 'value_mac',
19802 'opcount' => 0,
19803 'prods' => [
19804 bless( {
19805 'actcount' => 0,
19806 'dircount' => 0,
19807 'error' => undef,
19808 'items' => [
19809 bless( {
19810 'description' => '/([[:xdigit:]]\\{2\\}:)\\{5\\}[[:xdigit:]]\\{2\\}/',
19811 'hashname' => '__PATTERN1__',
19812 'ldelim' => '/',
19813 'line' => 427,
19814 'lookahead' => 0,
19815 'mod' => '',
19816 'pattern' => '([[:xdigit:]]{2}:){5}[[:xdigit:]]{2}',
19817 'rdelim' => '/'
19818 }, 'Parse::RecDescent::Token' )
19819 ],
19820 'line' => undef,
19821 'number' => 0,
19822 'patcount' => 1,
19823 'strcount' => 0,
19824 'uncommit' => undef
19825 }, 'Parse::RecDescent::Production' ),
19826 bless( {
19827 'actcount' => 0,
19828 'dircount' => 1,
19829 'error' => 1,
19830 'items' => [
19831 bless( {
19832 'commitonly' => '',
19833 'hashname' => '__DIRECTIVE1__',
19834 'line' => 428,
19835 'lookahead' => 0,
19836 'msg' => ''
19837 }, 'Parse::RecDescent::Error' )
19838 ],
19839 'line' => 428,
19840 'number' => 1,
19841 'patcount' => 0,
19842 'strcount' => 0,
19843 'uncommit' => 0
19844 }, 'Parse::RecDescent::Production' )
19845 ],
19846 'vars' => ''
19847 }, 'Parse::RecDescent::Rule' ),
19848 'value_nested_list' => bless( {
19849 'calls' => [
19850 'value_nestlist_elem'
19851 ],
19852 'changed' => 0,
19853 'impcount' => 0,
19854 'line' => 367,
19855 'name' => 'value_nested_list',
19856 'opcount' => 0,
19857 'prods' => [
19858 bless( {
19859 'actcount' => 1,
19860 'dircount' => 0,
19861 'error' => undef,
19862 'items' => [
19863 bless( {
19864 'description' => '\'[\'',
19865 'hashname' => '__STRING1__',
19866 'line' => 368,
19867 'lookahead' => 0,
19868 'pattern' => '['
19869 }, 'Parse::RecDescent::Literal' ),
19870 bless( {
19871 'argcode' => '[@arg]',
19872 'expected' => undef,
19873 'line' => 368,
19874 'lookahead' => 0,
19875 'matchrule' => 0,
19876 'max' => 100000000,
19877 'min' => 0,
19878 'repspec' => 's?',
19879 'subrule' => 'value_nestlist_elem'
19880 }, 'Parse::RecDescent::Repetition' ),
19881 bless( {
19882 'description' => '\']\'',
19883 'hashname' => '__STRING2__',
19884 'line' => 368,
19885 'lookahead' => 0,
19886 'pattern' => ']'
19887 }, 'Parse::RecDescent::Literal' ),
19888 bless( {
19889 'code' => '{ new Config::Maker::Value::List($item[2]); }',
19890 'hashname' => '__ACTION1__',
19891 'line' => 369,
19892 'lookahead' => 0
19893 }, 'Parse::RecDescent::Action' )
19894 ],
19895 'line' => undef,
19896 'number' => 0,
19897 'patcount' => 0,
19898 'strcount' => 2,
19899 'uncommit' => undef
19900 }, 'Parse::RecDescent::Production' ),
19901 bless( {
19902 'actcount' => 0,
19903 'dircount' => 1,
19904 'error' => 1,
19905 'items' => [
19906 bless( {
19907 'commitonly' => '',
19908 'hashname' => '__DIRECTIVE1__',
19909 'line' => 370,
19910 'lookahead' => 0,
19911 'msg' => ''
19912 }, 'Parse::RecDescent::Error' )
19913 ],
19914 'line' => 370,
19915 'number' => 1,
19916 'patcount' => 0,
19917 'strcount' => 0,
19918 'uncommit' => 0
19919 }, 'Parse::RecDescent::Production' )
19920 ],
19921 'vars' => ''
19922 }, 'Parse::RecDescent::Rule' ),
19923 'value_nestlist_elem' => bless( {
19924 'calls' => [
19925 'value_nestlist_elem'
19926 ],
19927 'changed' => 0,
19928 'impcount' => 0,
19929 'line' => 372,
19930 'name' => 'value_nestlist_elem',
19931 'opcount' => 0,
19932 'prods' => [
19933 bless( {
19934 'actcount' => 1,
19935 'dircount' => 0,
19936 'error' => undef,
19937 'items' => [
19938 bless( {
19939 'description' => '\'[\'',
19940 'hashname' => '__STRING1__',
19941 'line' => 373,
19942 'lookahead' => 0,
19943 'pattern' => '['
19944 }, 'Parse::RecDescent::Literal' ),
19945 bless( {
19946 'argcode' => '[@arg]',
19947 'expected' => undef,
19948 'line' => 373,
19949 'lookahead' => 0,
19950 'matchrule' => 0,
19951 'max' => 100000000,
19952 'min' => 0,
19953 'repspec' => 's?',
19954 'subrule' => 'value_nestlist_elem'
19955 }, 'Parse::RecDescent::Repetition' ),
19956 bless( {
19957 'description' => '\']\'',
19958 'hashname' => '__STRING2__',
19959 'line' => 373,
19960 'lookahead' => 0,
19961 'pattern' => ']'
19962 }, 'Parse::RecDescent::Literal' ),
19963 bless( {
19964 'code' => '{ new Config::Maker::Value::List($item[2]); }',
19965 'hashname' => '__ACTION1__',
19966 'line' => 374,
19967 'lookahead' => 0
19968 }, 'Parse::RecDescent::Action' )
19969 ],
19970 'line' => undef,
19971 'number' => 0,
19972 'patcount' => 0,
19973 'strcount' => 2,
19974 'uncommit' => undef
19975 }, 'Parse::RecDescent::Production' ),
19976 bless( {
19977 'actcount' => 0,
19978 'dircount' => 0,
19979 'error' => undef,
19980 'items' => [
19981 bless( {
19982 'argcode' => '[@arg[1..$#arg]]',
19983 'implicit' => undef,
19984 'line' => 376,
19985 'lookahead' => 0,
19986 'matchrule' => 1,
19987 'subrule' => 'value_$arg[0]'
19988 }, 'Parse::RecDescent::Subrule' )
19989 ],
19990 'line' => 375,
19991 'number' => 1,
19992 'patcount' => 0,
19993 'strcount' => 0,
19994 'uncommit' => undef
19995 }, 'Parse::RecDescent::Production' ),
19996 bless( {
19997 'actcount' => 0,
19998 'dircount' => 1,
19999 'error' => 1,
20000 'items' => [
20001 bless( {
20002 'commitonly' => '',
20003 'hashname' => '__DIRECTIVE1__',
20004 'line' => 377,
20005 'lookahead' => 0,
20006 'msg' => ''
20007 }, 'Parse::RecDescent::Error' )
20008 ],
20009 'line' => 377,
20010 'number' => 2,
20011 'patcount' => 0,
20012 'strcount' => 0,
20013 'uncommit' => 0
20014 }, 'Parse::RecDescent::Production' )
20015 ],
20016 'vars' => ''
20017 }, 'Parse::RecDescent::Rule' ),
20018 'value_pair' => bless( {
20019 'calls' => [],
20020 'changed' => 0,
20021 'impcount' => 0,
20022 'line' => 379,
20023 'name' => 'value_pair',
20024 'opcount' => 0,
20025 'prods' => [
20026 bless( {
20027 'actcount' => 1,
20028 'dircount' => 0,
20029 'error' => undef,
20030 'items' => [
20031 bless( {
20032 'argcode' => '[$arg[0][1..$#{$arg[0]}]]',
20033 'implicit' => undef,
20034 'line' => 380,
20035 'lookahead' => 0,
20036 'matchrule' => 1,
20037 'subrule' => 'value_$arg[0][0]'
20038 }, 'Parse::RecDescent::Subrule' ),
20039 bless( {
20040 'argcode' => '[$arg[1][1..$#{$arg[1]}]]',
20041 'implicit' => undef,
20042 'line' => 381,
20043 'lookahead' => 0,
20044 'matchrule' => 1,
20045 'subrule' => 'value_$arg[1][0]'
20046 }, 'Parse::RecDescent::Subrule' ),
20047 bless( {
20048 'code' => '{ new Config::Maker::Value::List [$item[1], $item[-1]]; }',
20049 'hashname' => '__ACTION1__',
20050 'line' => 383,
20051 'lookahead' => 0
20052 }, 'Parse::RecDescent::Action' )
20053 ],
20054 'line' => undef,
20055 'number' => 0,
20056 'patcount' => 0,
20057 'strcount' => 0,
20058 'uncommit' => undef
20059 }, 'Parse::RecDescent::Production' ),
20060 bless( {
20061 'actcount' => 0,
20062 'dircount' => 1,
20063 'error' => 1,
20064 'items' => [
20065 bless( {
20066 'commitonly' => '',
20067 'hashname' => '__DIRECTIVE1__',
20068 'line' => 384,
20069 'lookahead' => 0,
20070 'msg' => ''
20071 }, 'Parse::RecDescent::Error' )
20072 ],
20073 'line' => 384,
20074 'number' => 1,
20075 'patcount' => 0,
20076 'strcount' => 0,
20077 'uncommit' => 0
20078 }, 'Parse::RecDescent::Production' )
20079 ],
20080 'vars' => ''
20081 }, 'Parse::RecDescent::Rule' ),
20082 'value_path' => bless( {
20083 'calls' => [
20084 'path'
20085 ],
20086 'changed' => 0,
20087 'impcount' => 0,
20088 'line' => 430,
20089 'name' => 'value_path',
20090 'opcount' => 0,
20091 'prods' => [
20092 bless( {
20093 'actcount' => 0,
20094 'dircount' => 0,
20095 'error' => undef,
20096 'items' => [
20097 bless( {
20098 'argcode' => undef,
20099 'implicit' => undef,
20100 'line' => 430,
20101 'lookahead' => 0,
20102 'matchrule' => 0,
20103 'subrule' => 'path'
20104 }, 'Parse::RecDescent::Subrule' )
20105 ],
20106 'line' => undef,
20107 'number' => 0,
20108 'patcount' => 0,
20109 'strcount' => 0,
20110 'uncommit' => undef
20111 }, 'Parse::RecDescent::Production' )
20112 ],
20113 'vars' => ''
20114 }, 'Parse::RecDescent::Rule' ),
20115 'value_perlcode' => bless( {
20116 'calls' => [
20117 'perl_codeblock'
20118 ],
20119 'changed' => 0,
20120 'impcount' => 0,
20121 'line' => 386,
20122 'name' => 'value_perlcode',
20123 'opcount' => 0,
20124 'prods' => [
20125 bless( {
20126 'actcount' => 0,
20127 'dircount' => 0,
20128 'error' => undef,
20129 'items' => [
20130 bless( {
20131 'argcode' => '[@arg]',
20132 'implicit' => undef,
20133 'line' => 387,
20134 'lookahead' => 0,
20135 'matchrule' => 0,
20136 'subrule' => 'perl_codeblock'
20137 }, 'Parse::RecDescent::Subrule' )
20138 ],
20139 'line' => undef,
20140 'number' => 0,
20141 'patcount' => 0,
20142 'strcount' => 0,
20143 'uncommit' => undef
20144 }, 'Parse::RecDescent::Production' ),
20145 bless( {
20146 'actcount' => 0,
20147 'dircount' => 1,
20148 'error' => 1,
20149 'items' => [
20150 bless( {
20151 'commitonly' => '',
20152 'hashname' => '__DIRECTIVE1__',
20153 'line' => 388,
20154 'lookahead' => 0,
20155 'msg' => ''
20156 }, 'Parse::RecDescent::Error' )
20157 ],
20158 'line' => 388,
20159 'number' => 1,
20160 'patcount' => 0,
20161 'strcount' => 0,
20162 'uncommit' => 0
20163 }, 'Parse::RecDescent::Production' )
20164 ],
20165 'vars' => ''
20166 }, 'Parse::RecDescent::Rule' ),
20167 'value_port' => bless( {
20168 'calls' => [
20169 'decint'
20170 ],
20171 'changed' => 0,
20172 'impcount' => 0,
20173 'line' => 413,
20174 'name' => 'value_port',
20175 'opcount' => 0,
20176 'prods' => [
20177 bless( {
20178 'actcount' => 0,
20179 'dircount' => 0,
20180 'error' => undef,
20181 'items' => [
20182 bless( {
20183 'argcode' => '[0,65535]',
20184 'implicit' => undef,
20185 'line' => 413,
20186 'lookahead' => 0,
20187 'matchrule' => 0,
20188 'subrule' => 'decint'
20189 }, 'Parse::RecDescent::Subrule' )
20190 ],
20191 'line' => undef,
20192 'number' => 0,
20193 'patcount' => 0,
20194 'strcount' => 0,
20195 'uncommit' => undef
20196 }, 'Parse::RecDescent::Production' ),
20197 bless( {
20198 'actcount' => 0,
20199 'dircount' => 1,
20200 'error' => 1,
20201 'items' => [
20202 bless( {
20203 'commitonly' => '',
20204 'hashname' => '__DIRECTIVE1__',
20205 'line' => 414,
20206 'lookahead' => 0,
20207 'msg' => ''
20208 }, 'Parse::RecDescent::Error' )
20209 ],
20210 'line' => 414,
20211 'number' => 1,
20212 'patcount' => 0,
20213 'strcount' => 0,
20214 'uncommit' => 0
20215 }, 'Parse::RecDescent::Production' )
20216 ],
20217 'vars' => ''
20218 }, 'Parse::RecDescent::Rule' ),
20219 'value_string' => bless( {
20220 'calls' => [
20221 'literal'
20222 ],
20223 'changed' => 0,
20224 'impcount' => 0,
20225 'line' => 390,
20226 'name' => 'value_string',
20227 'opcount' => 0,
20228 'prods' => [
20229 bless( {
20230 'actcount' => 0,
20231 'dircount' => 0,
20232 'error' => undef,
20233 'items' => [
20234 bless( {
20235 'argcode' => undef,
20236 'implicit' => undef,
20237 'line' => 392,
20238 'lookahead' => 0,
20239 'matchrule' => 0,
20240 'subrule' => 'literal'
20241 }, 'Parse::RecDescent::Subrule' )
20242 ],
20243 'line' => undef,
20244 'number' => 0,
20245 'patcount' => 0,
20246 'strcount' => 0,
20247 'uncommit' => undef
20248 }, 'Parse::RecDescent::Production' ),
20249 bless( {
20250 'actcount' => 0,
20251 'dircount' => 1,
20252 'error' => 1,
20253 'items' => [
20254 bless( {
20255 'commitonly' => '',
20256 'hashname' => '__DIRECTIVE1__',
20257 'line' => 393,
20258 'lookahead' => 0,
20259 'msg' => ''
20260 }, 'Parse::RecDescent::Error' )
20261 ],
20262 'line' => 393,
20263 'number' => 1,
20264 'patcount' => 0,
20265 'strcount' => 0,
20266 'uncommit' => 0
20267 }, 'Parse::RecDescent::Production' )
20268 ],
20269 'vars' => ''
20270 }, 'Parse::RecDescent::Rule' ),
20271 'value_void' => bless( {
20272 'calls' => [],
20273 'changed' => 0,
20274 'impcount' => 0,
20275 'line' => 353,
20276 'name' => 'value_void',
20277 'opcount' => 0,
20278 'prods' => [
20279 bless( {
20280 'actcount' => 0,
20281 'dircount' => 0,
20282 'error' => undef,
20283 'items' => [],
20284 'line' => undef,
20285 'number' => 0,
20286 'patcount' => 0,
20287 'strcount' => 0,
20288 'uncommit' => undef
20289 }, 'Parse::RecDescent::Production' )
20290 ],
20291 'vars' => ''
20292 }, 'Parse::RecDescent::Rule' ),
20293 'value_zero_list' => bless( {
20294 'calls' => [
20295 'value'
20296 ],
20297 'changed' => 0,
20298 'impcount' => 0,
20299 'line' => 362,
20300 'name' => 'value_zero_list',
20301 'opcount' => 0,
20302 'prods' => [
20303 bless( {
20304 'actcount' => 1,
20305 'dircount' => 0,
20306 'error' => undef,
20307 'items' => [
20308 bless( {
20309 'argcode' => '[@arg]',
20310 'expected' => undef,
20311 'line' => 363,
20312 'lookahead' => 0,
20313 'matchrule' => 0,
20314 'max' => 100000000,
20315 'min' => 0,
20316 'repspec' => 's?',
20317 'subrule' => 'value'
20318 }, 'Parse::RecDescent::Repetition' ),
20319 bless( {
20320 'code' => '{ new Config::Maker::Value::List($item[1]); }',
20321 'hashname' => '__ACTION1__',
20322 'line' => 364,
20323 'lookahead' => 0
20324 }, 'Parse::RecDescent::Action' )
20325 ],
20326 'line' => undef,
20327 'number' => 0,
20328 'patcount' => 0,
20329 'strcount' => 0,
20330 'uncommit' => undef
20331 }, 'Parse::RecDescent::Production' ),
20332 bless( {
20333 'actcount' => 0,
20334 'dircount' => 1,
20335 'error' => 1,
20336 'items' => [
20337 bless( {
20338 'commitonly' => '',
20339 'hashname' => '__DIRECTIVE1__',
20340 'line' => 365,
20341 'lookahead' => 0,
20342 'msg' => ''
20343 }, 'Parse::RecDescent::Error' )
20344 ],
20345 'line' => 365,
20346 'number' => 1,
20347 'patcount' => 0,
20348 'strcount' => 0,
20349 'uncommit' => 0
20350 }, 'Parse::RecDescent::Production' )
20351 ],
20352 'vars' => ''
20353 }, 'Parse::RecDescent::Rule' )
20354 },
20355 'startcode' => ''
20356 }, 'Parse::RecDescent' );
20357 }
↑ Summary Maker/Eval/DNSSerial.pm »