Branch Coverage

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


line true false branch
93 307 6957 if (@_ == 1) { }
6952 5 elsif (@_ == 2) { }
5 0 elsif (@_ % 2 == 0) { }
94 307 0 if ref $_[0] eq "HASH"
96 1 6951 if (&blessed($_[0])) { }
6950 1 elsif (is_class_loaded($_[0]) and $_[0]->isa('Catalyst') and ref $_[1] eq 'HASH') { }
97 1 0 if ref $_[1] eq "HASH"
115 6871 1 ref $_[-1] eq 'HASH' ? :
116 1 6871 if (my $next = $class->next::can)
131 943 34442 if (@_) { }
132 940 3 @_ > 1 ? :
143 6362 28080 unless (${$meta->get_or_add_package_symbol("\$_config");})