File Coverage

blib/lib/App/PAIA/Command/login.pm
Criterion Covered Total %
statement 11 12 91.6
branch n/a
condition n/a
subroutine 4 5 80.0
pod 1 1 100.0
total 16 18 88.8


line stmt bran cond sub pod time code
1             package App::PAIA::Command::login;
2 4     4   1568 use strict;
  4         6  
  4         93  
3 4     4   24 use v5.10;
  4         8  
  4         98  
4 4     4   11 use parent 'App::PAIA::Command';
  4         4  
  4         13  
5              
6             sub description {
7 0     0 1 0 "requests or renews an access_token from a PAIA auth server."
8             }
9              
10             sub _execute {
11 3     3   6 my ($self, $opt, $args) = @_;
12              
13 3         20 $self->login( $self->explicit_option('scope') );
14             }
15              
16             1;
17             __END__