Branch Coverage

blib/lib/Catalyst/Controller/SimpleCAS/Store.pm
Criterion Covered Total %
branch 1 22 4.5


line true false branch
25 0 0 unless my $data = &decode_base64(shift())
35 0 0 if $self->content_exists($checksum)
46 0 0 unless $result
57 0 0 unless my $content_type = $self->content_mimetype($checksum)
59 0 0 unless $mime_type eq 'image'
61 0 0 unless my($width, $height) = imgsize($self->checksum_to_path($checksum))
79 0 0 if ($MIME and $MIME->content_type)
87 0 0 unless -f $file
105 0 0 unless -f $file
108 0 0 unless $fh->open('< ' . $file)
119 0 1 unless $FH->open('< ' . $file)