Branch Coverage

blib/lib/Video/Subtitle/SBV.pm
Criterion Covered Total %
branch 8 40 20.0


line true false branch
58 0 0 if ($time =~ /$time_re/)
60 0 0 if ($minutes < 60 and $seconds < 60)
81 0 0 if ($time =~ /$time_re/)
83 0 0 unless (defined $milliseconds)
120 0 0 if ($verbose)
121 0 0 if ($$subtitle{'file'} and $$subtitle{'line'}) { }
128 0 0 if (ref $subtitle ne 'HASH')
129 0 0 if ($verbose)
135 0 0 unless ($$subtitle{$key})
136 0 0 if ($verbose)
144 0 0 unless ($time =~ /$time_re/)
145 0 0 if ($verbose)
228 96 199 if (/^($time_re),($time_re)\s*$/) { }
103 96 elsif (/\S/) { }
236 0 103 if ($$subtitle{'finished'}) { }
237 0 0 if ($$subtitles{'verbosity'})
268 0 0 if (validate_subtitle($subtitle, $$subtitles{'verbosity'}))
292 0 1 if (not $file_name) { }
307 0 96 unless ($$subtitle{'text'} =~ /\n\h*$/)
311 1 0 if ($file_name)