blib/lib/Class/Lego/Constructor.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 24 | 75.0 |
line | true | false | branch |
---|---|---|---|
51 | 0 | 4 | if (&Scalar::Defer::is_deferred($v)) { } |
2 | 2 | elsif (ref $v and ref $v eq 'CODE') { } | |
74 | 0 | 10 | if (ref $v ne 'HASH') |
77 | 4 | 6 | if (exists $$v{'default'}) { } |
6 | 0 | elsif (exists $$v{'default_value'}) { } | |
78 | 0 | 4 | if (exists $$v{'default_value'}) |
83 | 0 | 4 | if (&Scalar::Defer::is_deferred($default)) { } |
2 | 2 | elsif (ref $default and ref $default eq 'CODE') { } | |
110 | 7 | 6 | unless $fields |
112 | 26 | 4 | unless (exists $f{$k}) |
117 | 20 | 4 | unless (exists $f{$k}) |
131 | 0 | 13 | unless defined $fields |