line |
true |
false |
branch |
68
|
0 |
1 |
unless (@dirs)
|
73
|
1 |
0 |
unless @files
|
91
|
1 |
0 |
defined $HISTORY_FILE ? :
|
118
|
1 |
0 |
defined $TOTAL_STEP_SIZE ? :
|
174
|
0 |
0 |
unless defined $last_policy_violations
|
179
|
0 |
0 |
defined $STEP_SIZE_PER_POLICY{$policy_name} ? :
|
182
|
0 |
0 |
$policy_step_size > $last_policy_violations ? :
|
185
|
0 |
0 |
if ($policy_violations > $target)
|
195
|
0 |
0 |
if ($has_run_before)
|
197
|
0 |
0 |
get_total_step_size() > $last_total_violations ? :
|
201
|
0 |
0 |
if ($current_total_violations > $target)
|
212
|
0 |
0 |
if (not $has_run_before or $ok and $last_total_violations > 0)
|
225
|
0 |
1 |
unless (@dirs)
|
234
|
0 |
0 |
-e 'blib' ? :
|
243
|
1 |
0 |
unless -e $history_file
|
246
|
0 |
0 |
if $Test::Perl::Critic::Progressive::EVAL_ERROR
|
258
|
1 |
0 |
unless open my $history_fh, '>', $history_file
|
272
|
0 |
0 |
unless print {$history_fh;} Dumper($history_data)
|
275
|
0 |
0 |
unless close $history_fh
|