Condition Coverage

blib/lib/VLGal/File/Factory.pm
Criterion Covered Total %
condition 5 15 33.3


and 3 conditions

line !l l&&!r l&&r condition
157 1 0 0 ref $_[0] and &UNIVERSAL::isa($_[0], 'VLGal::File::Factory')
0 0 1 not ref $_[0] and $_[0] eq 'VLGal::File::Factory'

or 3 conditions

line l !l&&r !l&&!r condition
110 0 1 0 ref $class || $class
140 0 1 0 $mime_type eq 'image/gif' or $mime_type eq 'image/jpeg'
1 0 0 $mime_type eq 'image/gif' or $mime_type eq 'image/jpeg' or $mime_type eq 'image/png'