Branch Coverage

lib/Pod/Elemental/Transformer/Splint/MethodRenderer/HtmlDefault.pm
Criterion Covered Total %
branch 44 62 70.9


line true false branch
35 2 0 if (scalar @$positional_params)
42 0 4 if defined $param->{'method_doc'}
47 1 3 defined $param->{'default'} ? :
4 0 $param->{'is_required'} ? :
54 1 1 if (scalar @$named_params)
60 1 2 if defined $param->{'method_doc'}
65 0 3 $param->{'is_required'} ? :
0 3 $param->{'is_required'} && defined $param->{'default'} ? :
72 1 1 if (scalar @$return_types)
77 0 1 if defined $return_type->{'method_doc'}
79 1 0 $has_doc ? :
83 1 0 $has_doc ? :
89 2 0 if (scalar @html)
103 2 0 if defined $_->{'docs'}
0 2 &any(sub { ref $_->{'docs'} eq 'HASH'; } , @$params) ? :
2 0 &any(sub { scalar @{$_->{'docs'};} if defined $_->{'docs'}; } , @$params) ? :
113 4 7 if $_ ne 'doc'
115 6 1 unless scalar @traits
116 1 0 $_ eq 'slurpy' ? :
133 1 3 unless defined $param->{'default'}
134 1 2 if ref $param->{'default'} eq 'HASH' and scalar keys %{$$param{'default'};} == 0
135 0 2 if ref $param->{'default'} eq 'HASH'
137 0 2 if ref $param->{'default'} eq 'ARRAY' and scalar @{$param->{'default'};} == 0
138 1 1 if ref $param->{'default'} eq 'ARRAY'
140 0 1 if ref $param->{'default'} eq 'CODE'
141 1 0 $param->{'default'} eq '' ? :
147 8 0 defined $text ? :
158 23 6 defined $text ? :
159 23 6 defined $text ? :
172 9 28 !$args{'nowrap'} ? :
173 36 1 !exists $args{'colspan'} ? :