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 3 ▶use 5.20.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package DBIx::Class::Smooth::ResultSet;
6  
7 # ABSTRACT: Short intro
8 3 our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY
9 3 our $VERSION = '0.0104';
10  
11 3 ▶use parent 'DBIx::Class::Candy::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 sub base {
14 0 ▶ (my $base = caller(2)) =~ s{^(.*?)::Schema::ResultSet::.*}{$1};
Subroutine base: not called CC=2 SCAR=17.9
Pod undocumented
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 3 1;
23  
24 __END__
25  
26 =pod
27  
28 =encoding UTF-8
29  
30 =head1 NAME
31  
32 DBIx::Class::Smooth::ResultSet - Short intro
33  
34 =head1 VERSION
35  
36 Version 0.0104, released 2020-08-30.
37  
38 =head1 SOURCE
39  
40 L<https://github.com/Csson/p5-DBIx-Class-Smooth>
41  
42 =head1 HOMEPAGE
43  
44 L<https://metacpan.org/release/DBIx-Class-Smooth>
45  
46 =head1 AUTHOR
47  
48 Erik Carlsson <info@code301.com>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is copyright (c) 2018 by Erik Carlsson.
53  
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56  
57 =cut
« Smooth/Helper/ResultSet/Shortcut/Join.pm ↑ Summary Smooth/Lookup/DateTime/datepart.pm »