Branch Coverage

lib/Pod/Elemental/Transformer/Splint/Util.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
35 0 2 if $self->get_library_for_type($type_constraint)
36 2 0 if $self->has_default_type_library
43 0 9 unless defined $type_constraint
46 7 2 if $type_constraint->$Pod::Elemental::Transformer::Splint::Util::_can('library') and defined $type_constraint->library
49 0 2 if ($type_constraint =~ /InstanceOf/u)
50 0 0 if ($self->has_default_type_library)
58 1 1 if ($type_constraint =~ /[^a-z0-9_]/iu)
72 0 1 if ($self->$Pod::Elemental::Transformer::Splint::Util::_can('name'))
75 0 0 if ($self->get_library_for_type($name))
81 0 1 if ($self->get_library_for_type($type_constraint))