| lib/Badger/Class/Methods.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 12 | 17 | 70.5 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 106 | 1 | 1 | 5 | @_ == 2 and not ref $_[1] | 
| 110 | 1 | 0 | 1 | @_ == 1 && ref $_[0] eq 'HASH' | 
| line | l | !l | condition | 
|---|---|---|---|
| 46 | 8 | 0 | shift() || (return $class->error_msg('no_target')) | 
| 48 | 8 | 0 | shift() || (return $class->error_msg('no_type')) | 
| 50 | 8 | 0 | shift() || (return $class->error_msg('no_methods', $type)) | 
| 52 | 8 | 0 | $class->can($type) || (return $class->error_msg('bad_type', $type)) | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 177 | 8 | 8 | 2 | $this->SUPER::can($name) || $this->$method($name, @args) |