STS.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 34 CC 2 SCAR 11.0
CC
2
Cov
0%
get_caller_identity
6.0
BEGIN
2.0
BEGIN
2.0
CRAP 3.0
1 package App::STS;
2  
3 use strict;
4 use warnings;
5  
6 use Data::Dumper;
7 use English qw(no_match_vars);
8  
9 use Role::Tiny::With;
10 with 'App::AWS';
11  
12 use parent qw(App::Command);
13  
14 __PACKAGE__->follow_best_practice;
15 __PACKAGE__->mk_accessors(qw(profile region));
16  
17 ########################################################################
18 sub get_caller_identity {
19 ########################################################################
20 my ( $self, $query ) = @_;
21  
22 return $self->command( 'get-caller-identity', [ $query ? ( '--query' => $query ) : () ] );
23 }
24  
25 1;