Condition Coverage

blib/lib/Carp/Assert/More.pm
Criterion Covered Total %
condition 129 185 69.7


and 3 conditions

line !l l&&!r l&&r condition
113 1 1 4 defined $match and $string eq $match
138 1 0 5 defined $string and defined $unmatch
1 4 1 defined $string and defined $unmatch and $string ne $unmatch
204 2 1 10 &looks_like_number($x) and &looks_like_number($y)
3 5 5 &looks_like_number($x) and &looks_like_number($y) and $x == $y
207 2 1 10 &looks_like_number($x) and &looks_like_number($y)
3 5 5 &looks_like_number($x) and &looks_like_number($y) and $x != $y
210 2 1 14 &looks_like_number($x) and &looks_like_number($y)
3 7 7 &looks_like_number($x) and &looks_like_number($y) and $x < $y
213 2 1 14 &looks_like_number($x) and &looks_like_number($y)
3 7 7 &looks_like_number($x) and &looks_like_number($y) and $x <= $y
216 2 2 14 &looks_like_number($x) and &looks_like_number($y)
4 7 7 &looks_like_number($x) and &looks_like_number($y) and $x > $y
219 2 1 14 &looks_like_number($x) and &looks_like_number($y)
3 7 7 &looks_like_number($x) and &looks_like_number($y) and $x >= $y
222 0 0 2 defined $x and defined $y
0 1 1 defined $x and defined $y and $x lt $y
225 0 0 2 defined $x and defined $y
0 1 1 defined $x and defined $y and $x le $y
228 0 0 2 defined $x and defined $y
0 1 1 defined $x and defined $y and $x gt $y
231 0 0 2 defined $x and defined $y
0 1 1 defined $x and defined $y and $x ge $y
257 1 0 6 defined $string and not ref $string
478 1 8 1 defined $this and $this + 0 < 0
499 1 6 3 defined $this and $this =~ /$INTEGER/
523 1 6 4 defined $this and $this =~ /$INTEGER/
546 1 6 3 defined $this and $this =~ /$INTEGER/
569 1 7 3 defined $this and $this =~ /$INTEGER/
595 4 0 2 &Scalar::Util::blessed($this) and $this->isa($type)
674 3 3 3 $n and $n > 1
775 4 0 1 &Scalar::Util::blessed($ref) and $ref->isa("HASH")
795 4 0 2 &Scalar::Util::blessed($ref) and $ref->isa("HASH")
824 8 0 2 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
844 4 0 2 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
866 4 0 1 &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
869 2 0 0 &Scalar::Util::blessed($val) and $val->isa("HASH")
893 5 0 1 &Scalar::Util::blessed($ref) and $ref->isa("CODE")
914 0 0 0 &Scalar::Util::blessed($ref) and $ref->isa("DateTime")
946 2 0 0 &Scalar::Util::blessed($haystack) and $haystack->isa("ARRAY")
1007 0 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1055 0 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1101 1 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1140 1 0 0 &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1249 1 1 1 defined $wantarray and not $wantarray

or 2 conditions

line l !l condition
237 49 12 $x // "undef"
48 13 $y // "undef"

or 3 conditions

line l !l&&r !l&&!r condition
237 10 61 0 $why //= "Failed: " . ($x // "undef") . " " . $op . " " . ($y // "undef")
775 2 5 0 ref $ref eq "HASH" or &Scalar::Util::blessed($ref) and $ref->isa("HASH")
795 4 6 0 ref $ref eq "HASH" or &Scalar::Util::blessed($ref) and $ref->isa("HASH")
824 3 10 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
844 5 6 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
866 3 5 0 ref $ref eq "ARRAY" or &Scalar::Util::blessed($ref) and $ref->isa("ARRAY")
869 3 0 2 ref $val eq "HASH" or &Scalar::Util::blessed($val) and $val->isa("HASH")
893 1 6 0 ref $ref eq "CODE" or &Scalar::Util::blessed($ref) and $ref->isa("CODE")
914 0 0 0 ref $ref eq "DateTime" or &Scalar::Util::blessed($ref) and $ref->isa("DateTime")
946 10 0 2 ref $haystack eq "ARRAY" or &Scalar::Util::blessed($haystack) and $haystack->isa("ARRAY")
1007 10 0 0 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1055 6 0 0 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1101 8 0 1 ref $hash eq "HASH" or &Scalar::Util::blessed($hash) and $hash->isa("HASH")
1140 14 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
136 5 1 1 1 defined $string xor defined $unmatch