blib/lib/VLGal/File/Factory.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 18 | 50.0 |
line | true | false | branch |
---|---|---|---|
116 | 0 | 1 | defined $_[0] ? : |
119 | 0 | 1 | unless ref $opt eq 'HASH' |
127 | 1 | 0 | defined $_[0] ? : |
133 | 0 | 1 | if -d $fs_name |
136 | 1 | 0 | unless defined $MMAGIC |
140 | 1 | 0 | if ($mime_type eq 'image/gif' or $mime_type eq 'image/jpeg' or $mime_type eq 'image/png') |
157 | 0 | 1 | if (ref $_[0] and &UNIVERSAL::isa($_[0], 'VLGal::File::Factory')) { } |
1 | 0 | elsif (not ref $_[0] and $_[0] eq 'VLGal::File::Factory') { } | |
165 | 0 | 1 | if defined $SINGLETON |