| lib/Badger/Class/Methods.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 26 | 76.9 |
| line | true | false | branch |
|---|---|---|---|
| 91 | 13 | 42 | @_ == 2 ? : |
| 103 | 1 | 7 | if @_ == 1 |
| 106 | 5 | 2 | if @_ == 2 and not ref $_[1] |
| 110 | 1 | 1 | @_ == 1 && ref $_[0] eq 'HASH' ? : |
| 142 | 0 | 9 | @_ > 1 ? : |
| 153 | 0 | 143 | if @$methods != 1 |
| 158 | 0 | 143 | if ref $method eq "CODE" |
| 174 | 0 | 18 | if $seen->{$name} |
| 186 | 10 | 10 | if $name eq "DESTROY" |
| 187 | 7 | 3 | if (my $method = $this->can($name, @args)) |
| 205 | 495 | 0 | @_ == 1 ? : |
| 208 | 495 | 0 | unless &is_object("Badger::Class", $target) |
| 212 | 485 | 10 | unless ref $methods eq "ARRAY" |