line |
true |
false |
branch |
47
|
2 |
6 |
unless is_hash_ref($map)
|
49
|
6 |
0 |
if is_string($map->{'_id'})
|
56
|
0 |
2 |
unless is_string($id)
|
66
|
0 |
2 |
if defined $err and scalar @$err
|
79
|
0 |
5 |
unless is_string($id)
|
84
|
2 |
3 |
unless _is_valid_mapping($mapping)
|
88
|
0 |
3 |
unless -d $mapping->{'_path'}
|
98
|
2 |
0 |
is_string($path) ? :
|
114
|
1 |
0 |
if (is_string($path))
|
119
|
0 |
1 |
if defined $err and scalar @$err
|
131
|
1 |
0 |
if (-d $self->base_dir)
|
136
|
0 |
1 |
if defined $err and scalar @$err
|
154
|
3 |
3 |
unless defined $mapping
|
156
|
0 |
3 |
unless _is_valid_mapping($mapping)
|
162
|
0 |
3 |
unless -d $mapping->{'_path'}
|