Condition Coverage

blib/lib/MP3/Icecast.pm
Criterion Covered Total %
condition 3 46 6.5


and 3 conditions

line !l l&&!r l&&r condition
158 0 0 1 -d $dir && -r $dir
224 0 0 2 -f $file && -r $file
589 0 0 1 defined $search and defined $replace

or 2 conditions

line l !l condition
334 0 0 $info->secs || -1
335 0 0 $info->artist || 'Unknown Artist'
336 0 0 $info->album || 'Unknown Album'
337 0 0 $info->title || 'Unknown Title'
376 0 0 $info->secs || -1
377 0 0 $info->artist || 'Unknown Artist'
378 0 0 $info->album || 'Unknown Album'
379 0 0 $info->title || 'Unknown Title'
416 0 0 $info->genre || 'unknown genre'
417 0 0 $self->description($file) || 'unknown'
418 0 0 $info->bitrate || 0
419 0 0 -s $file || 0
423 0 0 $self->_open_file($file) || die("couldn't open file ${file}: $!")
453 0 0 read($fh, $data, 2048) || (last)
515 0 0 $self->prefix || ''
0 0 $path || ''
0 0 $self->postfix || ''

or 3 conditions

line l !l&&r !l&&!r condition
702 0 0 0 $$data{'title'} || basename($file, ('.mp3', '.MP3', '.mp2', '.MP2'))