Branch Coverage

blib/lib/WAP/wmls/lexer.pm
Criterion Covered Total %
branch 0 204 0.0


line true false branch
23 0 0 if s/^\"//
26 0 0 if s/^([^"\\]+)//
30 0 0 if s[^\\(['"\\/])][]
33 0 0 if s/^\\b//
36 0 0 if s/^\\f//
39 0 0 if s/^\\n//
42 0 0 if s/^\\r//
45 0 0 if s/^\\t//
48 0 0 if ($type eq 'UTF8_STRING_LITERAL') { }
49 0 0 if s/^\\([0-7]{1,2})//
52 0 0 if s/^\\([0-3][0-7]{2})//
55 0 0 if s/^\\x([0-9A-Fa-f]{2})//
60 0 0 if ($parser->YYData->{'encoding'} eq 'iso-8859-1') { }
61 0 0 if s/^\\([0-7]{1,2})//
64 0 0 if s/^\\([0-3][0-7]{2})//
67 0 0 if s/^\\x([0-9A-Fa-f]{2})//
72 0 0 if s/^\\([0-7]{1,2})// and $type = 'UTF8_STRING_LITERAL'
76 0 0 if s/^\\([0-3][0-7]{2})// and $type = 'UTF8_STRING_LITERAL'
80 0 0 if s/^\\x([0-9A-Fa-f]{2})// and $type = 'UTF8_STRING_LITERAL'
86 0 0 if ($type eq 'UTF8_STRING_LITERAL') { }
87 0 0 if s/^\\u([0-9A-Fa-f]{4})//
92 0 0 if s/^\\u([0-9A-Fa-f]{4})// and $type = 'UTF8_STRING_LITERAL'
97 0 0 if s/^\\//
117 0 0 if s/^'//
120 0 0 if s/^([^'\\]+)//
124 0 0 if s[^\\(['"\\/])][]
127 0 0 if s/^\\b//
130 0 0 if s/^\\f//
133 0 0 if s/^\\n//
136 0 0 if s/^\\r//
139 0 0 if s/^\\t//
142 0 0 if ($type eq 'UTF8_STRING_LITERAL') { }
143 0 0 if s/^\\([0-7]{1,2})//
146 0 0 if s/^\\([0-3][0-7]{2})//
149 0 0 if s/^\\x([0-9A-Fa-f]{2})//
154 0 0 if ($parser->YYData->{'encoding'} eq 'iso-8859-1') { }
155 0 0 if s/^\\([0-7]{1,2})//
158 0 0 if s/^\\([0-3][0-7]{2})//
161 0 0 if s/^\\x([0-9A-Fa-f]{2})//
166 0 0 if s/^\\([0-7]{1,2})// and $type = 'UTF8_STRING_LITERAL'
170 0 0 if s/^\\([0-3][0-7]{2})// and $type = 'UTF8_STRING_LITERAL'
174 0 0 if s/^\\x([0-9A-Fa-f]{2})// and $type = 'UTF8_STRING_LITERAL'
180 0 0 if ($type eq 'UTF8_STRING_LITERAL') { }
181 0 0 if s/^\\u([0-9A-Fa-f]{4})//
186 0 0 if s/^\\u([0-9A-Fa-f]{4})// and $type = 'UTF8_STRING_LITERAL'
191 0 0 if s/^\\//
205 0 0 if (exists $parser->YYData->{'keyword'}{$ident}) { }
0 0 elsif (exists $parser->YYData->{'invalid_keyword'}{$ident}) { }
238 0 0 unless $parser->YYData->{'INPUT'} or $parser->YYData->{'INPUT'} = readline $parser->YYData->{'fh'}
243 0 0 if s/^\n//
246 0 0 if s[^\*/][]
248 0 0 if s/^.//
260 0 0 unless $parser->YYData->{'INPUT'} or $parser->YYData->{'INPUT'} = readline $parser->YYData->{'fh'}
265 0 0 if s/^(\n)//
270 0 0 if s[^\*/][]
272 0 0 unless ($flag)
273 0 0 if s/^\*//
278 0 0 if s/^([ \r\t\f\013]+)//
280 0 0 if s/^(.)//
292 0 0 unless $parser->YYData->{'INPUT'} or $parser->YYData->{'INPUT'} = readline $parser->YYData->{'fh'}
299 0 0 if s/^\n//
303 0 0 if s[^/\*\*][]
307 0 0 if s[^/\*][]
310 0 0 if s[^//(.*)\n][]
314 0 0 if s/^([0-9]+\.[0-9]+[Ee][+\-]?[0-9]+)//
316 0 0 if s/^([0-9]+[Ee][+\-]?[0-9]+)//
318 0 0 if s/^(\.[0-9]+[Ee][+\-]?[0-9]+)//
320 0 0 if s/^([0-9]+\.[0-9]+)//
322 0 0 if s/^([0-9]+\.)//
324 0 0 if s/^(\.[0-9]+)//
327 0 0 if s/^0([0-7]+)//
329 0 0 if s/^0[Xx]([A-Fa-f0-9]+)//
331 0 0 if s/^(0)//
333 0 0 if s/^([1-9][0-9]*)//
336 0 0 if s/^\"//
339 0 0 if s/^\'//
342 0 0 if s/^([A-Z_a-z][0-9A-Z_a-z]*)//
345 0 0 if s/^(\+=)//
347 0 0 if s/^(\-=)//
349 0 0 if s/^(\*=)//
351 0 0 if s[^(/=)][]
353 0 0 if s/^(&=)//
355 0 0 if s/^(\|=)//
357 0 0 if s/^(\^=)//
359 0 0 if s/^(%=)//
361 0 0 if s/^(<<=)//
363 0 0 if s/^(>>=)//
365 0 0 if s/^(>>>=)//
367 0 0 if s/^(div=)//
369 0 0 if s/^(&&)//
371 0 0 if s/^(\|\|)//
373 0 0 if s/^(\+\+)//
375 0 0 if s/^(\-\-)//
377 0 0 if s/^(<<)//
379 0 0 if s/^(>>>)//
381 0 0 if s/^(>>)//
383 0 0 if s/^(<=)//
385 0 0 if s/^(>=)//
387 0 0 if s/^(==)//
389 0 0 if s/^(!=)//
392 0 0 if s[^([=><,!~\?:\.\+\-\*/&\|\^%\(\)\{\};#])][]
395 0 0 if s/^([\S]+)//