Branch Coverage

lib/FAIR/Base.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
76 5 15 unless ($model)
120 0 115 unless $attribute->does('Serializable')
125 110 5 unless (ref $values ~~ qr/ARRAY/)
130 15 105 unless $object
131 20 85 if (ref $object ~~ qr/FAIR/ and $object->can('_toTriples')) { }
134 0 20 unless $namespace
137 5 15 if $object->isa('FAIR::Profile')
172 130 0 unless (ref($s) =~ /Trine/)
176 130 0 unless (ref($p) =~ /Trine/)
180 130 0 unless (ref($o) =~ /Trine/)
181 60 70 if ($o =~ m[^http://] or $o =~ m[^https://]) { }
55 15 elsif ($o =~ /\D/) { }