Branch Coverage

blib/lib/MyShortRead/ChromBed.pm
Criterion Covered Total %
branch 0 46 0.0


line true false branch
31 0 0 if (@_ >= 3)
44 0 0 if (@_ >= 3)
56 0 0 if (@_ < 2)
57 0 0 unless (defined $$self{'chrom_name'} and defined $$self{'chrom_len'} and defined $$self{'file_name'})
71 0 0 if (@_ < 2)
72 0 0 unless (defined $$self{'chrom_name'} and defined $$self{'chrom_len'} and defined $$self{'file_name'})
86 0 0 if (@_ < 2)
87 0 0 unless (defined $$self{'bin_count'})
92 0 0 if ($smooth_width <= 1)
96 0 0 if ($smooth_width % 2 != 1)
101 0 0 if ($$self{'bin_num'} <= $half)
108 0 0 if ($fun_str eq 'mean') { }
0 0 elsif ($fun_str eq 'median') { }
112 0 0 if ($i - $half > 0)
113 0 0 if ($i + $half < $$self{'bin_num'})
114 0 0 if ($fun_str eq 'mean') { }
0 0 elsif ($fun_str eq 'median') { }
122 0 0 if (@_ < 1)
124 0 0 if (@{$$self{'bin_count'};} < $bins_per_window)
145 0 0 if (@_ < 1)
147 0 0 if (@{$$self{'bin_count_F'};} < $bins_per_window or @{$$self{'bin_count_R'};} < $bins_per_window)
174 0 0 if (defined $$self{'file_name'})
176 0 0 unless unlink $fn