| blib/lib/HTML/FormHandler/Blocks.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 24 | 45.8 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 0 | 0 | unless $name |
| 48 | 0 | 0 | if ref $obj |
| 50 | 0 | 0 | if ref $obj |
| 76 | 0 | 22 | unless $name |
| 79 | 0 | 22 | if ($name =~ /^\+(.*)/) |
| 85 | 5 | 17 | if ($type) { } |
| 92 | 22 | 0 | if $self->form |
| 95 | 0 | 22 | if (defined $block and $do_update) { } |
| 98 | 0 | 0 | if $block->can($key) |
| 117 | 988 | 0 | if ($meta->can('calculate_all_roles')) |
| 119 | 1 | 2766 | if ($role->can('block_list') and $role->has_block_list) |
| 126 | 7 | 981 | if ($meta->can('block_list') and $meta->has_block_list) |