| blib/lib/HTML/Widgets/NavMenu/Predicate.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 24 | 24 | 100.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 48 | 53 | 9 | if (ref $spec eq "HASH") | 
| 52 | 1 | 8 | if (ref $spec eq "CODE") | 
| 56 | 1 | 7 | if ($self->_is_true_bool($spec)) | 
| 60 | 4 | 3 | if ($self->_is_false_bool($spec)) | 
| 66 | 2 | 1 | if (ref $spec eq "") | 
| 87 | 15 | 46 | if (exists $spec->{'cb'}) { } | 
| 29 | 17 | elsif (exists $spec->{'re'}) { } | |
| 16 | 1 | elsif (exists $spec->{'bool'}) { } | |
| 107 | 56 | 4 | !exists $spec->{'capt'} ? : | 
| 119 | 28 | 73 | if ($type eq 'callback') { } | 
| 27 | 46 | elsif ($type eq 'bool') { } | |
| 140 | 50 | 51 | if (not $bool) { } |