Branch Coverage

blib/lib/Hades/Macro.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
7 14 49 scalar @_ == 1 ? :
14 23 99 defined $args{$accessor} ? :
17 0 122 $accessors{$accessor}{'builder'} ? :
19 0 111 unless (not $accessors{$accessor}{'required'} or defined $value)
28 17 2 if (defined $value)
29 4 13 if ((ref $value || '') ne 'ARRAY')
39 18 57 if (defined $value)
40 4 14 if ((ref $value || '') ne 'HASH')
45 6 9 if (not defined $item or (ref $item || '') ne 'ARRAY')
46 4 2 defined $item ? :
63 2 2 defined $meta ? :
64 2 2 if ((ref $meta || '') ne 'HASH')
65 2 0 defined $meta ? :
77 1 1 if ($self->has_alias)