Branch Coverage

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 20 unless $name
79 0 20 if ($name =~ /^\+(.*)/)
85 4 16 if ($type) { }
92 20 0 if $self->form
95 0 20 if (defined $block and $do_update) { }
98 0 0 if $block->can($key)
117 980 0 if ($meta->can('calculate_all_roles'))
119 1 2743 if ($role->can('block_list') and $role->has_block_list)
126 6 974 if ($meta->can('block_list') and $meta->has_block_list)