blib/lib/Class/PObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 26 | 57.6 |
line | true | false | branch |
---|---|---|---|
20 | 7 | 0 | unless (@_) |
33 | 5 | 0 | if (@_ == 2) { } |
0 | 0 | elsif ($_[0] and ref $_[0] eq 'HASH') { } | |
48 | 0 | 5 | if ($class eq 'main') |
60 | 0 | 5 | if (${"${class}::props";}) |
65 | 0 | 5 | unless (@{$$props{'columns'};}) |
73 | 5 | 0 | if $has_id = $_ eq 'id' |
75 | 0 | 5 | unless ($has_id) |
86 | 0 | 247 | if ($method eq $column) |
93 | 12 | 7 | unless (defined $$props{'tmap'} and $$props{'tmap'}{$colname}) |
94 | 4 | 8 | if ($colname eq 'id') |
119 | 0 | 19 | if ($class->UNIVERSAL::can($colname)) |
124 | 37 | 164 | if (@_ == 2) |