| blib/lib/Catmandu/Env.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 20 | 29 | 68.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 79 | 0 | 0 | 65 | -d $lib_dir and -r $lib_dir |
| 189 | 126 | 0 | 1 | is_instance($name) and index(ref $name, $ns) == 0 |
| 192 | 95 | 9 | 22 | $cache and not @_ |
| 104 | 10 | 12 | $cache and not @_ and my $instance = $cache->{$key} | |
| 210 | 8 | 7 | 10 | $cache and not @_ |
| line | l | !l | condition |
|---|---|---|---|
| 200 | 10 | 15 | $c->{'options'} || {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 137 | 7 | 2 | 0 | $_[0] || $self->default_fixer |
| 187 | 119 | 8 | 0 | $name || $default_name |
| 199 | 25 | 0 | 0 | $c->{'package'} || $default_package |
| 218 | 89 | 0 | 0 | $name || $default_package |