Branch Coverage

blib/lib/Catalyst/Plugin/CurrentComponents.pm
Criterion Covered Total %
branch 12 36 33.3


line true false branch
13 10 0 if (my $config = +(shift())->config->{'Plugin::CurrentComponents'}) { }
14 10 0 exists $config->{'model_instance_from_return'} ? :
23 0 0 if (my $config = +(shift())->config->{'Plugin::CurrentComponents'}) { }
24 0 0 exists $config->{'model_instance_from_state'} ? :
33 0 0 if (my $config = +(shift())->config->{'Plugin::CurrentComponents'}) { }
34 0 0 exists $config->{'view_instance_from_return'} ? :
42 0 3 unless ref $self
43 3 0 if (defined $model)
51 0 3 unless ref $self
52 3 0 if (defined $model)
53 0 3 unless ref $model
61 0 1 unless ref $self
62 1 0 if (defined $view)
70 0 2 unless ref $self
71 2 0 if (defined $view)
72 0 2 unless ref $view
81 0 0 unless $view_name
90 0 0 unless $model_name