Branch Coverage

blib/lib/Catalyst/View/ByCode/Declare.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
41 1 0 if (my $length = Devel::Declare::toke_scan_word($Offset, 1))
64 1 0 if (my $length = Devel::Declare::toke_scan_word($Offset, 1))
77 0 0 if (my $length = Devel::Declare::toke_scan_word($Offset, 1))
91 0 0 if (next_char() =~ /\A[a-zA-Z0-9_]/msx)
103 7 11 if (next_char() eq '(')
134 0 18 if (next_char() =~ /\A[a-zA-Z0-9_]/msx)
147 0 18 if (scalar @class)
155 7 11 if ($proto)
165 7 11 if ($extras)
166 7 0 if (next_char() eq '{') { }
203 7 0 if (next_char() eq '{')
217 0 0 if (next_char() eq '{')
269 1 0 if $add_to_array
283 0 18 if declarator_is_hash_key()
316 0 1 if declarator_is_hash_key()
319 1 0 if (next_word() =~ /\A [a-zA-Z_]\w* \z/msx) { }
322 1 0 if (next_char() eq '{')