blib/lib/IO/All/HTTP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 17 | 88.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 6 | 83.3 |
pod | 1 | 1 | 100.0 |
total | 21 | 24 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package IO::All::HTTP; | ||||||
2 | 2 | 2 | 720 | use strict; | |||
2 | 3 | ||||||
2 | 87 | ||||||
3 | 2 | 2 | 26 | use warnings; | |||
2 | 3 | ||||||
2 | 105 | ||||||
4 | our $VERSION = '0.14'; | ||||||
5 | 2 | 2 | 1187 | use IO::All::LWP '-base'; | |||
2 | 8 | ||||||
2 | 32 | ||||||
6 | 2 | 2 | 2380 | use URI::http; | |||
2 | 25227 | ||||||
2 | 76 | ||||||
7 | 2 | 2 | 1925 | use URI::_userpass; | |||
2 | 1161 | ||||||
2 | 174 | ||||||
8 | push @URI::http::ISA, 'URI::_userpass'; | ||||||
9 | |||||||
10 | const type => 'http'; | ||||||
11 | |||||||
12 | 0 | 0 | 1 | sub http { my $self=shift; $self->lwp_init(__PACKAGE__, @_) } | |||
0 | |||||||
13 | |||||||
14 | 1; | ||||||
15 | |||||||
16 | __END__ |