Condition Coverage

blib/lib/Archive/Ipkg.pm
Criterion Covered Total %
condition 33 48 68.7


and 3 conditions

line !l l&&!r l&&r condition
103 1 0 1 defined $config_files and ref $config_files
148 0 1 0 defined $$self{'version'} and $$self{'version'} =~ /\S/
151 0 0 1 defined $$self{'architecture'} and $$self{'architecture'} =~ /\S/
280 1 3 1 $version =~ /^[a-zA-Z0-9.+]*$/ and $version =~ /\d/
341 1 0 0 defined $opts and ref $opts
1 0 0 defined $opts and ref $opts and exists $$opts{'mode'}
388 1 0 0 defined $$self{'config_files'} and ref $$self{'config_files'}
419 0 0 0 $filename and defined $data

or 3 conditions

line l !l&&r !l&&!r condition
114 1 1 2 $$self{'sloppy'} or $depends =~ /^[a-z0-9.+-]+(,[a-z0-9.+-]+)*$/
129 1 1 2 $$self{'sloppy'} or $description =~ /\S/
167 1 2 3 $$self{'sloppy'} or $maintainer =~ /\@/
182 1 1 8 $$self{'sloppy'} or $name =~ /^[a-z0-9.+-]+$/
229 1 5 1 $$self{'sloppy'} or $architecture =~ /^arm|all$/
244 1 8 1 $$self{'sloppy'} or $priority =~ /^required|standard|important|optional|extra$/
265 1 23 1 $$self{'sloppy'} or $section =~ /$regex/
280 1 0 5 $$self{'sloppy'} or $version =~ /^[a-zA-Z0-9.+]*$/ and $version =~ /\d/