Branch Coverage

blib/lib/Text/MicroMason/HasParams.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
22 41 0 $self->{'params'} ? :
24 0 41 if (scalar @_ == 0) { }
4 37 elsif (scalar @_ > 1) { }
0 37 elsif (scalar @_ == 1 and ref $_[0]) { }
26 0 0 $self->{'associate'} ? :
29 0 4 if (my $associate = $self->{'associate'})
35 0 4 if ($self->{'case_sensitive'}) { }
47 0 37 $self->{'case_sensitive'} ? :
52 12 0 !$self->{'case_sensitive'} ? :
29 12 exists $param->{$key} ? :
53 8 33 unless defined $case_key
56 2 31 ref $value eq 'ARRAY' ? :
58 0 4 if (my $associate = $self->{'associate'})
60 0 0 $self->{'case_sensitive'} ? :