Branch Coverage

blib/lib/IO/Easy.pm
Criterion Covered Total %
branch 23 36 63.8


line true false branch
18 0 28 scalar grep({$_ eq 'no_script';} @params) ? :
19 0 28 scalar grep({$_ eq 'project';} @params) ? :
24 9 19 if defined *{"${callpkg}::file";}{'CODE'} and &Class::Easy::sub_fullname(*{"${callpkg}::file";}{'CODE'}) eq 'IO::Easy::__ANON__'
26 19 0 if ($script_ok or $import_ok)
28 0 19 $script_ok ? :
35 0 19 if $io_easy_subclass
40 3 6 if @_ > 0
72 5 38 if $self->can('_init')
81 12 13 if (-f $$self{'path'}) { }
13 0 elsif (-d $$self{'path'}) { }
181 1 2 unless (-e $self)
192 1 2 if ($FS->file_name_is_absolute($$self{'path'})) { }
205 0 13 if $FS->file_name_is_absolute($relative_to)
217 0 0 if ($relative)
230 7 8 unless @_
236 0 24 if ($stat_opt =~ /^(\d+)$/) { }
24 0 elsif (exists $$stat_methods_hash{$stat_opt}) { }
272 0 0 if $updir eq ''