Condition Coverage

blib/lib/CPAN/PackageDetails/Entries.pm
Criterion Covered Total %
condition 12 18 66.6


and 3 conditions

line !l l&&!r l&&r condition
222 1477 0 5 defined $warning and warnings::enabled()
227 1476 3 3 $self->disallow_alpha_versions and $alpha
249 24 1453 1 $self->allow_packages_only_once and $self->already_added($args{'package name'})
350 16 0 0 $self->disallow_alpha_versions and $v->is_alpha

or 3 conditions

line l !l&&r !l&&!r condition
236 1478 0 1 $args{'package name'} =~ / ^ [A-Za-z0-9_]+ (?: (?:\::|') [A-Za-z0-9_]+ )* \z /x or $self->allow_suspicious_names
346 0 0 16 $w || $@