Condition Coverage

blib/lib/FlashVideo/Utils.pm
Criterion Covered Total %
condition 5 36 13.8


and 3 conditions

line !l l&&!r l&&r condition
49 0 0 0 $tag eq 'meta' and $$attr{'name'} =~ /title/i
97 0 0 0 $response->code =~ /^30\d/ and $response->header('Location')
0 0 0 $response->code =~ /^30\d/ and $response->header('Location') and $redirects < 5
115 4 1 6 $type and not $type =~ /^\w+$/
261 0 0 0 eval { do { require Term::ReadKey } } and my($width) = Term::ReadKey::GetTerminalSize()
318 0 0 0 $decrypt_callback and ref $decrypt_callback eq 'CODE'
336 0 0 0 $sub and $begin || $begin == 0
358 0 0 0 $count and not $subtitles[$count - 1]{'end'}

or 2 conditions

line l !l condition
121 13 4 $type ||= 'flv'
144 0 0 $type ||= 'flv'
244 0 0 $ENV{'APPDATA'} || 'c:/windows/application data'

or 3 conditions

line l !l&&r !l&&!r condition
336 0 0 0 $begin || $begin == 0
367 0 0 0 not $sub or $sub =~ /^\s+$/