Branch Coverage

blib/lib/SeeAlso/Identifier/Factory.pm
Criterion Covered Total %
branch 24 38 63.1


line true false branch
23 3 5 if ($parse)
24 0 3 unless ref $parse eq 'CODE'
29 3 5 if (ref $type eq 'ARRAY') { }
5 0 elsif (not ref $type and $type) { }
40 3 6 unless (eval 'require ' . $type)
41 2 1 if (@{$$self{'type'};} == 1)
46 2 7 unless UNIVERSAL::isa($type, 'SeeAlso::Identifier')
59 4 6 if $$self{'parse'}
64 7 5 if $id
84 2 0 if ($parse)
91 2 0 if $canonical
94 2 0 if $hash
104 0 0 defined $s ? :
2 0 defined $s ? :
0 0 defined $s ? :
1 0 defined $s ? :
3 0 defined $value ? :
1 0 defined $value ? :
105 0 2 if $@