Clio/Role/UUIDMaker.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 90.0% 18 / 20 CC 1 SCAR 1.8
CC
1
Cov
93%
create_uuid
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Clio/Role/HasManager.pm ↑ Summary Clio/Role/HasContext.pm »
1  
2 package Clio::Role::UUIDMaker;
3 5 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 $Clio::Role::UUIDMaker::AUTHORITY = 'cpan:AJGB';
5 }
6 {
7 5 $Clio::Role::UUIDMaker::VERSION = '0.02';
8 }
9 # ABSTRACT: Role for creating UUID
10  
11 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 5 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 5 ▶use Data::UUID;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15  
16 0 ▶sub create_uuid {
Subroutine create_uuid: not called CC=1 SCAR=6.9
Pod documented
17 0 return Data::UUID->new->create_str;
18 }
19  
20 5 1;
21  
22  
23 __END__
« Clio/Role/HasManager.pm ↑ Summary Clio/Role/HasContext.pm »