Branch Coverage

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


line true false branch
93 309 6961 if (@_ == 1) { }
6954 7 elsif (@_ == 2) { }
7 0 elsif (@_ % 2 == 0) { }
94 309 0 if ref $_[0] eq "HASH"
96 1 6953 if (&blessed($_[0])) { }
6952 1 elsif (is_class_loaded($_[0]) and $_[0]->isa('Catalyst') and ref $_[1] eq 'HASH') { }
97 1 0 if ref $_[1] eq "HASH"
115 6873 1 ref $_[-1] eq 'HASH' ? :
116 1 6873 if (my $next = $class->next::can)
131 943 34500 if (@_) { }
132 940 3 @_ > 1 ? :
143 6365 28135 unless (${$meta->get_or_add_package_symbol("\$_config");})