Branch Coverage

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


line true false branch
40 59 2 if exists $layer->{'PATH_TINY'}{$normalized_path}
47 1 18 unless _get_path_mock($_[0])
63 1 1 unless $ENV{'PATH_TINY_CWD'}
75 3 2 if (defined $assert)
76 2 1 unless $assert
85 1 3 unless $self->is_dir
89 0 3 unless $_->{'PATH_TINY'}
108 1 1 $dest_mock->{'data'} ? :
2 1 defined $dest_mock ? :
125 1 1 unless my $digest = _get_path_mock($path)->{'digest'}
140 1 1 defined $exists ? :
148 1 1 _get_path_mock($path)->{'data'} ? :
154 2 5 _get_path_mock($path)->{'data'} ? :
170 1 2 if $args->{'recurse'}
181 1 4 if $args->{'chomp'}
183 1 4 $count ? :
198 1 1 -d $dest ? :
214 2 1 defined $args->{'format'} ? :
215 1 2 unless my $fmt_opts = $formats{$format}
218 2 0 defined $size ? :
227 1 4 unless defined $stat
228 1 3 unless ref $stat eq "ARRAY"