Condition Coverage

/root/.cpan/build/Imager-1.019-0/blib/lib/Imager/Font.pm
Criterion Covered Total %
condition 10 38 26.3


and 3 conditions

line !l l&&!r l&&r condition
79 1 0 0 $drivers{$drv}{'checktype'} && !$Imager::formats{$drv}
2 0 1 eval { do { require $drivers{$drv}{'module'}; 1 } } and not $drivers{$drv}{'checktype'} && !$Imager::formats{$drv}
94 1 2 2 $driver->{'files'} and $file =~ /$driver->{'files'}/i
111 1 0 0 $drivers{$type}{'checktype'} and not $Imager::formats{$type}
190 0 0 0 $valign and $valign =~ /^(?:top|center|bottom|baseline)$/
194 0 0 0 $halign and $halign =~ /^(?:left|start|center|end|right)$/
255 0 0 0 @box and exists $input{'x'}
0 0 0 @box and exists $input{'x'} and exists $input{'y'}
0 0 0 @box and $input{'canon'}
342 2 0 0 $drivers{$type} and $drivers{$type}{'class'} ne $class

or 2 conditions

line l !l condition
177 0 0 $input{'image'} || 'Imager'

or 3 conditions

line l !l&&r !l&&!r condition
247 0 0 0 $input{'size'} ||= $self->{'size'}
329 0 3 2 delete $opts{'description'} || $class