Condition Coverage

blib/lib/Music/Audioscrobbler/Submit.pm
Criterion Covered Total %
condition 3 42 7.1


and 3 conditions

line !l l&&!r l&&r condition
250 0 0 0 $$self{'session_id'} and time - $$self{'timestamp'} < 3600
370 0 0 0 $$self{'session_id'} and time - $$self{'timestamp'} < 3600
538 1 0 0 exists $$self{'logfile'} and $$self{'logfile'}
583 0 0 0 exists $$self{'scrobble_queue'} and $$self{'scrobble_queue'}
602 0 0 0 exists $$self{'ua'} and ref $$self{'ua'}
660 0 0 0 $k eq 'secs' and exists $$info{'secs'}
0 0 0 $k eq 'secs' and exists $$info{'secs'} and $$info{'secs'} > 30
692 0 0 0 $self->options->{'get_mbid_from_mb'} and not $info->mb_trackid

or 2 conditions

line l !l condition
117 1 0 shift() || {}
520 0 0 shift() || {}
689 0 0 int $info->secs || 300
690 0 0 $info->album || ''
691 0 0 $info->track || ''
702 0 0 $info->mb_trackid || ''

or 3 conditions

line l !l&&r !l&&!r condition
539 1 0 0 not $self->options->{'logfile'} or $self->options->{'logfile'} eq 'STDERR'
661 0 0 0 $self->options->{'musictag_overwrite'} or not $$info{$k}