Condition Coverage

blib/lib/LCFG/Build/PkgSpec.pm
Criterion Covered Total %
condition 19 26 73.0


and 3 conditions

line !l l&&!r l&&r condition
227 0 3 3 defined $self->base and length $self->base > 0
309 1 1 4 defined $file && length $file
341 1 1 7 defined $file && length $file
402 1 1 1 defined &Scalar::Util::blessed($proto) and $proto->isa('LCFG::Build::PkgSpec')
428 2 0 1 defined $file and length $file

or 2 conditions

line l !l condition
254 1 1 $comp ||= 'gz'
264 0 0 $comp ||= 'gz'
274 0 0 $comp ||= 'gz'
404 2 1 $spec{'vendor'} ||= 'University of Edinburgh'

or 3 conditions

line l !l&&r !l&&!r condition
426 1 0 2 $file ||= $self->metafile