Branch Coverage

blib/lib/MooseX/Declare/Context.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
223 1 63 unless $len
258 61 0 unless exists $args{'inject_cleanup_code_parts'}
266 61 0 if ($args{'inject_cleanup_code_parts'})
273 60 1 if ($self->peek_next_char eq '{') { }
280 0 1 unless $self->peek_next_char eq ';'
285 0 1 unless exists $args{'missing_block_handler'}
299 183 4 unless ref $section
306 313 61 !ref($_) ? :
332 1 64 if substr($linestr, $self->offset, 1) =~ /[{;]/
338 3 61 if not defined $word or $word =~ /^(?:extends|with|is)$/