Condition Coverage

blib/lib/Perlito6/Perl5/Emitter.pm
Criterion Covered Total %
condition 41 132 31.0


and 2 conditions

line l !l condition
556 0 96 $self->{'otherwise'} && scalar @{$self->{'otherwise'}->stmts;}

and 3 conditions

line !l l&&!r l&&r condition
51 1123 0 1804 $c ge 'a' and $c le 'z'
1116 4 3 $c ge 'A' and $c le 'Z'
832 14 274 $c ge '0' and $c le '9'
262 511 144 0 $self->{'sigil'} eq '@' and $self->{'twigil'} eq '*'
655 0 0 $self->{'sigil'} eq '@' and $self->{'twigil'} eq '*' and $self->{'name'} eq 'ARGS'
367 1 0 0 Main::isa($self->{'invocant'}, 'Apply') and $self->{'invocant'}->code eq 'prefix:<@>'
509 0 0 3 defined $self->{'arguments'} ? $self->{'arguments'} : ($self->{'arguments'} ||= bless([], 'ARRAY')) and scalar @{defined $self->{'arguments'} ? $self->{'arguments'} : ($self->{'arguments'} ||= bless([], 'ARRAY'));} == 1
523 86 58 5 Main::isa($parameters, 'Var') and $parameters->sigil eq '@'
80 58 6 Main::isa($parameters, 'Decl') and $parameters->var->sigil eq '@'
532 80 58 0 Main::isa($parameters, 'Var') and $parameters->sigil eq '%'
80 56 2 Main::isa($parameters, 'Decl') and $parameters->var->sigil eq '%'
572 4 1 2 Main::isa($cond, 'Var') and $cond->sigil eq '@'
596 3 0 5 Main::isa($cond, 'Var') and $cond->sigil eq '@'

or 2 conditions

line l !l condition
83 0 0 $self->{'body'} ||= bless([], 'ARRAY')
172 0 0 $self->{'stmts'} ||= bless([], 'ARRAY')
340 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
343 0 7 $self->{'arguments'} ||= bless([], 'ARRAY')
347 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
350 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
365 0 47 $self->{'arguments'} ||= bless([], 'ARRAY')
446 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
449 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
452 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
461 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
464 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
467 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
470 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
473 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
476 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
479 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
482 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
485 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
488 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
491 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
494 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
497 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
500 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
503 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
506 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
509 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
510 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
512 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
514 0 0 $self->{'arguments'} ||= bless([], 'ARRAY')
664 0 0 $self->{'block'} ||= bless([], 'ARRAY')
687 0 0 $self->{'block'} ||= bless([], 'ARRAY')

or 3 conditions

line l !l&&r !l&&!r condition
51 1804 0 1123 $c ge 'a' and $c le 'z' or $c ge 'A' and $c le 'Z'
3 0 1120 $c ge 'a' and $c le 'z' or $c ge 'A' and $c le 'Z' or $c ge '0' and $c le '9'
274 0 846 $c ge 'a' and $c le 'z' or $c ge 'A' and $c le 'Z' or $c ge '0' and $c le '9' or exists $Hash_safe_char->{$c}
523 5 0 144 Main::isa($parameters, 'Var') and $parameters->sigil eq '@' or Main::isa($parameters, 'Decl') and $parameters->var->sigil eq '@'
532 0 0 138 Main::isa($parameters, 'Var') and $parameters->sigil eq '%' or Main::isa($parameters, 'Decl') and $parameters->var->sigil eq '%'