Condition Coverage

blib/lib/Data/Sah/Util/Type/Date.pm
Criterion Covered Total %
condition 42 62 67.7


and 3 conditions

line !l l&&!r l&&r condition
37 7 2 1 &blessed($val) and $val->isa("DateTime")
6 1 2 &looks_like_number($val) and $val >= 100000000
7 1 1 &looks_like_number($val) and $val >= 100000000 and $val <= 2147483648
3 1 1 &blessed($val) and $val->isa("Time::Moment")
3 0 1 &blessed($val) and $val->isa("Time::Piece")
60 7 2 1 &blessed($val) and $val->isa("Time::Moment")
6 1 2 &looks_like_number($val) and $val >= 100000000
7 1 1 &looks_like_number($val) and $val >= 100000000 and $val <= 2147483648
3 1 1 &blessed($val) and $val->isa("DateTime")
3 0 1 &blessed($val) and $val->isa("Time::Piece")
83 7 2 1 &blessed($val) and $val->isa("Time::Piece")
6 1 2 &looks_like_number($val) and $val >= 100000000
7 1 1 &looks_like_number($val) and $val >= 100000000 and $val <= 2147483648
3 1 1 &blessed($val) and $val->isa("DateTime")
3 0 1 &blessed($val) and $val->isa("Time::Moment")
111 0 0 0 &blessed($val) and $val->isa("DateTime::Duration")

or 2 conditions

line l !l condition
130 0 0 $1 // 0
0 0 $2 // 0
0 0 $3 // 0
0 0 $4 // 0
0 0 $5 // 0
0 0 $6 // 0
0 0 $7 // 0