Branch Coverage

blib/lib/Text/MediawikiFormat/Blocks.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
17 49 266 unless $class->can('new')
41 321 309 if (reftype $value || '') eq 'ARRAY'
49 32 0 wantarray ? :
55 83 0 wantarray ? :
61 262 0 wantarray ? :
73 18 216 blessed $_ ? :
104 162 112 unless $self->type eq $next_block->type
105 29 83 unless $self->level == $next_block->level
128 83 191 unless $next_block = $self->merge($next_block)
129 151 40 unless $self->nests($next_block)
133 23 17 if blessed $last_item