Condition Coverage

blib/lib/LCFG/Build/PkgSpec.pm
Criterion Covered Total %
condition 17 20 85.0


and 3 conditions

line !l l&&!r l&&r condition
218 0 2 3 defined $self->base and length $self->base > 0
249 1 1 4 defined $file && length $file
281 1 1 7 defined $file && length $file
342 1 1 1 defined &Scalar::Util::blessed($proto) and $proto->isa('LCFG::Build::PkgSpec')
368 2 1 0 defined $file and length $file

or 2 conditions

line l !l condition
344 2 1 $spec{'vendor'} ||= 'University of Edinburgh'

or 3 conditions

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