Branch Coverage

blib/lib/Feed/PhaseCheck.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
58 0 1 unless ($max_delay_check =~ /^\d+$/)
62 0 1 if (ref $sample ne 'HASH' or scalar keys %$sample < 2)
66 0 1 if (ref $main ne 'HASH' or scalar keys %$main < 2)
72 0 164 if (int $_ != $_ or abs $main->{$_} != $main->{$_})
79 0 26 if (int $_ != $_ or abs $sample->{$_} != $sample->{$_})
84 0 1 if ($sample_epoches[0] < $main_epoches[0] or $sample_epoches[-1] > $main_epoches[-1])
91 1 0 $sample_epoches[0] - $main_epoches[0] < $max_delay_check ? :
92 1 0 $main_epoches[-1] - $sample_epoches[-1] < $max_delay_check ? :
97 3 1401 unless (defined $main{$sample_epoch})
99 3 0 if ($main_epoches[$i] > $sample_epoch)
112 13 41 if (not defined $min_error or $error{$delay} < $min_error)