Branch Coverage

blib/lib/Data/iRealPro/Playlist.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
15 12 10 if $args{'data'}
16 1 21 if $args{'song'}
17 9 13 if $args{'songs'}
18 22 0 unless $self->{'debug'}
25 0 12 if ($data =~ s[^irealb(ook)?://][] and not $self->{'variant'})
26 0 0 $1 ? :
32 2 10 if (@a > 1) { }
0 10 elsif ($self->{'variant'} eq 'irealbook') { }
42 0 0 if (@b)
57 0 14 if $@
82 0 0 $v eq 'irealbook' ? :
87 0 0 if defined $self->{'name'}
101 0 9 if (not $name and @{$self->{'songs'};} > 1)
105 3 6 if $name