blib/lib/Net/MQTT/TopicStore.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
18 | 10 | 0 | unless (exists $self->{'topics'}{$topic_pattern}) |
36 | 19 | 1 | defined $re ? : |
7 | 13 | unless defined $re ? $topic =~ /$re/ : $topic eq $t | |
51 | 10 | 0 | unless $topic =~ /\$$/ |
52 | 1 | 9 | unless ($c) |