| blib/lib/Text/GooglewikiFormat/Blocks.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 24 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 15 | 15 | 53 | unless ($ctor = $class->can('new')) |
| 42 | 68 | 68 | if (reftype $value || '') eq 'ARRAY' |
| 50 | 26 | 0 | wantarray ? : |
| 56 | 28 | 0 | wantarray ? : |
| 62 | 55 | 0 | wantarray ? : |
| 74 | 0 | 54 | blessed $_ ? : |
| 104 | 48 | 30 | unless $self->type eq $next_block->type |
| 105 | 2 | 28 | unless $self->level == $next_block->level |
| 122 | 0 | 25 | unless $next_block = $self->merge($next_block) |
| 123 | 23 | 2 | unless $self->nests and $next_block->nests |
| 124 | 2 | 0 | unless $self->level < $next_block->level |
| 128 | 0 | 0 | if blessed $last_item |