VCI/VCS/Hg.pm

filter: Statementstmt 83.3% 15 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod n/a totaltotal 78.2% 18 / 23 CC 1 SCAR 2.0
CC
1
Cov
83%
_build_x_ua
2.0
__ANON__
1.1
BEGIN
1.0
CRAP 1.2
« VCI/VCS/Cvs/Diff.pm ↑ Summary VCI/Abstract/Diff/File.pm »
1 package VCI::VCS::Hg;
2 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 our $VERSION = '0.7.1';
4  
5 1 ▶use LWP::UserAgent;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use VCI::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 extends 'VCI';
10  
11  
12 1 has 'x_ua' => (is => 'ro', isa => 'LWP::UserAgent', lazy_build => 1);
13 0 ▶has 'x_timeout' => (is => 'ro', isa => 'Int', default => sub { 60 });
Subroutine __ANON__: not called CC=1 SCAR=1.2
14  
15 0 ▶sub _build_x_ua {
Subroutine _build_x_ua: not called CC=1 SCAR=6.9
16 0 my $self = shift;
17 0 return LWP::UserAgent->new(
18 agent => __PACKAGE__ . " $VERSION",
19 protocols_allowed => [ 'http', 'https'],
20 timeout => $self->x_timeout);
21 }
22  
23 1 __PACKAGE__->meta->make_immutable;
24  
25 1 1;
26  
27 __END__
« VCI/VCS/Cvs/Diff.pm ↑ Summary VCI/Abstract/Diff/File.pm »