Branch Coverage

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


line true false branch
62 0 1 unless ($max_delay_check =~ /^\d+$/)
66 0 1 if (ref $sample ne 'HASH' or scalar keys %$sample < 2)
70 0 1 if (ref $main ne 'HASH' or scalar keys %$main < 2)
76 0 164 if (int $_ != $_ or abs $main->{$_} != $main->{$_})
83 0 26 if (int $_ != $_ or abs $sample->{$_} != $sample->{$_})
88 0 1 if ($sample_epoches[0] < $main_epoches[0] or $sample_epoches[-1] > $main_epoches[-1])
95 1 0 $sample_epoches[0] - $main_epoches[0] < $max_delay_check ? :
96 1 0 $main_epoches[-1] - $sample_epoches[-1] < $max_delay_check ? :
101 3 1401 unless (defined $main{$sample_epoch})
103 3 0 if ($main_epoches[$i] > $sample_epoch)
116 13 41 if (not defined $min_error or $error{$delay} < $min_error)