lib/CodeGen/Protection/Role.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 28 | 39.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
73 | 0 | 4 | 0 | not $self->has_existing_code and $protected_code =~ /$regex/ |
127 | 1 | 13 | 1 | not $self->overwrite and $digest_start ne $self->_get_checksum($+{'body'}) |
249 | 0 | 0 | 42 | defined $version and $version =~ /$version_re/ |
line | l | !l | condition |
---|---|---|---|
134 | 14 | 0 | $+{'before'} // '' |
135 | 14 | 0 | $+{'after'} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
108 | 0 | 17 | 0 | $text //= $self->existing_code |
141 | 0 | 6 | 0 | $text //= $self->protected_code |
182 | 44 | 0 | 0 | ref $self || $self |
207 | 21 | 0 | 0 | ref $self || $self |
252 | 0 | 0 | 0 | ref $self || $self |