Branch Coverage

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


line true false branch
60 0 12834 if ($config{'_config_object'}) { }
76 12774 60 if ($class->can("supported_parameters"))
91 9604 0 unless (eval {
98 12774 60 if ($parameter_metadata_available)
102 146 12688 if ($errors->has_exceptions)
156 866 11616 if (defined $user_severity)
162 145 12336 if (defined $user_set_themes)
168 147 12334 if (defined $user_add_themes)
173 0 12481 if ($errors->has_exceptions)
187 12478 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 5910 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