Helper/ResultSet/Me.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond 100% 2 / 2 MC/DCmcdc 100% 1 / 1 Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 20 / 20 CC 2 SCAR 3.4
CC
2
Cov
100%
me
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Helper/ResultSet/Shortcut/Distinct.pm ↑ Summary Helper/ResultSet/Shortcut/Prefetch.pm »
1 package DBIx::Class::Helper::ResultSet::Me;
2 56 $DBIx::Class::Helper::ResultSet::Me::VERSION = '2.037000';
3 # ABSTRACT: Define predefined searches more nicely
4  
5 56 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 56 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 56 ▶use parent 'DBIx::Class::ResultSet';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 7 ▶sub me { join('.', shift->current_source_alias, shift || q{}) }
Subroutine me: called CC=2 SCAR=6.9
Pod documented
Condition100%2/2
shift() || ''
l!l
16
MC/DC100%1/1
shift() || ''
shift()
Truth table100%2/2
A
A= shift()
Aresult
11
00
11  
12 56 1;
13  
14 __END__
« Helper/ResultSet/Shortcut/Distinct.pm ↑ Summary Helper/ResultSet/Shortcut/Prefetch.pm »