Branch Coverage

blib/lib/SimpleMock/Mocks/Path/Tiny.pm
Criterion Covered Total %
branch 42 44 95.4


line true false branch
33 59 2 if exists $layer->{'PATH_TINY'}{$path}
42 1 18 unless _get_path_mock($_[0])
58 1 1 unless $ENV{'PATH_TINY_CWD'}
70 3 2 if (defined $assert)
71 2 1 unless $assert
80 1 3 unless $self->is_dir
84 0 3 unless $_->{'PATH_TINY'}
103 1 1 $dest_mock->{'data'} ? :
2 1 defined $dest_mock ? :
120 1 1 unless my $digest = _get_path_mock($path)->{'digest'}
135 1 1 defined $exists ? :
143 1 1 _get_path_mock($path)->{'data'} ? :
149 2 5 _get_path_mock($path)->{'data'} ? :
165 1 2 if $args->{'recurse'}
176 1 4 if $args->{'chomp'}
178 1 4 $count ? :
193 1 1 -d $dest ? :
209 2 1 defined $args->{'format'} ? :
210 1 2 unless my $fmt_opts = $formats{$format}
213 2 0 defined $size ? :
222 1 4 unless defined $stat
223 1 3 unless ref $stat eq "ARRAY"