Branch Coverage

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


line true false branch
60 0 15476 if ($config{'_config_object'}) { }
76 15416 60 if ($class->can("supported_parameters"))
91 28900 0 unless (eval {
98 15416 60 if ($parameter_metadata_available)
102 148 15328 if ($errors->has_exceptions)
156 866 14256 if (defined $user_severity)
162 145 14976 if (defined $user_set_themes)
168 147 14974 if (defined $user_add_themes)
173 0 15121 if ($errors->has_exceptions)
187 15116 6 if ($config->is_maximum_violations_per_document_unlimited)
194 0 6 if (not is_integer($user_maximum_violations)) { }
0 6 elsif ($user_maximum_violations < 0) { }
302 32 8542 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