Condition Coverage

blib/lib/Carp/Assert/More.pm
Criterion Covered Total %
condition 75 118 63.5


and 3 conditions

line !l l&&!r l&&r condition
111 1 1 4 defined $match and $string eq $match
136 1 0 5 defined $string and defined $unmatch
1 4 1 defined $string and defined $unmatch and $string ne $unmatch
156 1 0 6 defined $string and not ref $string
377 1 8 1 defined $this and $this + 0 < 0
398 1 6 3 defined $this and $this =~ /$INTEGER/
422 1 6 4 defined $this and $this =~ /$INTEGER/
445 1 6 3 defined $this and $this =~ /$INTEGER/
468 1 7 3 defined $this and $this =~ /$INTEGER/
494 4 0 2 &Scalar::Util::blessed($this) and $this->isa($type)
573 3 3 3 $n and $n > 1
674 4 0 1 &Scalar::Util::blessed($ref) and $ref->isa("HASH")
694 4 0 2 &Scalar::Util::blessed($ref) and $ref->isa("HASH")
723 8 0 2 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
743 4 0 2 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
765 4 0 1 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
768 2 0 0 &Scalar::Util::blessed($val) and $val->isa("HASH")
792 5 0 1 &Scalar::Util::blessed($ref) and $ref->isa("CODE")
813 0 0 0 &Scalar::Util::blessed($ref) and $ref->isa("DateTime")
845 2 0 0 &Scalar::Util::blessed($haystack) and $haystack->isa("ARRAY")
906 0 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
954 0 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1000 1 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1040 1 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1151 1 1 1 defined $wantarray and not $wantarray

or 3 conditions

line l !l&&r !l&&!r condition
674 2 5 0 ref $ref eq "HASH" or &Scalar::Util::blessed($ref) and $ref->isa("HASH")
694 4 6 0 ref $ref eq "HASH" or &Scalar::Util::blessed($ref) and $ref->isa("HASH")
723 3 10 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
743 5 6 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
765 3 5 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
768 3 0 2 ref $val eq "HASH" or &Scalar::Util::blessed($val) and $val->isa("HASH")
792 1 6 0 ref $ref eq "CODE" or &Scalar::Util::blessed($ref) and $ref->isa("CODE")
813 0 0 0 ref $ref eq "DateTime" or &Scalar::Util::blessed($ref) and $ref->isa("DateTime")
845 10 0 2 ref $haystack eq "ARRAY" or &Scalar::Util::blessed($haystack) and $haystack->isa("ARRAY")
906 10 0 0 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
954 6 0 0 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1000 6 0 1 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1040 9 0 1 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
134 5 1 1 1 defined $string xor defined $unmatch