blib/lib/Tangerine.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 43 | 37.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
62 | 0 | 0 | 0 | $_->type eq 'package' and $self->mode =~ /^p/o |
0 | 0 | 0 | $_->type eq 'compile' and $self->mode =~ /^[cdu]/o | |
0 | 0 | 0 | $_->type eq 'runtime' and $self->mode =~ /^[dr]/o | |
73 | 2 | 145 | 0 | $children->[1] and $children->[1] eq ',' || $children->[1] eq '=>' |
105 | 14 | 0 | 0 | $newhook->type eq 'package' and $self->mode =~ /^[dcru]/o |
106 | 0 | 14 | 0 | $newhook->type eq 'runtime' and $self->mode =~ /^[pcu]/o |
107 | 14 | 0 | 0 | $newhook->type eq 'compile' and $self->mode =~ /^[pr]/o |
line | l | !l | condition |
---|---|---|---|
20 | 0 | 14 | $args{'mode'} // 'all' |
72 | 22 | 125 | $children //= [$statement->schildren] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 182 | 0 | 0 | $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o |
0 | 0 | 0 | $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o or $_->type eq 'compile' and $self->mode =~ /^[cdu]/o | |
0 | 0 | 0 | $self->mode =~ /^a/o or $_->type eq 'package' and $self->mode =~ /^p/o or $_->type eq 'compile' and $self->mode =~ /^[cdu]/o or $_->type eq 'runtime' and $self->mode =~ /^[dr]/o | |
73 | 8 | 7 | 130 | $children->[1] eq ',' || $children->[1] eq '=>' |
82 | 8 | 0 | 152 | not $k =~ /^[a-z_][a-z0-9_]*(::[a-z0-9_]+)*(::)?$/io or $k =~ /^__[A-Z]+__$/o |
95 | 6 | 168 | 0 | $forcetype // $hook->type |