Branch Coverage

blib/lib/Pod/Elemental/Transformer/Splint.pm
Criterion Covered Total %
branch 20 62 32.2


line true false branch
148 0 8 unless ($classname->does($role))
165 2 2 if $line_start ne sprintf('%s ', $self->command_name)
169 1 1 if ($action eq 'classname' and defined $param)
171 0 1 if $@
178 0 1 unless $self->has_classmeta
180 1 0 if ($action eq 'attributes' and scalar $self->classmeta->get_attribute_list)
184 1 0 if $_->does('Documented')
186 0 0 unless $a->documentation_order <=> $b->documentation_order
1 0 if $_->does('Documented')
187 0 0 if not defined $_->init_arg
210 0 1 if $attr->does('Documented') and $attr->has_documentation_order and $attr->documentation_order == 0
222 0 1 if ($action eq 'method')
223 0 0 unless ($self->classmeta->has_method($param))
238 0 1 if ($action eq 'methods')
259 1 0 $attr->type_constraint ? :
1 0 defined $attr->init_arg ? :
1 0 $attr->does('Documented') ? :
270 1 0 if ($attr->does('Documented') and $attr->has_documentation_alts)
278 1 0 $attr->does('Documented') && $attr->has_documentation ? :
297 0 0 unless ref $try_signature
305 0 0 if ($method->signature->has_slurpy)
314 0 0 unless $a->optional <=> $b->optional
328 0 0 unless $return_type->$Pod::Elemental::Transformer::Splint::_can('type')
356 0 0 if (exists $thing->traits->{'doc'} and ref $thing->traits->{'doc'} eq 'ARRAY')
359 0 0 if (index($docs->[-1], 'method_doc|') == 0)
377 0 0 defined $param->default ? :
0 0 defined $param->default ? :
0 0 if $_ and $_ ne 'doc'
0 0 $param->coerce ? :
390 0 1 $value ? :
396 0 1 $attr->has_write_method ? :