Branch Coverage

blib/lib/Proch/N50.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
27 0 12 unless defined $file
29 0 12 if (defined $customN)
30 0 0 if $customN > $MAX_CUSTOM_N or $customN < $MIN_CUSTOM_N
44 3 9 unless ($file eq "-" or -e $file)
51 0 9 $file eq '-' ? :
79 0 9 if defined $customN
82 5 4 if ($wantJSON)
111 9 25 if (not $n50 and $progressive_sum >= $total_size * "0.5")
114 9 25 if (not $n75 and $progressive_sum >= $total_size * "0.75")
117 9 25 if (not $n90 and $progressive_sum >= $total_size * "0.9")
122 0 34 if (not $nx and defined $custom_n)
124 0 0 if ($progressive_sum >= $threshold)
138 3 0 $stats->{'status'} ? :