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

or 2 conditions

line l !l condition
74 13 0 shift() || 'Graphics::ColorNames'
107 6935 0 shift() || ''
342 3 6 $separator || ','

or 3 conditions

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