Condition Coverage

blib/lib/Message/Match.pm
Criterion Covered Total %
condition 22 33 66.6


and 3 conditions

line !l l&&!r l&&r condition
57 35 0 0 $ref_message eq 'JSON::PP::Boolean' and $ref_match eq 'JSON::PP::Boolean'
60 4 0 31 $ref_message eq 'HASH' and $ref_match eq 'HASH'
70 0 2 2 $ref_message eq 'ARRAY' and not $ref_match
76 0 0 2 $ref_message eq 'ARRAY' and $ref_match eq 'ARRAY'
84 0 0 0 $ref_message eq 'ARRAY' and $ref_match eq 'HASH'

or 3 conditions

line l !l&&r !l&&!r condition
16 2 1 27 scalar @_ < 2 or scalar @_ > 2
3 1 26 scalar @_ < 2 or scalar @_ > 2 or not ref $message
2 1 25 scalar @_ < 2 or scalar @_ > 2 or not ref $message or not ref $match
2 0 25 scalar @_ < 2 or scalar @_ > 2 or not ref $message or not ref $match or ref $message ne 'HASH'
1 1 24 scalar @_ < 2 or scalar @_ > 2 or not ref $message or not ref $match or ref $message ne 'HASH' or ref $match ne 'HASH'
51 35 0 21 $ref_message or $ref_match