line |
true |
false |
branch |
18
|
0 |
294 |
if ref $class |
60
|
279 |
809 |
if (ref $_[3]) |
61
|
279 |
0 |
if ($_[3][0] == 1) { } |
|
0 |
0 |
elsif ($_[3][0] == 0) { } |
|
0 |
0 |
elsif ($_[3][0] == 2) { } |
72
|
393 |
695 |
if (@{$_[2];}) |
90
|
10 |
1078 |
if (ref $_[4]) |
96
|
5 |
7 |
if ($type eq 'is-subclass-of' or $type eq 'subclasses') { } |
|
0 |
7 |
elsif ($type eq 'is-a') { } |
|
1 |
6 |
elsif ($type eq 'has-a') { } |
|
5 |
1 |
elsif ($templates->tids($type) and my(@ts) = $templates->match('TM'->FORALL, 'type', $templates->tids($type))) { } |
122
|
0 |
5 |
if @ts > 1 |
131
|
1 |
8 |
$l && $l eq 'http://psi.tm.bond.edu.au/astma/1.0/#psi-right' ? : |
|
1 |
9 |
$l && $l eq 'http://psi.tm.bond.edu.au/astma/1.0/#psi-left' ? : |
144
|
1 |
7 |
$l && $l eq 'http://psi.tm.bond.edu.au/astma/1.0/#psi-right' ? : |
|
2 |
8 |
$l && $l eq 'http://psi.tm.bond.edu.au/astma/1.0/#psi-left' ? : |
160
|
1 |
1086 |
if $tracing |
185
|
4 |
574 |
$$_[0] == 'TM'->NAME ? : |
188
|
0 |
1082 |
if $tracing > 1 |
208
|
1957 |
698 |
ref $_[2] eq 'ARRAY' ? : |
222
|
1351 |
606 |
if ($_[1] == 'TM'->NAME) { } |
|
579 |
27 |
elsif ($_[5] =~ /^\w+:\S+$/) { } |
285
|
4 |
17 |
if (ref $_[5]) |
286
|
1 |
3 |
if ($_[5][0] == 1) { } |
|
3 |
0 |
elsif ($_[5][0] == 0) { } |
290
|
1 |
0 |
unless $_[5][1] =~ /^\w+:.+/ |
296
|
1 |
2 |
unless $_[5][1] =~ /^[A-Za-z][A-Za-z0-9_\.-]+$/ |
308
|
1 |
18 |
if $_[4] |
310
|
1 |
18 |
if $tracing |
332
|
3 |
2655 |
unless $_[1] |
347
|
293 |
16865 |
if (length $$yydata{'INPUT'} < 1024 and $$yydata{'OFFSET'} < $$yydata{'TOTAL'}) |
355
|
275 |
16883 |
unless $$refINPUT |
360
|
4187 |
12696 |
if $$refINPUT =~ s/^\n//os |
361
|
27 |
12669 |
if $$refINPUT =~ s/^in\b(?![\.-])//o |
362
|
1 |
12668 |
if $$refINPUT =~ s/^rd\b(?![\.-])//o |
363
|
579 |
12089 |
if $$refINPUT =~ s/^oc\b(?![\.-])//o |
364
|
1 |
12088 |
if $$refINPUT =~ s/^ex\b(?![\.-])//o |
365
|
1352 |
10736 |
if $$refINPUT =~ s/^bn\b(?![\.-])//o |
367
|
700 |
10036 |
if $$refINPUT =~ s/^sin\b(?![\.-])//o |
368
|
10 |
10026 |
if $$refINPUT =~ s/^is-a\b(?![\.-])//o |
369
|
280 |
9746 |
if $$refINPUT =~ s/^reifies\b(?![\.-])//o |
370
|
0 |
9746 |
if $$refINPUT =~ s/^=//o |
371
|
3 |
9743 |
if $$refINPUT =~ s/^is-reified-by\b(?![\.-])//o |
372
|
0 |
9743 |
if $$refINPUT =~ s/^~//o |
374
|
6602 |
3141 |
if (my $t = $$parser{'USER'}{'string'}) |
376
|
1 |
6601 |
if $$refINPUT =~ s/^:\s*<<<\n/:/o |
379
|
1 |
6601 |
if $$refINPUT =~ s/^:\s*<<(\w+)\n/:/o |
383
|
2658 |
3944 |
if $$refINPUT =~ s/^:\s*(.*?)\s*$t/\n/s |
389
|
33 |
7052 |
if $$refINPUT =~ s/^://o |
394
|
3644 |
297 |
if $$refINPUT =~ s/^([A-Za-z][.A-Za-z0-9_-]*)//o and $aux = $1 and not $$refINPUT =~ m[^:[\w/]] |
398
|
994 |
2414 |
if $$refINPUT =~ s/^\(//os |
399
|
992 |
1422 |
if $$refINPUT =~ s/^\)//os |
400
|
1106 |
316 |
if $$refINPUT =~ s/^@//os |
402
|
297 |
19 |
if $$refINPUT =~ s/^(:[^\s\)\(\]\[]+)//o |
404
|
2 |
17 |
if $$refINPUT =~ s/^(\d{4}-\d{1,2}-\d{1,2})(\s+(\d{1,2}):(\d{2}))?//o |
407
|
1 |
16 |
if $$refINPUT =~ s/^%log\s+(.*?)(?=\n)//os |
408
|
2 |
14 |
if $$refINPUT =~ s/^%cancel\s*(?=\n)//os |
409
|
2 |
12 |
if $$refINPUT =~ s/^%trace\s+(.*?)(?=\n)//os |
410
|
2 |
10 |
if $$refINPUT =~ s/^%encoding\s+(.*?)(?=\n)//os |
412
|
2 |
8 |
if $$refINPUT =~ s/^\*//o |
414
|
4 |
4 |
if $$refINPUT =~ s/^\[//os |
415
|
4 |
0 |
if $$refINPUT =~ s/^\]//os |
417
|
0 |
0 |
if $$refINPUT =~ s/^(.)//os |
453
|
2 |
291 |
if ($@ =~ /^Cancelled/) { } |
|
16 |
275 |
elsif ($@) { } |