| line |
true |
false |
branch |
|
17
|
2 |
0 |
unless keys %$opts |
|
71
|
0 |
2 |
if grep {$_ == $item;} $self->items |
|
82
|
0 |
0 |
if (ref $item) { } |
|
84
|
0 |
0 |
unless defined $index |
|
99
|
0 |
2 |
if exists $self->{'items'}{$item} |
|
125
|
0 |
0 |
if (not defined $curindex) { } |
|
|
0 |
0 |
elsif ($curindex != $index) { } |
|
141
|
0 |
0 |
unless $curitem or $path =~ m[^/] |
|
143
|
0 |
0 |
if $path =~ s[^/][] |
|
146
|
0 |
0 |
unless length $_ |
|
149
|
0 |
0 |
if ($curitem->can('get_item')) { } |
|
|
0 |
0 |
elsif ($curitem->can('enumerate_items')) { } |
|
159
|
0 |
0 |
unless defined $nextitem |
|
171
|
0 |
0 |
if $p eq '' |
|
172
|
0 |
0 |
if $p eq '/' |
|
215
|
0 |
0 |
if ($opts->{'all'}) { } |
|
222
|
0 |
0 |
if (defined $itempath) |
|
223
|
0 |
0 |
if ($itempath =~ m[^/]) { } |
|
232
|
0 |
0 |
defined $itempath ? : |
|
239
|
0 |
0 |
if length $name |
|
241
|
0 |
0 |
if (my $subitems = $item->can('enumerate_items') && $item->enumerate_items) |
|
260
|
0 |
0 |
if ($opts->{'all'}) { } |
|
|
0 |
0 |
elsif (defined $itempath) { } |
|
265
|
0 |
0 |
unless $visible{$item} |
|
267
|
0 |
0 |
if (my $subitems = $item->can('enumerate_items') && $item->enumerate_items) |
|
293
|
0 |
0 |
if ($item->isa('Circle::RootObj')) |
|
326
|
0 |
0 |
unless defined $index |
|
328
|
0 |
0 |
if $position eq 'right' |
|
329
|
0 |
0 |
if $position eq 'left' |
|
330
|
0 |
0 |
if $position eq 'first' |
|
331
|
0 |
0 |
if $position eq 'last' |
|
334
|
0 |
0 |
if ($position =~ /^[+-]/) { } |
|
|
0 |
0 |
elsif ($position =~ /^\d+$/) { } |
|
347
|
0 |
0 |
if $index + $delta < 0 |
|
348
|
0 |
0 |
if $index + $delta > $#$tabs |
|
372
|
0 |
0 |
unless defined $index |
|
374
|
0 |
0 |
if $position eq 'right' |
|
375
|
0 |
0 |
if $position eq 'left' |
|
376
|
0 |
0 |
if $position eq 'first' |
|
377
|
0 |
0 |
if $position eq 'last' |
|
379
|
0 |
0 |
if ($position =~ /^[+-]/) { } |
|
|
0 |
0 |
elsif ($position =~ /^\d+$/) { } |