Branch Coverage

blib/lib/Perl/Critic/Policy.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
60 0 12979 if ($config{'_config_object'}) { }
76 12919 60 if ($class->can("supported_parameters"))
91 9709 0 unless (eval {
98 12919 60 if ($parameter_metadata_available)
102 146 12833 if ($errors->has_exceptions)
156 866 11761 if (defined $user_severity)
162 145 12481 if (defined $user_set_themes)
168 147 12479 if (defined $user_add_themes)
173 0 12626 if ($errors->has_exceptions)
187 12623 4 if ($config->is_maximum_violations_per_document_unlimited)
194 0 4 if (not is_integer($user_maximum_violations)) { }
0 4 elsif ($user_maximum_violations < 0) { }
302 30 6053 exists $self->{'_maximum_violations_per_document'} ? :
344 1298 12012 defined $self->{'_themes'} ? :
476 0 1303 unless $self->parameter_metadata_available
479 1303 0 if ($parameter_format) { }
495 1303 0 if $self->parameter_metadata_available
496 0 0 if $message