Branch Coverage

blib/lib/Pod/Elemental/Transformer/Splint.pm
Criterion Covered Total %
branch 38 66 57.5


line true false branch
119 0 6 if $self->$accessor eq '0'
121 0 6 if $@
124 0 6 unless ($class->does($wanted_role))
142 4 5 if $line_start ne sprintf('%s ', $self->command_name)
146 2 3 if ($action eq 'classname' and defined $param)
148 0 2 if $@
155 0 3 unless $self->has_classmeta
157 1 0 if ($action eq 'attributes' and scalar $self->classmeta->get_attribute_list)
161 1 0 if $_->does('Documented')
163 0 0 unless $a->documentation_order <=> $b->documentation_order
1 0 if $_->does('Documented')
164 0 0 if not defined $_->init_arg
187 0 1 if $attr->does('Documented') and $attr->has_documentation_order and $attr->documentation_order == 0
199 2 1 if ($action eq 'method')
200 0 2 unless ($self->classmeta->has_method($param))
215 0 3 if ($action eq 'methods')
236 1 0 $attr->type_constraint ? :
1 0 defined $attr->init_arg ? :
1 0 $attr->does('Documented') ? :
247 1 0 if ($attr->does('Documented') and $attr->has_documentation_alts)
255 1 0 $attr->does('Documented') && $attr->has_documentation ? :
274 0 2 unless ref $try_signature
282 1 1 if ($method->signature->has_slurpy)
291 0 0 unless $a->optional <=> $b->optional
305 0 1 unless $return_type->$Pod::Elemental::Transformer::Splint::_can('type')
333 8 0 if (exists $thing->traits->{'doc'} and ref $thing->traits->{'doc'} eq 'ARRAY')
336 1 7 if (index($docs->[-1], 'method_doc|') == 0)
354 3 4 defined $param->default ? :
3 4 defined $param->default ? :
7 0 if $_ and $_ ne 'doc'
0 7 $param->coerce ? :
367 4 4 $value ? :
373 0 1 $attr->has_write_method ? :