blib/lib/WWW/Github/Files/Mock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 2 | unless $path =~ m[^/] |
19 | 1 | 1 | $path eq '' ? : |
20 | 0 | 2 | unless -e $full_path |
22 | 1 | 1 | -d $full_path ? : |
36 | 1 | 4 | unless defined $name |
42 | 0 | 2 | unless opendir my $dh, $$self{'full_path'} |
48 | 4 | 12 | -d $full_path ? : |
65 | 0 | 13 | unless defined $name |
71 | 0 | 2 | unless open my $fh, '<', $$self{'full_path'} |