line |
true |
false |
branch |
18
|
0 |
0 |
if ($value =~ /^[-+]?1[01]*[bB]$/) { } |
|
0 |
0 |
elsif ($value =~ /^[-+]?0[0-7]*$/) { } |
|
0 |
0 |
elsif ($value =~ /^[-+]?[1-9][0-9]*$/) { } |
|
0 |
0 |
elsif ($value =~ /^[-+]?0[Xx][0-9a-fA-F]*$/) { } |
|
0 |
0 |
elsif ($value =~ /^[-+]?$/) { } |
45
|
0 |
0 |
if ($value =~ /^[-+]?[1-9][0-9]*$/) { } |
50
|
0 |
0 |
if ($value =~ /^([-+]?)(1[01]*)[bB]$/) { } |
|
0 |
0 |
elsif ($value =~ /^([-+]?)(0[0-7]*)$/) { } |
|
0 |
0 |
elsif ($value =~ /^([-+]?)(0[Xx][0-9a-fA-F]*)$/) { } |
61
|
0 |
0 |
if $1 eq '-' |
72
|
0 |
0 |
unless (defined $$scope{$key}{'qualifiers'}{lc $$qualifier{'name'}}) |
74
|
0 |
0 |
if (defined $$qualifier{'array'}) |
78
|
0 |
0 |
if (defined $$qualifier{'value'}) |
79
|
0 |
0 |
if (ref $$qualifier{'value'} eq '') { } |
97
|
0 |
0 |
if (defined $$target{'qualifiers'}{'association'} and $$target{'qualifiers'}{'association'}{'value'} eq 'true') { } |
|
0 |
0 |
elsif (defined $$target{'qualifiers'}{'indication'} and $$target{'qualifiers'}{'indication'}{'value'} eq 'true') { } |
107
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{$targetscope} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
108
|
0 |
0 |
unless (defined $$target{'qualifiers'}{$qualifier}) |
110
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'array'}) |
114
|
0 |
0 |
unless (defined $$target{'qualifiers'}{$qualifier}{'value'}) |
115
|
0 |
0 |
if (defined $$super{'qualifiers'}{$qualifier}{'value'}) { } |
|
0 |
0 |
elsif (defined $$qualifiers{$qualifier}{'value'}) { } |
116
|
0 |
0 |
if (ref $$super{'qualifiers'}{$qualifier}{'value'} eq '') { } |
124
|
0 |
0 |
if (ref $$qualifiers{$qualifier}{'value'} eq '') { } |
136
|
0 |
0 |
if defined $$super{'properties'} |
137
|
0 |
0 |
if defined $$super{'methods'} |
138
|
0 |
0 |
if defined $$super{'references'} |
141
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'flavor'}{'restricted'}) |
142
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{'property'} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
145
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{'reference'} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
148
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{'method'} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
151
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{'parameter'} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
170
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'scope'}{$scope} or defined $$qualifiers{$qualifier}{'scope'}{'all'}) |
171
|
0 |
0 |
unless (defined $$target{$qualifier}) |
173
|
0 |
0 |
if defined $$qualifiers{$qualifier}{'array'} |
174
|
0 |
0 |
if (defined $$qualifiers{$qualifier}{'value'}) |
175
|
0 |
0 |
if (ref $$qualifiers{$qualifier}{'value'} eq '') { } |
179
|
0 |
0 |
if defined $$qualifiers{$qualifier}{'value'} |
191
|
0 |
0 |
if $type eq 'uint8' |
192
|
0 |
0 |
if $type eq 'uint16' |
193
|
0 |
0 |
if $type eq 'uint32' |
194
|
0 |
0 |
if $type eq 'uint64' |
195
|
0 |
0 |
if $type eq 'sint8' |
196
|
0 |
0 |
if $type eq 'sint16' |
197
|
0 |
0 |
if $type eq 'sint32' |
198
|
0 |
0 |
if $type eq 'sint64' |
199
|
0 |
0 |
if $type eq 'real32' |
200
|
0 |
0 |
if $type eq 'real64' |
201
|
0 |
0 |
if $type eq 'string' |
202
|
0 |
0 |
if $type eq 'char16' |
203
|
0 |
0 |
if $type eq 'boolean' |
204
|
0 |
0 |
if $type eq 'datetime' |
241
|
0 |
0 |
if defined $$old{'DATA'} |
242
|
0 |
0 |
if (defined $old) |
243
|
0 |
0 |
if ref $$old{'classes'} eq 'HASH' |
244
|
0 |
0 |
if ref $$old{'associations'} eq 'HASH' |
245
|
0 |
0 |
if ref $$old{'indications'} eq 'HASH' |
246
|
0 |
0 |
if ref $$old{'qualifiers'} eq 'HASH' |
247
|
0 |
0 |
if ref $$old{'instances'} eq 'HASH' |
255
|
0 |
0 |
unless defined $line |
260
|
0 |
0 |
if ($state eq 'OPEN') { } |
|
0 |
0 |
elsif ($state eq 'ONE_SLASH') { } |
|
0 |
0 |
elsif ($state eq 'LINE_COMMENT') { } |
|
0 |
0 |
elsif ($state eq 'BLOCK_COMMENT') { } |
|
0 |
0 |
elsif ($state eq 'BLOCK_COMMENT_END') { } |
|
0 |
0 |
elsif ($state eq 'PARSE_STRING') { } |
|
0 |
0 |
elsif ($state eq 'IDENTIFIER') { } |
|
0 |
0 |
elsif ($state eq 'SKIP_WHITESPACE') { } |
|
0 |
0 |
elsif ($state eq 'DATETIME') { } |
|
0 |
0 |
elsif ($state eq 'DATETIME_PARSE') { } |
|
0 |
0 |
elsif ($state eq 'BOOLEAN') { } |
|
0 |
0 |
elsif ($state eq 'NULL') { } |
|
0 |
0 |
elsif ($state eq 'CHECK_NULL') { } |
|
0 |
0 |
elsif ($state eq 'INTEGER') { } |
|
0 |
0 |
elsif ($state eq 'SEMICOLON_TERMINATER') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_LIST') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_ARRAY_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_LIST_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_LIST_AFTER_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_QUALIFIER_LIST_END') { } |
|
0 |
0 |
elsif ($state eq 'INSTANCE_OR_CLASS') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_START') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_NAME') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_SUPERCLASS') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_SUPERCLASS_NAME') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_FEATURE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_FEATURE_LIST') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_FEATURE_QUALIFIER_LIST_END') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_FEATURE_TYPE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_REFERENCE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_REFERENCE_NAME') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_FEATURE_NAME') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PARAMETER_LIST') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PARAMETER_QUALIFIER_LIST_END') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PARAMETER_TYPE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PARAMETER_NAME') { } |
|
0 |
0 |
elsif ($state eq 'PARAMETER_REFERENCE') { } |
|
0 |
0 |
elsif ($state eq 'PARAMETER_REFERENCE_NAME') { } |
|
0 |
0 |
elsif ($state eq 'PARAMETER_NAME_ARRAY') { } |
|
0 |
0 |
elsif ($state eq 'PARAMETER_NAME_ARRAY_DONE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PROPERTY_NAME_ARRAY') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PROPERTY_DEFAULT') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PROPERTY_DEFAULT_VALUE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PROPERTY_DEFAULT_ARRAY_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'CLASS_PROPERTY_DEFAULT_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'PRAGMA_START') { } |
|
0 |
0 |
elsif ($state eq 'PRAGMA_NAME') { } |
|
0 |
0 |
elsif ($state eq 'PRAGMA_PARAMETER') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_START') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_NAME') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_TYPE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_ARRAY') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_ARRAY_VALUE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_DEFAULT_VALUE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_DEFAULT_VALUE_SPEC') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_DEFAULT_VALUE_DONE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_SCOPE') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_SCOPE_IDENTIFIER') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_SCOPE_LIST_START') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_SCOPE_LIST') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_FLAVOR') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_FLAVOR_IDENTIFIER') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_FLAVOR_LIST_START') { } |
|
0 |
0 |
elsif ($state eq 'QUALIFIER_FLAVOR_LIST') { } |
261
|
0 |
0 |
if ($char eq '#') { } |
|
0 |
0 |
elsif ($char eq '[') { } |
|
0 |
0 |
elsif (lc $char eq 'q') { } |
|
0 |
0 |
elsif (lc $char eq 'i') { } |
|
0 |
0 |
elsif (lc $char eq 'c') { } |
307
|
0 |
0 |
if ($char eq '/') { } |
|
0 |
0 |
elsif ($char eq '*') { } |
317
|
0 |
0 |
if ($char eq "\n" or $char eq "\r") |
324
|
0 |
0 |
if ($char eq '*') |
330
|
0 |
0 |
if ($char eq '/') { } |
343
|
0 |
0 |
unless (defined $string{'quotes'}) |
346
|
0 |
0 |
if (not $string{'quotes'}) { } |
347
|
0 |
0 |
if ($char eq '"') { } |
|
0 |
0 |
elsif ($char eq '/') { } |
|
0 |
0 |
elsif ($char =~ /\s/s) { } |
367
|
0 |
0 |
if ($string{'escape'}) { } |
|
0 |
0 |
elsif ($string{'hval'}) { } |
368
|
0 |
0 |
if ($char eq 'b') { } |
|
0 |
0 |
elsif ($char eq 't') { } |
|
0 |
0 |
elsif ($char eq 'n') { } |
|
0 |
0 |
elsif ($char eq 'f') { } |
|
0 |
0 |
elsif ($char eq 'r') { } |
|
0 |
0 |
elsif ($char eq '"') { } |
|
0 |
0 |
elsif ($char eq q[']) { } |
|
0 |
0 |
elsif ($char eq '\\') { } |
|
0 |
0 |
elsif (lc $char eq 'x') { } |
416
|
0 |
0 |
if ($char =~ /[A-Fa-f0-9]/) { } |
418
|
0 |
0 |
if (length $string{'hex'} == 4) |
431
|
0 |
0 |
if ($char eq '\\') { } |
|
0 |
0 |
elsif ($char eq '"') { } |
445
|
0 |
0 |
if (length $identifier == 0) { } |
446
|
0 |
0 |
if ($char =~ /\s/s) { } |
|
0 |
0 |
elsif ($char =~ /[A-Za-z_]/) { } |
455
|
0 |
0 |
if ($char =~ /[A-Za-z0-9_]/) { } |
|
0 |
0 |
elsif ($char =~ /\s/s) { } |
471
|
0 |
0 |
if ($char =~ /\s/s) { } |
|
0 |
0 |
elsif ($char eq '/') { } |
500
|
0 |
0 |
if (lc $value eq 'true') { } |
|
0 |
0 |
elsif (lc $value eq 'false') { } |
|
0 |
0 |
elsif (substr('true', 0, length $value) eq lc $value) { } |
|
0 |
0 |
elsif (substr('false', 0, length $value) eq lc $value) { } |
518
|
0 |
0 |
if (lc $value eq 'null') { } |
|
0 |
0 |
elsif (substr('null', 0, length $value) eq lc $value) { } |
529
|
0 |
0 |
if ($char eq 'n') { } |
544
|
0 |
0 |
if ($valid) |
547
|
0 |
0 |
if ($oldvalid > 1) |
556
|
0 |
0 |
if ($char eq ';') |
562
|
0 |
0 |
if (defined $declarationtypes{lc $identifier} or defined $qualifiers{lc $identifier}) { } |
564
|
0 |
0 |
if defined $qualifiers{lc $identifier}{'array'} |
565
|
0 |
0 |
if ($qualifierlist{lc $identifier}{'type'} eq 'boolean') { } |
|
0 |
0 |
elsif (defined $qualifierlist{lc $identifier}{'array'}) { } |
571
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq '(') { } |
|
0 |
0 |
elsif ($char eq '{') { } |
|
0 |
0 |
elsif ($char eq ']') { } |
583
|
0 |
0 |
if ($newstate eq '') { } |
600
|
0 |
0 |
if ($newstate eq '') { } |
623
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq '(') { } |
|
0 |
0 |
elsif ($char eq ':') { } |
649
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq '}') { } |
654
|
0 |
0 |
if ($newstate eq '') { } |
673
|
0 |
0 |
if ($char eq ')') |
682
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ']') { } |
|
0 |
0 |
elsif ($char eq ':') { } |
711
|
0 |
0 |
if (lc $token eq 'instance') { } |
|
0 |
0 |
elsif (lc $token eq 'class') { } |
|
0 |
0 |
elsif (substr('instance', 0, length $token) eq lc $token) { } |
|
0 |
0 |
elsif (substr('class', 0, length $token) eq lc $token) { } |
734
|
0 |
0 |
if (lc $token eq 'class') { } |
|
0 |
0 |
elsif (substr('class', 0, length $token) eq lc $token) { } |
747
|
0 |
0 |
if (not defined $classes{lc $identifier} || defined $associations{lc $identifier} || defined $indications{lc $identifier}) { } |
748
|
0 |
0 |
if ($identifier =~ /^[A-Za-z][A-Za-z0-9]*_[A-Za-z_][A-Za-z0-9_]*$/) { } |
763
|
0 |
0 |
if ($char eq ':') { } |
|
0 |
0 |
elsif ($char eq '{') { } |
772
|
0 |
0 |
if (defined $qualifierlist{'association'} and $qualifierlist{'association'}{'value'} eq 'true') { } |
|
0 |
0 |
elsif (defined $qualifierlist{'indication'} and $qualifierlist{'indication'}{'value'} eq 'true') { } |
785
|
0 |
0 |
if (defined $classes{lc $identifier}) { } |
|
0 |
0 |
elsif (defined $associations{lc $identifier}) { } |
|
0 |
0 |
elsif (defined $indications{lc $identifier}) { } |
811
|
0 |
0 |
if ($char eq '{') |
819
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq '}') { } |
828
|
0 |
0 |
if (defined $production{'qualifiers'}{'association'} and $production{'qualifiers'}{'association'}{'value'} eq 'true') { } |
|
0 |
0 |
elsif (defined $production{'qualifiers'}{'indication'} and $production{'qualifiers'}{'indication'}{'value'} eq 'true') { } |
856
|
0 |
0 |
if (defined $dataTypes{lc $identifier}) { } |
|
0 |
0 |
elsif (defined $classes{lc $identifier} or defined $associations{lc $identifier} or defined $indications{lc $identifier}) { } |
865
|
0 |
0 |
if (defined $production{'qualifiers'}{'association'} and $production{'qualifiers'}{'association'}{'value'} eq 'true') |
879
|
0 |
0 |
if (lc $token eq 'ref') { } |
|
0 |
0 |
elsif (substr('ref', 0, length $token) eq lc $token) { } |
904
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq '=') { } |
|
0 |
0 |
elsif ($char eq '(') { } |
|
0 |
0 |
elsif ($char eq ';') { } |
950
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq ')') { } |
979
|
0 |
0 |
if (defined $dataTypes{lc $identifier}) { } |
|
0 |
0 |
elsif (defined $classes{lc $identifier} or defined $associations{lc $identifier} or defined $indications{lc $identifier}) { } |
1000
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ')') { } |
1019
|
0 |
0 |
if (lc $token eq 'ref') { } |
|
0 |
0 |
elsif (substr('ref', 0, length $token) eq lc $token) { } |
1035
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ')') { } |
1053
|
0 |
0 |
if ($char =~ /[0-9]/) { } |
|
0 |
0 |
elsif ($char eq ']') { } |
1064
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ')') { } |
1076
|
0 |
0 |
if ($char =~ /[0-9]/) { } |
|
0 |
0 |
elsif ($char eq ']') { } |
1087
|
0 |
0 |
if ($char eq '=') { } |
|
0 |
0 |
elsif ($char eq ';') { } |
1099
|
0 |
0 |
if (defined $production{'properties'}{lc $identifier}{'array'}) { } |
1100
|
0 |
0 |
if ($char eq '{') |
1105
|
0 |
0 |
if ($newstate eq '') { } |
1125
|
0 |
0 |
if ($newstate eq '') { } |
1141
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq '}') { } |
1146
|
0 |
0 |
if ($newstate eq '') { } |
1177
|
0 |
0 |
if (lc $token eq '#pragma') { } |
|
0 |
0 |
elsif (substr('#pragma', 0, length $token) eq lc $token) { } |
1190
|
0 |
0 |
if ($char eq '(') |
1200
|
0 |
0 |
if ($char =~ /\s/s) { } |
|
0 |
0 |
elsif ($char eq ')') { } |
1208
|
0 |
0 |
if (lc $production{'name'} eq 'include') { } |
1210
|
0 |
0 |
if (open $handles[$#handles + 1], '<', $filenames[$#filenames]) |
1229
|
0 |
0 |
if (lc $token eq 'qualifier') { } |
|
0 |
0 |
elsif (substr('qualifier', 0, length $token) eq lc $token) { } |
1241
|
0 |
0 |
if ($char eq ':') |
1250
|
0 |
0 |
if (defined $dataTypes{lc $identifier}) |
1253
|
0 |
0 |
if ($char eq '[') { } |
|
0 |
0 |
elsif ($char eq '=') { } |
|
0 |
0 |
elsif ($char eq ',') { } |
1264
|
0 |
0 |
if ($production{'type'} eq 'boolean') { } |
|
0 |
0 |
elsif (defined $production{'array'}) { } |
1277
|
0 |
0 |
if ($char eq ']') { } |
|
0 |
0 |
elsif ($char =~ /[1-9]/) { } |
1290
|
0 |
0 |
if ($char =~ /[0-9]/) { } |
|
0 |
0 |
elsif ($char eq ']') { } |
1303
|
0 |
0 |
if ($char eq '=') { } |
|
0 |
0 |
elsif ($char eq ',') { } |
1309
|
0 |
0 |
if ($production{'type'} eq 'boolean') { } |
|
0 |
0 |
elsif (defined $production{'array'}) { } |
1323
|
0 |
0 |
if (defined $production{'array'}) { } |
1329
|
0 |
0 |
if ($char eq 'n') { } |
1335
|
0 |
0 |
if ($newstate eq '') { } |
1357
|
0 |
0 |
if ($char eq ',') |
1366
|
0 |
0 |
if (lc $token eq 'scope') { } |
|
0 |
0 |
elsif (substr('scope', 0, length $token) eq lc $token) { } |
1377
|
0 |
0 |
if ($char eq '(') |
1385
|
0 |
0 |
if (defined $scopetypes{lc $identifier}) |
1387
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ')') { } |
1402
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ';') { } |
1416
|
0 |
0 |
if (lc $token eq 'flavor') { } |
|
0 |
0 |
elsif (substr('flavor', 0, length $token) eq lc $token) { } |
1427
|
0 |
0 |
if ($char eq '(') |
1435
|
0 |
0 |
if (defined $flavortypes{lc $identifier}) |
1437
|
0 |
0 |
if ($char eq ',') { } |
|
0 |
0 |
elsif ($char eq ')') { } |