Asana/Role/CanUpdate.pm

filter: Statementstmt 80.0% 8 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 71.4% 10 / 14 CC 1 SCAR 2.9
CC
1
Cov
80%
update
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Asana/Role/CanReload.pm ↑ Summary Asana/Error.pm »
1 package WWW::Asana::Role::CanUpdate;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $WWW::Asana::Role::CanUpdate::AUTHORITY = 'cpan:GETTY';
4 }
5 {
6 1 $WWW::Asana::Role::CanUpdate::VERSION = '0.003';
7 }
8 # ABSTRACT: Role for Asana classes which can be updated
9  
10 1 ▶use MooX::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 requires qw(
13 update_args
14 );
15  
16 0 ▶sub update {
Subroutine update: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $self = shift;
18 0 $self->do($self->update_args(@_));
19 }
20  
21 1 1;
22 __END__
« Asana/Role/CanReload.pm ↑ Summary Asana/Error.pm »