Branch Coverage

blib/lib/Class/Enumeration/Builder.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
25 9 3 ref $_[0] eq 'HASH' ? :
28 3 9 exists $options->{'class'} ? :
30 1 11 if do { no strict 'refs'; defined &{"${class}::values";} }
39 2 9 exists $options->{'counter'} ? :
40 1 10 exists $options->{'prefix'} ? :
42 5 6 if (ref $_[1] eq 'HASH') { }
46 2 10 unless &_is_equal($reference_attributes, $attributes)
71 3 6 if (delete $options->{'export'})
82 1 8 if (delete $options->{'predicate'})
89 1 8 if (delete $options->{'to_json'})
95 1 8 if %$options
120 1 11 unless @reference_attributes == keys %$attributes
122 1 9 unless exists $attributes->{$_}