Branch Coverage

blib/lib/Language/Prolog/Types/Abstract.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
80 0 0 unless not ref $_[0] or ref $_[0] eq 'ARRAY'
92 0 0 if defined $_[0]
102 0 0 unless not defined $self or UNIVERSAL::isa($self, 'Language::Prolog::Types::Nil')
120 0 0 unless UNIVERSAL::isa($self, 'Language::Prolog::Types::Functor')
136 0 0 unless UNIVERSAL::isa($self, 'Language::Prolog::Types::List')
148 0 0 unless not defined $self or UNIVERSAL::isa($self, 'Language::Prolog::Types::ListOrNil')
188 0 0 unless defined $self
189 0 0 if ref $self eq 'ARRAY'
191 0 0 if $@
207 0 0 unless prolog_is_atom $_ and /^\d+$/ and $_ < 256
451 0 0 if $index == 0
452 0 0 if $index == 1