Condition Coverage

blib/lib/Netx/WebRadio/Station/Shoutcast.pm
Criterion Covered Total %
condition 1 19 5.2


and 3 conditions

line !l l&&!r l&&r condition
309 0 0 0 $self->port and $self->host

or 2 conditions

line l !l condition
140 0 0 $self->path || '/'
169 0 0 $$self{'_tempHeader'} || ''
261 0 0 $$self{'_newMetaDataLength'} ||= 0
262 0 0 $$self{'_newMetaData'} ||= ''
354 0 1 $self->blocking || 0

or 3 conditions

line l !l&&r !l&&!r condition
141 0 0 0 $$self{'_header'} || "GET $path HTTP/1.0\r\n" . 'Host:' . $self->host . "\r\n" . "Accept:*/*\r\n" . 'User-Agent:' . $self->useragent . "\r\n" . "Icy-Metadata:1\r\n\r\n"
238 0 0 0 $$self{'_restLength'} ||= $$self{'_metaLength'} + 1