Condition Coverage

blib/lib/Inline.pm
Criterion Covered Total %
condition 35 191 18.3


and 3 conditions

line !l l&&!r l&&r condition
110 0 0 16 $control =~ /^\S+$/ and not $control =~ /\n/
135 13 3 0 not $option and defined $INC{'File::Spec::Unix'->catfile('Inline', 'Files.pm')}
16 0 0 not $option and defined $INC{'File::Spec::Unix'->catfile('Inline', 'Files.pm')} and Inline::Files::get_filename($pkg)
178 0 0 3 $language_id =~ /^\S+$/ and not $language_id =~ /\n/
226 8 0 0 $version_requested and not $version_printed
285 0 0 13 $o->{'INLINE'}{'ILSM_suffix'} ne 'so' and $o->{'INLINE'}{'ILSM_suffix'} ne 'dll'
0 0 13 $o->{'INLINE'}{'ILSM_suffix'} ne 'so' and $o->{'INLINE'}{'ILSM_suffix'} ne 'dll' and $o->{'INLINE'}{'ILSM_suffix'} ne 'bundle'
0 0 13 $o->{'INLINE'}{'ILSM_suffix'} ne 'so' and $o->{'INLINE'}{'ILSM_suffix'} ne 'dll' and $o->{'INLINE'}{'ILSM_suffix'} ne 'bundle' and $o->{'INLINE'}{'ILSM_suffix'} ne 'sl'
0 13 0 $o->{'INLINE'}{'ILSM_suffix'} ne 'so' and $o->{'INLINE'}{'ILSM_suffix'} ne 'dll' and $o->{'INLINE'}{'ILSM_suffix'} ne 'bundle' and $o->{'INLINE'}{'ILSM_suffix'} ne 'sl' and ref $o eq 'Inline'
385 0 32 0 ref $value and ref $value ne 'ARRAY'
445 16 0 0 UNTAINT() and SAFEMODE()
16 0 0 UNTAINT() and SAFEMODE() and not $o->{'CONFIG'}{'DIRECTORY'}
455 0 0 16 $o->{'CONFIG'}{'CLEAN_AFTER_BUILD'} && !$o->{'CONFIG'}{'REPORTBUG'}
492 0 0 0 $dirparts[-2] eq 'blib' and $dirparts[-1] eq 'lib'
661 0 0 11 defined $code and $code
663 10 0 1 $code =~ m[[/\\:]] and $code =~ m(^[/\\:\w.\-\ \$\[\]<>]+$)
694 0 0 0 defined $INC{'File::Spec::Unix'->catfile('Inline', 'Files.pm')} and $Inline::Files::VERSION =~ /^\d\.\d\d$/
0 0 0 defined $INC{'File::Spec::Unix'->catfile('Inline', 'Files.pm')} and $Inline::Files::VERSION =~ /^\d\.\d\d$/ and $Inline::Files::VERSION ge '0.51'
787 0 16 0 defined $config{'version'} and $config{'version'} =~ /TRIAL/
1098 0 0 0 m[^/] and -d $_
1141 0 0 0 $maybedir and -d $maybedir
0 0 0 $maybedir and -d $maybedir and $dir =~ /\w{36,}/
1245 0 0 0 $o->{'INLINE'}{'object_ready'} and $o->{'CONFIG'}{'FORCE_BUILD'}
1343 0 0 0 $maybefile and -f $maybefile
1370 0 0 0 $env and -d $env
0 0 0 $env and -d $env and -w $env
0 0 0 $cwd = abs_path('.') and $cwd ne $home
0 0 0 $cwd = abs_path('.') and $cwd ne $home and -d 'File::Spec'->catdir($cwd, '.Inline')
0 0 0 $cwd = abs_path('.') and $cwd ne $home and -d 'File::Spec'->catdir($cwd, '.Inline') and -w 'File::Spec'->catdir($cwd, '.Inline')
1383 0 0 0 $bin = $FindBin::Bin and -d 'File::Spec'->catdir($bin, '.Inline')
0 0 0 $bin = $FindBin::Bin and -d 'File::Spec'->catdir($bin, '.Inline') and -w 'File::Spec'->catdir($bin, '.Inline')
0 0 0 $home and -d 'File::Spec'->catdir($home, '.Inline')
0 0 0 $home and -d 'File::Spec'->catdir($home, '.Inline') and -w 'File::Spec'->catdir($home, '.Inline')
0 0 0 defined $cwd and $cwd
0 0 0 defined $cwd and $cwd and -d 'File::Spec'->catdir($cwd, $did)
0 0 0 defined $cwd and $cwd and -d 'File::Spec'->catdir($cwd, $did) and -w 'File::Spec'->catdir($cwd, $did)
0 0 0 defined $bin and $bin
0 0 0 defined $bin and $bin and -d 'File::Spec'->catdir($bin, $did)
0 0 0 defined $bin and $bin and -d 'File::Spec'->catdir($bin, $did) and -w 'File::Spec'->catdir($bin, $did)
0 0 0 defined $cwd and $cwd
0 0 0 defined $cwd and $cwd and -d $cwd
0 0 0 defined $cwd and $cwd and -d $cwd and -w $cwd
0 0 0 defined $cwd and $cwd and -d $cwd and -w $cwd and _mkdir('File::Spec'->catdir($cwd, $did), 511)
0 0 0 defined $bin and $bin
0 0 0 defined $bin and $bin and -d $bin
0 0 0 defined $bin and $bin and -d $bin and -w $bin
0 0 0 defined $bin and $bin and -d $bin and -w $bin and _mkdir('File::Spec'->catdir($bin, $did), 511)

or 2 conditions

line l !l condition
123 13 3 shift() || ''
365 3 0 do { $DATA{$pkg} }->[0] || ''
440 0 16 $o->{'CONFIG'}{'UNTAINT'} || 0
539 0 0 $o->{'API'}{'version'} || '0.00'
1367 0 0 $ENV{'PERL_INLINE_DIRECTORY'} || ''
1424 23 0 shift() || 511
1606 0 0 $old_version ||= '???'

or 3 conditions

line l !l&&r !l&&!r condition
102 19 7 0 $CONFIG{$pkg}{'template'} ||= $default_config
135 0 0 16 $option =~ /^(FILE|BELOW)$/i or not $option and defined $INC{'File::Spec::Unix'->catfile('Inline', 'Files.pm')} and Inline::Files::get_filename($pkg)
2 3 11 $option eq 'DATA' or not $option
175 3 0 0 $CONFIG{$pkg}{'template'} ||= $default_config
267 13 0 0 not $o->{'INLINE'}{'object_ready'} or $o->{'CONFIG'}{'PRINT_INFO'}
280 0 0 13 $o->{'INLINE'}{'object_ready'} or not length $o->{'INLINE'}{'ILSM_suffix'}
448 0 0 0 $< == 0 or $> == 0
734 16 0 0 $o->{'CONFIG'}{'DIRECTORY'} || $o->find_temp_dir
787 0 16 0 defined $config{'version'} and $config{'version'} =~ /TRIAL/ or $config{'version'} >= 0.4
1041 0 0 13 $Inline::Config{'apiversion'} || $Inline::Config{'xs_apiversion'}
1098 0 0 0 -W $_ || -o $_
1341 0 0 0 $name eq $dot or $name eq $dotdot