Branch Coverage

blib/lib/Mite/Signature.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
46 7 1 (shift())->method ? :
73 0 9 if $self->is_named and $self->is_positional
81 0 9 unless $class
82 9 0 unless eval {
110 6 3 $self->is_named ? :
9 0 $self->head ? :
0 9 $self->tail ? :
5 4 $self->should_bless ? :
6 3 $self->is_named ? :
115 0 9 if (keys %{$c->coderef->{"env"};})
125 1 9 if ($self->compiling_class and $self->compiling_class != $self->class)
138 1 9 if ($self->compiling_class and $self->compiling_class != $self->class)
142 4 5 unless $self->should_bless
150 0 1 if exists $args{'pos'}
152 0 1 if ($self->has_slurpy and $args{'positional'}) { }
0 1 elsif ($self->has_slurpy and $args{'named'}) { }
0 1 elsif ($self->is_named and $args{'positional'}) { }
0 1 elsif (not $self->is_named and $args{'named'}) { }
165 0 1 if ($args{'positional'})
169 1 0 if ($args{'named'})