blib/lib/JSON/ReadPath.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 10 | 30.0 |
line | true | false | branch |
---|---|---|---|
42 | 0 | 2 | unless my $json_str = $self->from_file || $self->string |
49 | 2 | 0 | unless my $file = $self->file |
51 | 0 | 0 | unless -f $file |
52 | 0 | 0 | unless open my $FH, '<', $file |
63 | 0 | 1 | unless my $path = shift() |