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 22 99 defined $args{$accessor} ? :
17 0 121 $accessors{$accessor}{'builder'} ? :
19 0 110 unless (not $accessors{$accessor}{'required'} or defined $value)
28 18 2 if (defined $value)
29 4 14 if ((ref $value || '') ne "ARRAY")
39 16 57 if (defined $value)
40 4 12 if ((ref $value || '') ne "HASH")
45 6 7 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)