line |
true |
false |
branch |
46
|
1 |
17 |
if ref($_[0]) =~ /::Template/ |
91
|
1 |
17 |
if $template |
109
|
0 |
1 |
if $$self{'_world'} |
119
|
0 |
1 |
if $$self{"_event_$event"} |
133
|
0 |
3 |
if $func eq 'DESTROY' |
144
|
1 |
1 |
if (@_ > 0) |
168
|
1 |
14 |
if $k =~ /^_/ |
170
|
1 |
13 |
unless defined $v |
171
|
2 |
11 |
if (ref $v eq 'HASH') { } |
|
2 |
9 |
elsif (ref $v eq 'ARRAY') { } |
173
|
2 |
0 |
if scalar keys %$v == 0 |
178
|
0 |
0 |
if ref $v |
185
|
0 |
2 |
if scalar @$v == 0 |
189
|
0 |
2 |
if ref $v |
197
|
1 |
8 |
if $v =~ /[^a-z0-9_\.,='"+-]/ |
198
|
0 |
9 |
if $v eq '' |
212
|
0 |
0 |
$value ? : |
215
|
0 |
0 |
if defined *{$class . "::is_$name";} |
222
|
0 |
0 |
if (@_ > 0) |
225
|
0 |
0 |
$_[0] ? : |
268
|
0 |
0 |
if (ref $thing) { } |
271
|
0 |
0 |
if (exists $$c{$$thing{'id'}}) |
280
|
0 |
0 |
if defined $$self{'parent'} |
288
|
0 |
6 |
if (defined $_[0]) |
323
|
15 |
19 |
if (defined $_[0] and $$self{'active'} == 1) |
330
|
2 |
13 |
if ($_[0] == -1) { } |
332
|
2 |
0 |
if ($$self{'state'} <= 1) { } |
347
|
12 |
3 |
if ($$self{'state'} != $newstate) |
354
|
0 |
12 |
if $$self{'_world'} |
374
|
2 |
9 |
if ref $id |
379
|
0 |
11 |
if ($sig == 1000) |
385
|
0 |
11 |
if ($sig == 2) |
390
|
0 |
11 |
if ($sig == -2) |
396
|
9 |
2 |
if $sig <= 200 |
450
|
2 |
0 |
if ref $$self{'outputs'}{$out} |
455
|
1 |
0 |
if ref $$self{'inputs'}{$in} |
468
|
16 |
16 |
if ref $source |
498
|
0 |
10 |
if $$self{'state_endtime'} == 0 |
502
|
0 |
10 |
unless (exists $$self{$s}) |
508
|
10 |
0 |
if ($tick >= $$self{'state_endtime'}) |
562
|
0 |
0 |
unless (exists $$self{$flag}) |
574
|
0 |
0 |
unless (exists $$self{$flag}) |
586
|
0 |
7 |
unless (exists $$self{$field}) |