Branch Coverage

blib/lib/Role/Declare.pm
Criterion Covered Total %
branch 24 30 80.0


line true false branch
29 0 23 if defined $hooks->{$type}
41 0 15 if @$data != 1
60 0 5 unless $constraint
65 1 10 if not @$retval and $allow_empty
102 0 1 if @$data != 1
114 1 6 if not defined $self and $allow_undef
115 3 3 if ref $self and &refaddr($self) eq $orig_self_addr
157 11 33 if wantarray and $val_list
158 32 1 if defined wantarray and $val_scalar
169 0 6 if $class ne 'Role::Declare'
173 2 2 if ($mode eq '-lax') { }
2 0 elsif ($mode eq '-no_type_check') { }
194 19 4 if (defined $hooks and not $skip_typecheck)
206 2 4 if $lax
207 2 4 if $skip_typecheck