blib/lib/Message/Match.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 30 | 73.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 35 | 0 | 0 | $ref_message eq 'JSON::PP::Boolean' and $ref_match eq 'JSON::PP::Boolean' |
53 | 4 | 0 | 31 | $ref_message eq 'HASH' and $ref_match eq 'HASH' |
63 | 0 | 2 | 2 | $ref_message eq 'ARRAY' and not $ref_match |
69 | 0 | 0 | 2 | $ref_message eq 'ARRAY' and $ref_match eq 'ARRAY' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
14 | 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' | |
44 | 35 | 0 | 21 | $ref_message or $ref_match |