| blib/lib/Class/PObject.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 17 | 26 | 65.3 |
| line | true | false | branch |
|---|---|---|---|
| 22 | 16 | 0 | unless (@_) |
| 35 | 5 | 3 | if (@_ == 2) { } |
| 3 | 0 | elsif ($_[0] and ref $_[0] eq 'HASH') { } | |
| 50 | 0 | 8 | if ($class eq 'main') |
| 62 | 0 | 8 | if (${"${class}::props";}) |
| 67 | 0 | 8 | unless (@{$props->{'columns'};}) |
| 75 | 8 | 0 | if $has_id = $_ eq 'id' |
| 77 | 0 | 8 | unless ($has_id) |
| 88 | 0 | 300 | if ($method eq $column) |
| 95 | 18 | 7 | unless (defined $props->{'tmap'} and $props->{'tmap'}{$colname}) |
| 96 | 7 | 11 | if ($colname eq 'id') |
| 121 | 0 | 25 | if ($class->UNIVERSAL::can($colname)) |
| 126 | 41 | 169 | if (@_ == 2) |