Branch Coverage

blib/lib/Ark/Models.pm
Criterion Covered Total %
branch 13 40 32.5


line true false branch
25 6 8 if (($flag || '') =~ /^-base$/i) { }
34 0 8 if ($pkg eq 'Ark::Models')
52 1 0 if $ENV{'ARK_HOME'}
59 0 0 if (my $path = $INC{$file})
64 0 0 if (-d $path)
85 0 2 if (-e $file)
87 0 0 if $@
88 0 0 unless defined $c
89 0 0 unless ref $c eq 'HASH'
104 0 0 unless my $class = $info->{'class'}
110 0 0 if ($info->{'deref'} and my $args = $info->{'args'}) { }
0 0 elsif ($info->{'args'}) { }
111 0 0 if (ref $args eq 'HASH') { }
0 0 elsif (ref $args eq 'ARRAY') { }
133 10 0 unless ref $self
142 10 1 unless ref $self
147 8 3 if $obj
150 3 0 if ($target =~ /::/) { }
154 3 0 if $ns = $self->registered_namespaces->{$target}
156 0 3 unless $ns