| blib/lib/ICal/QuickAdd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 24 | 0 | 5 | unless ($str) |
| 38 | 0 | 5 | unless $str |
| 65 | 0 | 4 | unless sysopen $handle, $filename, 0 |
| 74 | 0 | 4 | unless $file_length > $end_vcal_len |
| 77 | 0 | 4 | unless my $seek_pos = seek($handle, -$end_vcal_len, 2) |
| 123 | 0 | 5 | if $@ |
| 146 | 0 | 1 | unless $is_ical |
| 150 | 0 | 1 | unless open my $fh, "+<$filename" |
| 156 | 0 | 1 | unless my $seek_pos = seek($fh, -$perfect_length, 2) |
| 162 | 0 | 1 | unless close $fh |