Branch Coverage

blib/lib/Linux/DVB/DVBT/Utils.pm
Criterion Covered Total %
branch 42 72 58.3


line true false branch
132 1771 1045 if ($cc < 32 or $cc > 126)
166 0 0 if ($time =~ /(\d+)\:(\d+)/)
227 0 0 if $end_mins < $start_mins
252 0 0 if ($time =~ /^(\d+)$/) { }
0 0 elsif ($time =~ /^(\d+):(\d+):(\d+)$/) { }
0 0 elsif ($time =~ /^(\d+):(\d+)$/) { }
285 0 0 if ($time =~ /^(\d+)$/) { }
0 0 elsif ($time =~ /^(\d+):(\d+):(\d+)$/) { }
0 0 elsif ($time =~ /^(\d+):(\d+)$/) { }
325 46 0 if ($text)
328 3 43 if ($text =~ /^\\x([\da-fA-F]{2})/)
331 2 1 if ($cc < 32 or $cc > 126)
366 0 0 if ($cat and exists $CONTENT_DESC{$cat})
408 1 22 unless $$title_ref and $$synopsis_ref
410 0 22 if $DEBUG
414 1 21 if ($$synopsis_ref =~ s/^\.\.\.\s?//)
423 1 0 if ($1)
443 0 22 if $DEBUG
473 0 23 if $DEBUG
481 6 17 if ($$synopsis_ref =~ s/^\s*(all\s+|brand\s+){0,1}new(\s+\S+){0,1}\s*([\.\!\:\-]+\s*)//i)
493 0 23 if $DEBUG
522 0 23 if $DEBUG
534 11 12 if ($$synopsis_ref =~ s[\(*\s*\w*\s*(\d+)\s*(?:/|\\|of)\s*(\d+)[\:\.\s\)]*][]i)
544 0 23 if $DEBUG
568 0 23 if $DEBUG
572 21 2 unless $$synopsis_ref =~ s/\[([A-Z,]+)\][\.\s]*//
580 0 2 if $DEBUG
613 23 23 unless (ref $synopsis_ref)
628 0 46 if $DEBUG
634 1 45 if ($$synopsis_ref =~ s/^\s*(\w+\s+){1,2}series\.\s*//i)
642 32 14 if ($$synopsis_ref =~ s/^\s*(.+?)\:(?!\d\d)\s*//)
649 14 32 unless ($$subtitle_ref)
651 12 2 if ($$synopsis_ref =~ s/^\s*([^\.]+)\.\s*//) { }
667 3 43 if ($$synopsis_ref =~ s/^\s*(\w+\s+){1,2}series\.\s*//i)
674 44 2 if ($restore_synopsis)
685 0 46 if $DEBUG