| lib/Web/Components/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 21 | 22 | 100.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 47 | 6 | 2 | 13 | &blessed($x) and $x->can($k) | 
| 62 | 1 | 1 | 5 | $_[0] && ref $_[0] eq 'ARRAY' | 
| 95 | 1 | 2 | 1 | $cfgcomps and $cfgcomps = $cfgcomps->{$base} | 
| line | l | !l | condition | 
|---|---|---|---|
| 86 | 1 | 3 | $opts->{'components'} //= {} | 
| 87 | 3 | 1 | &deref($config, 'components') // {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 47 | 11 | 1 | 1 | $x->$k // $default | 
| 48 | 2 | 1 | 3 | $x->{$k} // $default | 
| 73 | 1 | 3 | 0 | $opts->{'config'} // $app->config |