lib/Rex/Resource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 4 | 0 | 0 | exists $params{'on_change'} and $self->was_updated |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
21 | 0 | 36 | 0 | ref $that || $that |
53 | 0 | 4 | 0 | $params{'ensure'} ||= present() |
96 | 1 | 0 | 3 | $self->changed or $self->created |
1 | 0 | 3 | $self->changed or $self->created or $self->removed | |
143 | 0 | 1 | 0 | $self->{'message'} || $self->display_name . ' changed.' |