| blib/lib/Subtitles.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 46 | 34.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 152 | 1 | 3 | 0 | defined $$self{'codec'} and $$self{'codec'} eq $codec |
| 160 | 0 | 0 | 0 | defined $_[1] and $_[1] <= 0 |
| 176 | 0 | 0 | 0 | $self and $$self{'codec'} |
| 178 | 0 | 0 | 0 | defined $h and not defined $m |
| 200 | 0 | 1 | 0 | $a == 1 and $b == 0 |
| 271 | 0 | 0 | 1 | defined $end and $end >= 0 |
| 276 | 0 | 0 | 1 | defined $begin and $begin < $n |
| 297 | 0 | 0 | 4 | defined $content and @$content |
| 654 | 5 | 0 | 8 | defined $2 and length $2 |
| 0 | 1 | 4 | defined $3 and length $3 | |
| 889 | 0 | 0 | 0 | $j < @$c and $$c[$j][0] <= $i |
| line | l | !l | condition |
|---|---|---|---|
| 729 | 0 | 1 | $$sub{'smi'}{'s1gap'} || 0 |
| 730 | 0 | 1 | $$sub{'smi'}{'s2gap'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 116 | 0 | 0 | 4 | $@ or not defined $ret |
| 208 | 0 | 0 | 1 | $$from[$i] > $qto or $$to[$i] < $qfrom |
| 739 | 1 | 1 | 0 | $i == $n - 1 or int $$from[$i + 1] * 1000 + 0.5 != $t |