PurePerl/Config.pm

filter: Statementstmt 89.4% 17 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 87.5% 21 / 24 CC 1 SCAR 1.8
CC
1
Cov
89%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« PurePerl/DirectoryEntry.pm ↑ Summary PurePerl/Protocol/SSH.pm »
1 package Git::PurePerl::Config;
2 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use MooseX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 extends 'Config::GitLike';
8  
9 4 has '+confname' => ( default => "gitconfig" );
10 4 has 'git' => ( is => 'ro', isa => 'Git::PurePerl', required => 1, weak_ref => 1 );
11  
12 override dir_file => sub {
13 0 ▶ my $self = shift;
Subroutine __ANON__: not called CC=1 SCAR=6.9
14 0 return $self->git->gitdir->file("config");
15 4 };
16  
17 4 1;
« PurePerl/DirectoryEntry.pm ↑ Summary PurePerl/Protocol/SSH.pm »