blib/lib/IRC/Indexer/Trawl/Bot.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 51 | 23.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 1 | 0 | 1 | $args{'postback'} and ref $args{'postback'} |
145 | 0 | 0 | 1 | defined $self->report->status and $self->report->status eq 'FAIL' |
171 | 0 | 0 | 0 | defined $self->report->status and $self->report->status eq 'DONE' |
286 | 0 | 0 | 0 | $cmd eq 'lusers' and $$self{'State'}{'Lusers'} |
line | l | !l | condition |
---|---|---|---|
31 | 0 | 2 | $args{'verbose'} || 0 |
33 | 1 | 1 | $args{'timeout'} || 90 |
34 | 0 | 2 | $args{'interval'} || 5 |
39 | 0 | 2 | $args{'port'} || 6667 |
43 | 0 | 2 | $args{'ipv6'} || 0 |
266 | 0 | 0 | $irc->server_version // 'Not Available' |
309 | 0 | 0 | $report->startedat || 0 |
424 | 0 | 0 | $users || 0 |
433 | 0 | 0 | $count || 0 |
440 | 0 | 0 | $_[12] // (return) |
446 | 0 | 0 | $users //= 0 |
447 | 0 | 0 | $topic //= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 2 | 0 | 0 | $args{'server'} || croak('No Server specified in new') |
40 | 0 | 2 | 0 | $args{'nickname'} || 'iindx' . int(rand 666) |
162 | 0 | 3 | 0 | $self->report->status eq 'DONE' or $self->report->status eq 'FAIL' |
171 | 0 | 0 | 0 | defined $self->report->status and $self->report->status eq 'DONE' or $self->report->status eq 'FAIL' |
263 | 0 | 0 | 0 | $irc->isupport('NETWORK') || $irc->server_name |