line |
true |
false |
branch |
18
|
0 |
8 |
if $type1 eq '' or $field1 eq '' |
22
|
2 |
6 |
if $type2 eq '' or $field2 eq '' |
26
|
2 |
4 |
if $type3 eq '' or $field3 eq '' |
30
|
2 |
2 |
if $type4 eq '' or $field4 eq '' |
42
|
0 |
3 |
unless $id =~ /^urn:ogf:network:(.*)$/ |
44
|
3 |
0 |
if $type eq '' |
48
|
0 |
0 |
if ($type eq 'domain') { } |
|
0 |
0 |
elsif ($type eq 'path' or $type eq 'network') { } |
|
0 |
0 |
elsif ($type eq 'node') { } |
|
0 |
0 |
elsif ($type eq 'port') { } |
|
0 |
0 |
elsif ($type eq 'link') { } |
51
|
0 |
0 |
if $new_type ne 'domain' or not defined $value |
55
|
0 |
0 |
if ($#fields == 3) { } |
|
0 |
0 |
elsif ($#fields == 4) { } |
58
|
0 |
0 |
if $new_type ne $type or not defined $value |
64
|
0 |
0 |
if $new_type ne 'domain' or not defined $value |
68
|
0 |
0 |
if $new_type ne $type or not defined $value |
75
|
0 |
0 |
if $#fields != 4 |
79
|
0 |
0 |
if $type ne 'domain' or not defined $value |
83
|
0 |
0 |
if $type ne 'node' or not defined $value |
87
|
0 |
0 |
if $#fields != 5 |
91
|
0 |
0 |
if $type ne 'domain' or not defined $value |
95
|
0 |
0 |
if $type ne 'node' or not defined $value |
99
|
0 |
0 |
if $type ne 'port' or not defined $value |
103
|
0 |
0 |
if ($#fields == 4) { } |
|
0 |
0 |
elsif ($#fields == 6) { } |
106
|
0 |
0 |
if $type ne 'domain' or not defined $value |
110
|
0 |
0 |
if $type ne 'link' or not defined $value |
116
|
0 |
0 |
if $type ne 'domain' or not defined $value |
120
|
0 |
0 |
if $type ne 'node' or not defined $value |
124
|
0 |
0 |
if $type ne 'port' or not defined $value |
128
|
0 |
0 |
if $type ne 'link' or not defined $value |
144
|
0 |
1 |
if ($id =~ /^urn:ogf:network:$/) { } |
158
|
1 |
0 |
if ($id =~ /(^urn:ogf:network.*):[^:]+$/) { } |
159
|
0 |
1 |
if ($1 eq 'urn:ogf:network') { } |
168
|
1 |
0 |
if (defined $ret_type and $ret_type ne '') |
169
|
1 |
0 |
if ($ret_id ne '') { } |
188
|
0 |
2 |
unless ($id =~ /^urn:ogf:network/) |
189
|
0 |
0 |
if defined $ret_type and $ret_type ne '' |
193
|
0 |
2 |
if ($id =~ /^urn:ogf:network$/) |
194
|
0 |
0 |
if defined $ret_type and $ret_type ne '' |
198
|
2 |
0 |
if ($id =~ /^urn:ogf:network.*:([^:]+)$/) |
204
|
2 |
0 |
if (defined $ret_type and $ret_type ne '') |
239
|
0 |
0 |
if ($results_id1[0] == -1) |
245
|
0 |
0 |
if ($results_id2[0] == -1) |
251
|
0 |
0 |
unless (defined $results_id2[$i]) |
255
|
0 |
0 |
if ($results_id1[$i] ne $results_id2[$i] or $results_id1[$i + 1] ne $results_id2[$i + 1]) |
259
|
0 |
0 |
if $results_id1[$i] eq $compare_to |
279
|
0 |
0 |
if ($finished) |
283
|
0 |
0 |
if ($idExpFields[$i] =~ /([^=]*)=(.*)/) { } |
|
0 |
0 |
elsif ($idExpFields[$i] eq '*') { } |
299
|
0 |
0 |
if $i > $#fields |
301
|
0 |
0 |
if ($idFields[$i] =~ /([^=]*)=(.*)/) |
304
|
0 |
0 |
if ($fields[$i][0] eq '*') |
311
|
0 |
0 |
if ($fields[$i][0] ne $1) |
318
|
0 |
0 |
if ($fields[$i][1] ne '*' and $fields[$i][1] ne $2) |
324
|
0 |
0 |
if ($i == $#idFields and $i == $#fields) |
337
|
0 |
3 |
if (idIsFQ($id, '') == 0) |
344
|
0 |
3 |
if ($#fields > 6 or $#fields < 3) |
354
|
3 |
0 |
if defined $fields[3] |
355
|
3 |
0 |
if defined $fields[4] |
356
|
3 |
0 |
if defined $fields[5] |
357
|
3 |
0 |
if defined $fields[6] |
361
|
3 |
0 |
if (defined $type4) { } |
|
0 |
0 |
elsif (defined $type3) { } |
|
0 |
0 |
elsif (defined $type2) { } |
|
0 |
0 |
elsif (defined $type1) { } |
362
|
3 |
0 |
if ($type4 eq 'link') { } |
369
|
0 |
0 |
if ($type3 eq 'port') { } |
376
|
0 |
0 |
if ($type2 eq 'node' or $type2 eq 'link' or $type2 eq 'path' or $type2 eq 'network') { } |
383
|
0 |
0 |
if ($type1 eq 'domain' or $type1 eq 'path' or $type1 eq 'network') { } |
393
|
1 |
2 |
if ($fq) { } |
394
|
1 |
0 |
if defined $fields[3] |
395
|
1 |
0 |
if defined $fields[4] |
396
|
1 |
0 |
if defined $fields[5] |
397
|
1 |
0 |
if defined $fields[6] |
399
|
2 |
0 |
if defined $field1 |
400
|
2 |
0 |
if defined $field2 |
401
|
2 |
0 |
if defined $field3 |
402
|
2 |
0 |
if defined $field4 |
408
|
2 |
1 |
if ($top_down) { } |
409
|
2 |
0 |
if defined $type1 |
410
|
2 |
0 |
if defined $field1 |
411
|
2 |
0 |
if defined $type2 |
412
|
2 |
0 |
if defined $field2 |
413
|
2 |
0 |
if defined $type3 |
414
|
2 |
0 |
if defined $field3 |
415
|
2 |
0 |
if defined $type4 |
416
|
2 |
0 |
if defined $field4 |
418
|
1 |
0 |
if defined $type4 |
419
|
1 |
0 |
if defined $field4 |
420
|
1 |
0 |
if defined $type3 |
421
|
1 |
0 |
if defined $field3 |
422
|
1 |
0 |
if defined $type2 |
423
|
1 |
0 |
if defined $field2 |
424
|
1 |
0 |
if defined $type1 |
425
|
1 |
0 |
if defined $field1 |