line |
true |
false |
branch |
89
|
86 |
2 |
@_ >= 2 ? :
|
90
|
4 |
84 |
ref $self eq 'HASH' ? :
|
91
|
2 |
86 |
unless defined $source_code
|
94
|
0 |
86 |
&blessed($source_code) && $source_code->isa('Perl::Critic::Document') ? :
|
102
|
2 |
84 |
if (0 == $self->policies)
|
118
|
81 |
3 |
unless ($self->config->force)
|
131
|
0 |
84 |
if (@violations and my $top = $self->config->top)
|
132
|
0 |
0 |
@violations < $top ? :
|
147
|
4 |
4347 |
unless $policy->prepare_to_scan_document($doc)
|
150
|
0 |
4347 |
if defined $maximum_violations and $maximum_violations == 0
|
157
|
477 |
5282 |
if ($type eq 'PPI::Document') { }
|
161
|
2708 |
2574 |
unless $doc->find($type)
|
176
|
107 |
150 |
if ($doc->line_is_disabled_for_policy($line, $policy))
|
182
|
8 |
142 |
if defined $maximum_violations and @violations >= $maximum_violations
|