Condition Coverage

blib/lib/Graphics/ColorNames.pm
Criterion Covered Total %
condition 17 27 62.9


and 3 conditions

line !l l&&!r l&&r condition
121 5525 8 5536 not defined $val and $i < @{$self->{'_schemes'};}
217 0 6 3 -r 'File::Spec'->catdir($path, $fn) and $fn =~ /(.+)\.pm$/

or 2 conditions

line l !l condition
75 13 0 shift() || 'Graphics::ColorNames'
108 6935 0 shift() || ''
343 3 6 $separator || ','

or 3 conditions

line l !l&&r !l&&!r condition
185 1 1 1 ref $scheme eq 'GLOB' or ref $scheme eq 'IO::File'
2 1 0 ref $scheme eq 'GLOB' or ref $scheme eq 'IO::File' or $scheme->isa('IO::File')
2 0 0 ref $scheme eq 'GLOB' or ref $scheme eq 'IO::File' or $scheme->isa('IO::File') or ref $scheme eq 'FileHandle'
1 0 0 ref $scheme eq 'GLOB' or ref $scheme eq 'IO::File' or $scheme->isa('IO::File') or ref $scheme eq 'FileHandle' or $scheme->isa('FileHandle')
214 3 0 0 'DirHandle'->new($path) || croak("Unable to access directory $path")