Branch Coverage

blib/lib/PlayStation/MemoryCard.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
48 0 0 if ($displayflag >= 17 or $displayflag <= 19)
53 0 0 if ($firstnul != -1)
72 0 0 unless substr($res, 0, 2) eq "MC"
102 0 0 if ($filename ne '-') { }
103 0 0 unless open $fh, "<", $filename
113 0 0 unless $res and $res <= 131072
115 0 0 if (is_mcd($self{'contents'})) { }
0 0 elsif (is_mcs($self{'contents'})) { }
0 0 elsif ($res <= 122880 and $res >= 8192 and $res % 8192 == 0) { }
0 0 elsif (substr($res, 0, 2) eq 'MC') { }
123 0 0 $filename ne 'STDIN' ? :
124 0 0 $overridefilename ? :
134 0 0 if ($self{'type'} eq "mcd" or $self{'type'} eq "mcs")
146 0 0 unless $self->{'type'} eq "mcd"
156 0 0 if ($entry->{'inuse'} == 81)
180 0 0 unless $self->{'codename'}
190 0 0 if ($self->{'type'} eq 'mcs') { }
0 0 elsif ($self->{'type'} eq 'rawsave') { }
205 0 0 unless $blockcount % 1 == 0
206 0 0 unless $blockcount >= 1
207 0 0 $blockcount == 1 ? :
221 0 0 if ($blockcount > 1)