Branch Coverage

blib/lib/Feed/PhaseCheck.pm
Criterion Covered Total %
branch 11 22 50.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_data ne "HASH" or scalar keys %$main_data < 2)
76 0 164 if (int $_ != $_ or abs $main_data->{$_} != $main_data->{$_})
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])
94 1 0 $sample_epoches[0] - $main_epoches[0] < $max_delay_check ? :
95 1 0 $main_epoches[-1] - $sample_epoches[-1] < $max_delay_check ? :
100 0 1404 unless (defined $main_data{$sample_epoch})
102 0 0 if ($main_epoches[$i] > $sample_epoch)
115 25 29 if (not defined $min_error or $error{$delay} < $min_error)