Smooth/ResultSet.pm

filter: Statementstmt 77.7% 14 / 18 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 57.1% 4 / 7 Podpod 0.0% 0 / 3 totaltotal 58.0% 18 / 31 CC 2 SCAR 9.2
CC
2
Cov
70%
base
6.0
perl_version
2.0
experimental
2.0
CRAP 2.5
« Smooth/Helper/ResultSet/Shortcut/Join.pm ↑ Summary Smooth/Lookup/DateTime/datepart.pm »
1 2 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package DBIx::Class::Smooth::ResultSet;
6  
7 # ABSTRACT: Short intro
8 2 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 2 our $VERSION = '0.0108';
10  
11 2 ▶use parent 'DBIx::Class::Candy::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub base {
Subroutine base: not called CC=2 SCAR=17.9
Pod undocumented
14 0 (my $base = caller(2)) =~ s{^(.*?)::Schema::ResultSet::.*}{$1};
15  
16 0 ▶ return $_[1] || "${base}::Schema::ResultSet";
Condition0%0/2
$_[1] || "${base}::Schema::ResultSet"
l!l
00
MC/DC0%0/1
$_[1] || "${base}::Schema::ResultSet"
$_[1]
Truth table0%0/2
A
A= $_[1]
Aresult
11
00
17 }
18 0 ▶sub perl_version { 20 }
Subroutine perl_version: not called CC=1 SCAR=6.9
Pod undocumented
19  
20 0 ▶sub experimental { [] }
Subroutine experimental: not called CC=1 SCAR=6.9
Pod undocumented
21  
22 2 1;
23  
24 __END__
« Smooth/Helper/ResultSet/Shortcut/Join.pm ↑ Summary Smooth/Lookup/DateTime/datepart.pm »