Branch Coverage

blib/lib/Data/iRealPro/Playlist.pm
Criterion Covered Total %
branch 14 28 50.0


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