| lib/Rex/Commands/Pkg.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 0 | 29 | 0.0 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 88 | 0 | 0 | 0 | exists $option{'package'} and ref $option{'package'} eq "ARRAY" | 
| 134 | 0 | 0 | 0 | exists $option{'on_change'} and ref $option{'on_change'} eq "CODE" | 
| 0 | 0 | 0 | exists $option{'on_change'} and ref $option{'on_change'} eq "CODE" and scalar @modifications > 0 | |
| 387 | 0 | 0 | 0 | $old_md5 and $new_md5 | 
| 0 | 0 | 0 | $old_md5 and $new_md5 and $old_md5 eq $new_md5 | |
| 612 | 0 | 0 | 0 | exists $option{'on_change'} and ref $option{'on_change'} eq "CODE" | 
| line | l | !l | condition | 
|---|---|---|---|
| 98 | 0 | 0 | $option{'ensure'} ||= "present" | 
| 312 | 0 | 0 | $option->{'on_change'} || sub { } | 
| 388 | 0 | 0 | $old_md5 ||= "" | 
| 389 | 0 | 0 | $new_md5 ||= "" | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 771 | 0 | 0 | 0 | $action eq "remove" or $action eq "delete" |