Branch Coverage

blib/lib/Carp/Assert/More.pm
Criterion Covered Total %
branch 44 44 100.0


line true false branch
101 1 7 if not defined $string and not defined $match
105 4 1 if $string eq $match
123 2 6 if defined $string xor defined $unmatch
125 1 5 if defined $string and defined $unmatch and $string ne $unmatch
144 3 1 if $string =~ /$regex/
157 114 9 if defined $_[0]
174 2 1 if $this ne ''
197 10 11 if $this =~ /^-?\d+$/
220 8 4 if $this + 0 != 0
241 9 8 if $this + 0 > 0
265 10 2 if $this + 0 >= 0
286 3 10 if $this + 0 < 0
390 8 35 if &Scalar::Util::blessed($this) and $this->isa($type)
391 24 11 if ref $this eq $type
422 2 5 if ($type eq 'HASH') { }
2 3 elsif ($type eq 'ARRAY') { }
444 55 2 unless ref $this
515 4 10 if $string eq $element
541 4 3 ref $key ? :
544 3 7 if (not exists $$hash{$_})
570 4 2 ref $key ? :
573 2 6 if (exists $$hash{$_})