Branch Coverage

blib/lib/Code/Quality.pm
Criterion Covered Total %
branch 15 34 44.1


line true false branch
100 8 0 if defined $DEBUG
153 0 8 unless defined $official_solution
161 0 8 if $loc_official_solution == 0
167 23 6 if $loc_absolute_diff <= $_->[0]
170 4 4 if &any(\&$predicate, @short_code_criteria)
171 3 1 if &any(\&$predicate, @long_code_criteria)
230 3 0 unless defined $extension
237 0 0 unless print $fh $args{'code'}
238 0 0 unless close $fh
255 0 0 if ($signal or $exit_code == 127 and not _clang_tidy_exists())
264 0 0 unless my($row, $col, $type, $msg) = $line =~ /$fh:(\d+):(\d+): (\w+): (.*)$/su
269 0 0 if $type eq 'note'
295 0 0 unless defined $a
296 0 0 if defined $b
314 0 8 unless defined $warnings
315 1 7 if &any(sub { $_->[0] eq 'error'; } , @$warnings)
316 3 4 if &any(sub { $_->[0] eq 'warning'; } , @$warnings)