Branch Coverage

blib/lib/Attean/API.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
68 3 1 if ($self->does('Attean::API::Variable')) { }
71 2 1 if (defined $replace and &blessed($replace)) { }
118 0 0 if ($self->does('Attean::API::Variable')) { }
121 0 0 if (defined $replace and &blessed($replace)) { }
208 58 46 if ($term->does("Attean::API::Blank") or $term->does("Attean::API::Variable"))
226 12 20 if $i > 0
227 12 20 if $i < $#tuples
228 0 32 if $str eq $last or $str eq $next
230 58 46 if (defined(my $tstr = $p->[2]{$pos}))
236 23 35 exists $mapping{$key} ? :
237 38 20 $prefix eq '?' ? :
240 20 38 $type eq 'blank' ? :
252 0 104 if (defined(my $tstr = $p->[2]{$pos}))
258 0 0 unless (exists $mapping{$key})
263 0 0 $prefix eq '?' ? :
266 0 0 $type eq 'blank' ? :