Branch Coverage

blib/lib/enum/fields.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
25 1 16 if (defined($glob = ${"${pkg}::";}{$const}) and *{$glob;}{'CODE'})
40 1 7 if ($class =~ /^enum::fields::/)
46 1 7 unless @_
48 1 6 if exists $enum::fields::final{$class}
51 2 4 unless exists $enum::fields::class_info{$class}
57 0 10 if ($@)