blib/lib/IRC/Toolkit/Masks.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 18 | 83.3 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 3 | unless length $mask and defined $nuh |
31 | 0 | 7 | unless defined $orig |
39 | 4 | 3 | if (index($orig, '!') == -1 and index($orig, '@') > -1) { } |
48 | 6 | 1 | if (defined $piece) |
52 | 5 | 2 | if defined $mask[2] |
54 | 4 | 3 | defined $mask[1] && length $mask[1] ? : |
3 | 4 | defined $mask[2] && length $mask[2] ? : | |
63 | 0 | 2 | unless defined $full |
68 | 1 | 1 | wantarray ? : |