Articulate/Sortation/Numeric.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 77.7% 14 / 18 CC 1 SCAR 2.2
CC
1
Cov
85%
cmp
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Articulate/Augmentation.pm ↑ Summary Articulate/Serialisation/TemplateToolkit.pm »
1 package Articulate::Sortation::Numeric;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 with 'Articulate::Role::Sortation::AllYouNeedIsCmp';
7  
8 sub cmp {
9 0 ▶ my $self = shift;
Subroutine cmp: not called CC=1 SCAR=6.9
Pod undocumented
10 0 return ( $_[0] <=> $_[1] );
11 }
12  
13 1 1;
« Articulate/Augmentation.pm ↑ Summary Articulate/Serialisation/TemplateToolkit.pm »