blib/lib/Nagios/Plugin/WWW/Mechanize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
73 | 4 | 8 | if ($_ = delete $opts{'mech'}) |
74 | 1 | 3 | if (ref $_ eq 'HASH') { } |
1 | 1 | elsif ($_->isa('WWW::Mechanize')) { } | |
82 | 8 | 2 | unless ($mech) |
85 | 2 | 8 | if (exists $opts{'include_time'}) |
97 | 12 | 9 | if (@_) { } |
101 | 15 | 21 | if (@_) { } |
128 | 10 | 30 | if (@_) { } |
150 | 2 | 2 | unless ($self->mech->success) |
178 | 1 | 5 | if ($self->include_time and $self->mech->success) |