line |
true |
false |
branch |
61
|
1 |
4 |
unless $def |
64
|
0 |
4 |
unless exists $args{'defer_methods'} |
65
|
4 |
0 |
unless exists $args{'model_base'} |
69
|
3 |
4 |
unless defined $type |
70
|
0 |
4 |
if substr($type, 0, 2) eq '::' |
79
|
3 |
2 |
unless ref $details |
85
|
0 |
5 |
if (defined(my $from = $details->{'from'})) { } |
92
|
3 |
2 |
unless $details->{'collection'} |
94
|
2 |
3 |
if (my $type = $details->{'collection'}) { } |
101
|
0 |
6 |
if @_ |
106
|
0 |
3 |
if $type =~ /::/ |
111
|
4 |
0 |
unless @_ |
123
|
0 |
4 |
if $self->can('init') |
128
|
0 |
0 |
if ref $v |
131
|
0 |
0 |
if shift() |
146
|
2 |
0 |
unless exists $defined{$_} or $_->can('new') |
152
|
0 |
13 |
if ($pkg->can($k)) { } |
160
|
0 |
4 |
if ($args{'defer_methods'}) { } |