line |
true |
false |
branch |
35
|
0 |
0 |
unless $App::Critique::CONFIG{'EDITOR'}
|
61
|
0 |
0 |
if ($opt->back)
|
66
|
0 |
0 |
if ($opt->next)
|
70
|
0 |
0 |
if ($opt->reset)
|
75
|
0 |
0 |
if (my $idx = $opt->goto)
|
79
|
0 |
0 |
if ($session->current_file_idx == scalar @tracked_files)
|
110
|
0 |
0 |
unless (eval {
do {
@violations = $self->discover_violations($session, $file, $opt);
1
}
})
|
118
|
0 |
0 |
unless ($should_review)
|
125
|
0 |
0 |
unless $file->recall('violations')
|
128
|
0 |
0 |
if (@violations == 0) { }
|
138
|
0 |
0 |
if ($should_review)
|
157
|
0 |
0 |
if ($should_edit)
|
159
|
0 |
0 |
if $did_commit
|
167
|
0 |
0 |
if ($did_commit)
|
181
|
0 |
0 |
if ($idx + 1 == scalar @tracked_files)
|
224
|
0 |
0 |
if ($opt->blame)
|
242
|
0 |
0 |
if $end_line > $line_count
|
260
|
0 |
0 |
$policy->can('rewriter') ? :
|
272
|
0 |
0 |
if ($rewriter and $rewriter->can_rewrite) { }
|
279
|
0 |
0 |
unless (eval {
do {
$document = $rewriter->rewrite;
1
}
})
|
287
|
0 |
0 |
unless (eval {
do {
$document->save($abs_filename);
1
}
})
|
300
|
0 |
0 |
if ($did_edit) { }
|
321
|
0 |
0 |
if (not $commit_this_change) { }
|
|
0 |
0 |
elsif (lc $commit_this_change eq 'n') { }
|
330
|
0 |
0 |
unless $file->recall('shas')
|
342
|
0 |
0 |
if ($what_now eq 'c') { }
|
|
0 |
0 |
elsif ($what_now eq 'a') { }
|
|
0 |
0 |
elsif ($what_now eq 'f') { }
|
370
|
0 |
0 |
if ($what_now eq 'e') { }
|
|
0 |
0 |
elsif ($what_now eq 's') { }
|
|
0 |
0 |
elsif ($what_now eq 'b') { }
|