Branch Coverage

blib/lib/Pod/Elemental/Transformer/Splint.pm
Criterion Covered Total %
branch 36 62 58.0


line true false branch
146 0 12 unless ($classname->does($role))
163 4 5 if $line_start ne sprintf('%s ', $self->command_name)
167 2 3 if ($action eq 'classname' and defined $param)
169 0 2 if $@
176 0 3 unless $self->has_classmeta
178 1 0 if ($action eq 'attributes' and scalar $self->classmeta->get_attribute_list)
182 1 0 if $_->does('Documented')
184 0 0 unless $a->documentation_order <=> $b->documentation_order
1 0 if $_->does('Documented')
185 0 0 if not defined $_->init_arg
208 0 1 if $attr->does('Documented') and $attr->has_documentation_order and $attr->documentation_order == 0
220 2 1 if ($action eq 'method')
221 0 2 unless ($self->classmeta->has_method($param))
236 0 3 if ($action eq 'methods')
257 1 0 $attr->type_constraint ? :
1 0 defined $attr->init_arg ? :
1 0 $attr->does('Documented') ? :
268 1 0 if ($attr->does('Documented') and $attr->has_documentation_alts)
276 1 0 $attr->does('Documented') && $attr->has_documentation ? :
295 0 2 unless ref $try_signature
303 1 1 if ($method->signature->has_slurpy)
312 0 0 unless $a->optional <=> $b->optional
326 0 1 unless $return_type->$Pod::Elemental::Transformer::Splint::_can('type')
354 8 0 if (exists $thing->traits->{'doc'} and ref $thing->traits->{'doc'} eq 'ARRAY')
357 1 7 if (index($docs->[-1], 'method_doc|') == 0)
375 3 4 defined $param->default ? :
3 4 defined $param->default ? :
7 0 if $_ and $_ ne 'doc'
0 7 $param->coerce ? :
388 4 4 $value ? :
394 0 1 $attr->has_write_method ? :