Branch Coverage

blib/lib/Swim/Markup.pm
Criterion Covered Total %
branch 8 30 26.6


line true false branch
16 0 1 if ($self->option->{'complete'})
17 0 0 if ($self->can('render_complete'))
27 1 3 if (not ref $node) { }
1 2 elsif (ref $node eq 'HASH') { }
43 0 1 $name =~ s/(\d)$// ? :
53 0 0 if ($node =~ /^([\-\w]+)(?:[\ \:]|\z)((?s:.*)?)$/)
56 0 0 if defined $out
64 0 0 unless defined $args
66 0 0 if defined $out
67 0 0 if ($args) { }
81 0 0 if ($self->can($method))
83 0 0 if defined $out
85 0 0 if $plugin eq 'Swim::Plugin'
113 1 1 $self->at_top_level ? :
123 0 0 $phrase_types->{$type} ? :