Branch Coverage

blib/lib/Perl/Critic/PolicyParameter/Behavior/Enumeration.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
21 1 946 unless my $valid_values = $specification->{'enumeration_values'}
25 1 945 unless ref $valid_values eq "ARRAY"
30 2 943 unless scalar @{$valid_values;} > 1
47 617 326 if ($allow_multiple_values) { }
58 616 1 if (defined $value_string)
63 1 615 if (@bad_values)
94 2 323 if (defined $value_string and $Perl::Critic::PolicyParameter::Behavior::Enumeration::EMPTY ne $value_string and not defined $value_lookup->{$value_string})
125 72 0 if ($description)