Branch Coverage

blib/lib/Role/Declare.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
29 0 18 if defined $hooks->{$type}
41 0 10 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 31 if wantarray and $val_list
158 31 0 if defined wantarray and $val_scalar
169 0 3 if $class ne 'Role::Declare'
172 1 2 if (defined $mode)
173 1 0 if ($mode eq '-lax') { }
191 17 1 if (defined $hooks)
203 1 2 if $lax