| blib/lib/Serengeti/NotificationCenter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 6 | 19 | 31.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 36 | 2 | 0 | 0 | $for and not ref $for eq 'CODE' || ref $for eq '' |
| 56 | 2 | 0 | 0 | $for and $for ne $notification |
| 57 | 2 | 0 | 0 | $from and $from != refaddr $sender |
| 58 | 2 | 0 | 0 | $target and $target != refaddr $observer |
| line | l | !l | condition |
|---|---|---|---|
| 14 | 1 | 0 | shift() || 'Serengeti::NotificationCenter' |
| 40 | 0 | 2 | refaddr($args{'sender'}) || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 36 | 0 | 0 | 0 | ref $for eq 'CODE' || ref $for eq '' |