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
143 5524 8 5535 not defined $val and $i < @{$self->{'_schemes'};}
239 0 6 3 -r 'File::Spec'->catdir($path, $fn) and $fn =~ /(.+)\.pm$/

or 2 conditions

line l !l condition
97 13 0 shift() || 'Graphics::ColorNames'
130 6934 0 shift() || ''
368 3 5 $separator || ','

or 3 conditions

line l !l&&r !l&&!r condition
207 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')
236 3 0 0 'DirHandle'->new($path) || croak("Unable to access directory $path")