Branch Coverage

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


line true false branch
101 8 0 if defined $DEBUG
155 0 8 unless defined $official_solution
163 0 8 if $loc_official_solution == 0
169 23 6 if $loc_absolute_diff <= $_->[0]
172 4 4 if &any(\&$predicate, @short_code_criteria)
173 3 1 if &any(\&$predicate, @long_code_criteria)
232 3 0 unless defined $extension
239 0 0 unless print $fh $args{'code'}
240 0 0 unless close $fh
257 0 0 if ($signal or $exit_code == 127 and not _clang_tidy_exists())
266 0 0 unless my($row, $col, $type, $msg) = $line =~ /$fh:(\d+):(\d+): (\w+): (.*)$/su
271 0 0 if $type eq 'note'
297 0 0 unless defined $a
298 0 0 if defined $b
316 0 8 unless defined $warnings
317 1 7 if &any(sub { $_->[0] eq 'error'; } , @$warnings)
318 3 4 if &any(sub { $_->[0] eq 'warning'; } , @$warnings)