GitGot/Command/this.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 79.1% 19 / 24 CC 2 SCAR 9.8
CC
2
Cov
79%
_execute
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« GitGot/Command/add.pm ↑ Summary GitGot/Command/move.pm »
1 package App::GitGot::Command::this;
2 16 our $AUTHORITY = 'cpan:GENEHACK';
3 16 $App::GitGot::Command::this::VERSION = '1.339';
4 # ABSTRACT: check if the current repository is managed
5 16 ▶use 5.014;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 16 ▶use Cwd;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 16 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 16 extends 'App::GitGot::Command';
11 16 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub _execute {
Subroutine _execute: not called CC=2 SCAR=17.9
14 0 my( $self, $opt, $args ) = @_;
15  
16 0 ▶ $self->_path_is_managed( getcwd() ) or exit 1;
Branch: 1 branch
BranchTrueFalseTotal
$self->_path_is_managed(getcwd()) or exit 1 0 0 0
17 }
18  
19 16 1;
20  
21 ## FIXME docs
22  
23 __END__
« GitGot/Command/add.pm ↑ Summary GitGot/Command/move.pm »