Branch Coverage

lib/Test2/Plugin/FauxHomeDir.pm
Criterion Covered Total %
branch 11 26 42.3


line true false branch
30 3 0 unless (defined $faux)
32 0 3 if ($^O eq 'MSWin32') { }
36 0 0 unless defined $real
45 3 0 unless defined $user
46 3 0 unless defined $user
47 0 3 unless defined $user
49 0 3 unless defined $real and -d $real
60 0 3 if ($^O eq 'MSWin32') { }
0 3 elsif ($^O eq 'cygwin') { }
64 0 0 if (eval { do { require Portable } })
67 0 0 if (eval { do { require File::HomeDir } })
110 1 2 if ($INC{'File/HomeDir/Test.pm'})
116 0 1 if ($real or $new and $$new or not $ctx->hub->is_passing) { }