Condition Coverage

blib/lib/FlashVideo/RTMPDownloader.pm
Criterion Covered Total %
condition 2 33 6.0


and 3 conditions

line !l l&&!r l&&r condition
20 0 0 0 -s $file and not $$rtmp_data{'live'}
32 0 0 0 $$rtmp_data{'live'} and $self->action eq 'play'
56 0 0 0 $prog eq 'flvstreamer' and $$rtmp_data{'rtmp'} =~ /^rtmpe:/ || $$rtmp_data{'swfhash'}
69 0 0 0 $return != 0 and "@errors" =~ /failed to connect/i
76 0 0 0 $file ne '-' and -s $file < 100 || !$self->check_file($file)
164 0 0 0 $$self{'downloaded'} and $percent != 0
182 0 0 0 $l =~ /^RTMPDump v([0-9.]+)/ and $1 < 2.2
200 0 0 0 defined $$self{'stream'} and $$self{'downloaded'} > 300000

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $$rtmp_data{'rtmp'} =~ /^rtmpe:/ || $$rtmp_data{'swfhash'}
76 0 0 0 -s $file < 100 || !$self->check_file($file)
116 2 2 0 ($debug && $$rtmp_data{$arg} ? $self->shell_escape($$rtmp_data{$arg}) : $$rtmp_data{$arg}) || ()