Branch Coverage

lib/Sanger/CGP/TraFiC/Formatter.pm
Criterion Covered Total %
branch 25 38 65.7


line true false branch
53 1 2 unless defined which('sort')
60 0 1 unless -e $root_path
61 0 1 unless -d $root_path
62 0 1 unless -w $root_path
108 0 2 unless system($sort_command) == 0
117 0 1 unless $$self{'silent'}
124 4168 0 if (exists $$rm_hits{$readname})
133 1 4167 if (--$remaining_hits == 0)
135 0 1 unless $$self{'silent'}
138 0 4167 if $$self{'silent'} != 1 and $remaining_hits % 5000 == 0
150 0 1 unless $$self{'silent'}
152 0 1 unless $$self{'silent'}
163 11 4171 unless $line =~ /\d$/
168 3 4168 if (exists $rm_hits{$bits[4]}) { }
171 1 2 if $bits[0] > $last_score
180 0 1 unless $$self{'silent'}
194 0 3 if defined $$self{'+'}
195 0 3 if defined $$self{'-'}
197 1 2 if defined $$self{'temp'}