Branch Coverage

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


line true false branch
15 13 11 if $args{'data'}
16 1 23 if $args{'song'}
17 10 14 if $args{'songs'}
18 24 0 unless $self->{'debug'}
25 0 13 if ($data =~ s[^irealb(ook)?://][] and not $self->{'variant'})
26 0 0 $1 ? :
32 2 11 if (@a > 1) { }
0 11 elsif ($self->{'variant'} eq 'irealbook') { }
42 0 0 if (@b)
57 0 15 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