Branch Coverage

blib/lib/ICal/QuickAdd.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
30 0 5 unless ($str)
44 0 5 unless $str
71 0 4 unless sysopen $handle, $filename, 0
80 0 4 unless $file_length > $end_vcal_len
83 0 4 unless my $seek_pos = seek($handle, -$end_vcal_len, 2)
129 0 5 if $@
152 0 1 unless $is_ical
156 0 1 unless open my $fh, "+<$filename"
162 0 1 unless my $seek_pos = seek($fh, -$perfect_length, 2)
168 0 1 unless close $fh