Role/Versioning/Scheme.pm

filter: Statementstmt 63.6% 7 / 11 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 56.2% 9 / 16 CC 2 SCAR 14.7
CC
2
Cov
54%
versioning_scheme
6.0
BEGIN
1.0
CRAP 4.3
« Versioning/Scheme/Monotonic.pm ↑ Summary Versioning/Scheme.pm »
1 package Role::Versioning::Scheme;
2  
3 9 our $DATE = '2020-10-01'; # DATE
4 9 our $VERSION = '0.011'; # VERSION
5  
6 9 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 9 requires qw(
9 is_valid_version
10 normalize_version
11 cmp_version
12 bump_version
13 parse_version
14 );
15  
16 0 ▶sub versioning_scheme {
Subroutine versioning_scheme: not called CC=2 SCAR=17.9
Pod documented
17 0 my $class = shift;
18 0 ▶ $class = ref $class if ref $class;
Branch: 1 branch
BranchTrueFalseTotal
if ref $class 0 0 0
19 0 $class =~ s/\AVersioning::Scheme:://;
20 0 $class;
21 }
22  
23 9 1;
24 # ABSTRACT: Role for Versioning::Scheme::* modules
25  
26 __END__
« Versioning/Scheme/Monotonic.pm ↑ Summary Versioning/Scheme.pm »