Branch Coverage

blib/lib/Catalyst/Component.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
93 314 6964 if (@_ == 1) { }
6957 7 elsif (@_ == 2) { }
7 0 elsif (@_ % 2 == 0) { }
94 314 0 if ref $_[0] eq "HASH"
96 1 6956 if (&blessed($_[0])) { }
6955 1 elsif (is_class_loaded($_[0]) and $_[0]->isa('Catalyst') and ref $_[1] eq 'HASH') { }
97 1 0 if ref $_[1] eq "HASH"
115 6876 1 ref $_[-1] eq 'HASH' ? :
116 1 6876 if (my $next = $class->next::can)
131 944 34594 if (@_) { }
132 941 3 @_ > 1 ? :
143 6368 28226 unless (${$meta->get_or_add_package_symbol("\$_config");})