Condition Coverage

blib/lib/HTTP/Headers/ActionPack/MediaType.pm
Criterion Covered Total %
condition 17 21 80.9


and 3 conditions

line !l l&&!r l&&r condition
23 76 0 14 $self->type eq '*/*' && $self->params_are_empty
31 0 0 4 $other->type eq $self->type && _compare_params($self->params, $other->params)
39 2 2 6 $self->type_matches($other) && _compare_params($self->params, $other->params)
47 37 11 19 $self->type_matches($other) && $self->params_match($other->params)
56 6 33 5 $other->major eq $self->major && $other->minor eq '*'

or 3 conditions

line l !l&&r !l&&!r condition
55 0 4 73 $other->type eq '*' or $other->type eq '*/*'
4 29 44 $other->type eq '*' or $other->type eq '*/*' or $other->type eq $self->type